net.sf.vex.layout
Class InlineBox.Pair

java.lang.Object
  |
  +--net.sf.vex.layout.InlineBox.Pair
Enclosing class:
InlineBox

public static class InlineBox.Pair
extends java.lang.Object

Represents a pair of inline boxes as returned by the split method.


Constructor Summary
InlineBox.Pair(InlineBox left, InlineBox right)
          Class constructor.
 
Method Summary
 InlineBox getLeft()
          Returns the box to the left of the split.
 InlineBox getRight()
          Returns the box to the right of the split.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineBox.Pair

public InlineBox.Pair(InlineBox left,
                      InlineBox right)
Class constructor.

Parameters:
left - box to the left of the split
right - box to the right of the split
Method Detail

getLeft

public InlineBox getLeft()
Returns the box to the left of the split.


getRight

public InlineBox getRight()
Returns the box to the right of the split.