All Packages Class Hierarchy This Package Previous Next Index
Class mathbus.draw.NoadHList
java.lang.Object
|
+----mathbus.Node
|
+----mathbus.draw.Noad
|
+----mathbus.draw.NoadList
|
+----mathbus.draw.NoadHList
- public class NoadHList
- extends NoadList
Holds a horizontal list of boxes. Also includes data structures
for accumulating subscripts and superscripts.
-
subscript
-
-
superscript
-
-
NoadHList()
-
-
addNoad(Noad)
- Add a noad to this horizontal list.
-
addSubscript(Noad)
- Add subscript to this noad.
-
addSuperscript(Noad)
- Add superscript to this noad.
-
Display(Graphics, int, int, FontList, int)
-
-
finishScripts()
- Stop accumulating scripts, package them as a vertical list and
add the vertical list to the horizontal list being
accumulate.
-
SizeNoad(Graphics)
-
subscript
protected NoadHList subscript
superscript
protected NoadHList superscript
NoadHList
public NoadHList()
addNoad
public void addNoad(Noad n)
- Add a noad to this horizontal list. Increment the height, width
and depth respectively. If superscripts or subscripts are being
accumulated they will be finished before the new noad is added
to the horizontal list.
- See Also:
- finishScripts
SizeNoad
public void SizeNoad(Graphics g)
- Overrides:
- SizeNoad in class Noad
addSuperscript
public void addSuperscript(Noad n)
- Add superscript to this noad. If an additional superscript is
added it is appended to the list being accumulated. If a
subscript is added it will be positioned below the superscript.
- See Also:
- finishScripts
addSubscript
public void addSubscript(Noad n)
- Add subscript to this noad. If an additional subscript is added
it is appended to the list being accumulated. If a superscript
is added it will be positioned above the subscript.
- See Also:
- finishScripts
finishScripts
public void finishScripts()
- Stop accumulating scripts, package them as a vertical list and
add the vertical list to the horizontal list being
accumulate.
Display
protected void Display(Graphics g,
int x,
int y,
FontList DisplayFL,
int c)
- Overrides:
- Display in class Noad
All Packages Class Hierarchy This Package Previous Next Index