java.lang.Object
com.hartmath.prettyprint.PrettyPrintBox
- Direct Known Subclasses:
- AbsoluteValueBox, BracesBox, BracketBox, HorizontalBox, HorizontalLineBox, SquareRootBox, SuperscriptBox, TextBox, VerticalBox
- public abstract class PrettyPrintBox
- extends java.lang.Object
Description of the Class
|
Constructor Summary |
PrettyPrintBox()
Constructor for the PrettyPrintBox object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT
public static int COUNT
- Description of the Field
DEBUG
public static final boolean DEBUG
- main pretty printer DEBUG flag
- See Also:
- Constant Field Values
FONTFAMILY
public static final java.lang.String FONTFAMILY
- See Also:
- Constant Field Values
FONTSIZE
public static final int FONTSIZE
- See Also:
- Constant Field Values
MIN_SIZE
public static final int MIN_SIZE
- See Also:
- Constant Field Values
PrettyPrintBox
public PrettyPrintBox()
- Constructor for the PrettyPrintBox object
getInsets
public java.awt.Insets getInsets()
- Gets the insets attribute of the PrettyPrintBox object
getBoxMetrics
public abstract BoxMetrics getBoxMetrics()
paint
public abstract void paint(java.awt.Graphics g,
BoxMetrics size,
int x,
int y)
- paint this box
split
public java.util.ArrayList split(int max_width)
- split a box (box.width < max_wirdth)
done
public void done(java.lang.String font,
int fontSize)