multivalent.node
Class FixedIHBox
public
class
FixedIHBox
extends FixedI
Fixed-format INode that adjusts to changes in size of children by moving them horizontally.
Version: $Revision: 1.2 $ $Date: 2002/01/27 03:01:20 $
Method Summary |
boolean | breakAfter() |
boolean | breakBefore() |
boolean | eventNode(AWTEvent e, Point rel)
Can "hit" in between nodes to pick up prevailing spans (cur node set to first node following, with offset -1).
|
boolean | formatNode(int width, int height, Context cx)
Adjust for changes in height and width of children.
|
boolean | formatNodeOLD(int width, int height, Context cx) Assumes left-to-right on same baseline. |
void | paintNode(Rectangle docclip, Context cx) Fill in interword-space, in particular for backgrounds for highlights and underlines for hyperlinks. |
public FixedIHBox(String name, Map<String,Object> attr,
INode parent)
public boolean breakAfter()
public boolean breakBefore()
public boolean eventNode(AWTEvent e, Point rel)
Can "hit" in between nodes to pick up prevailing spans (cur node set to first node following, with offset -1).
Taken from IParaBox. Maybe put in INode, as "interword".
public boolean formatNode(int width, int height,
Context cx)
Adjust for changes in height and width of children.
X Precondition: ibbox is minimum container of children ibboxes.
public boolean formatNodeOLD(int width, int height,
Context cx)
Assumes left-to-right on same baseline.
public void paintNode(Rectangle docclip,
Context cx)
Fill in interword-space, in particular for backgrounds for highlights and underlines for hyperlinks.