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.


Variable Index

 o subscript
 o superscript

Constructor Index

 o NoadHList()

Method Index

 o addNoad(Noad)
Add a noad to this horizontal list.
 o addSubscript(Noad)
Add subscript to this noad.
 o addSuperscript(Noad)
Add superscript to this noad.
 o Display(Graphics, int, int, FontList, int)
 o finishScripts()
Stop accumulating scripts, package them as a vertical list and add the vertical list to the horizontal list being accumulate.
 o SizeNoad(Graphics)

Variables

 o subscript
 protected NoadHList subscript
 o superscript
 protected NoadHList superscript

Constructors

 o NoadHList
 public NoadHList()

Methods

 o 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
 o SizeNoad
 public void SizeNoad(Graphics g)
Overrides:
SizeNoad in class Noad
 o 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
 o 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
 o finishScripts
 public void finishScripts()
Stop accumulating scripts, package them as a vertical list and add the vertical list to the horizontal list being accumulate.

 o 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