All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mathbus.draw.TextBox

java.lang.Object
   |
   +----mathbus.Node
           |
           +----mathbus.draw.Noad
                   |
                   +----mathbus.draw.TextBox

public class TextBox
extends Noad
Holds a string of text in a specific face. The structure of the subterms is 0 => alignment/level 1 => UseVF // FontDescriptor in future 2 => string to be displayed


Constructor Index

 o TextBox()
 o TextBox(String, int)
 o TextBox(String, int, int)

Method Index

 o Display(Graphics, int, int, FontList, int)
 o DisplayString()
 o getFontDesc()
 o setDisplayString(String)
 o setFontDesc(int)
 o SizeNoad(Graphics)

Constructors

 o TextBox
 public TextBox()
 o TextBox
 protected TextBox(String in,
                   int lev)
 o TextBox
 protected TextBox(String in,
                   int lev,
                   int UseVF)

Methods

 o getFontDesc
 protected int getFontDesc()
 o setFontDesc
 protected void setFontDesc(int val)
 o DisplayString
 protected Node DisplayString()
 o setDisplayString
 protected void setDisplayString(String val)
 o SizeNoad
 public void SizeNoad(Graphics g)
Overrides:
SizeNoad in class Noad
 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