|
|||||||||
| Home >> All >> org >> [ hartmath overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hartmath
Class FormulaIcons.ExpressionIcon

java.lang.Objectorg.hartmath.FormulaIcons.ExpressionIcon
- All Implemented Interfaces:
- javax.swing.Icon
- Enclosing class:
- FormulaIcons
- public class FormulaIcons.ExpressionIcon
- extends java.lang.Object
- implements javax.swing.Icon
- extends java.lang.Object
Description of the Class
| Field Summary | |
private com.hartmath.prettyprint.PrettyPrintBox |
box
|
private java.awt.Color |
color
|
private com.hartmath.prettyprint.BoxMetrics |
size
|
| Constructor Summary | |
FormulaIcons.ExpressionIcon(com.hartmath.prettyprint.PrettyPrintBox box,
java.lang.String font,
int fontSize,
java.awt.Color color)
Constructor for the ExpressionIcon object |
|
| Method Summary | |
int |
getIconHeight()
Gets the iconHeight attribute of the HartMathPrettyPrinter object |
int |
getIconWidth()
Gets the iconWidth attribute of the HartMathPrettyPrinter object |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paint the formula in pretty printer mode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
color
private java.awt.Color color
box
private com.hartmath.prettyprint.PrettyPrintBox box
size
private com.hartmath.prettyprint.BoxMetrics size
| Constructor Detail |
FormulaIcons.ExpressionIcon
public FormulaIcons.ExpressionIcon(com.hartmath.prettyprint.PrettyPrintBox box, java.lang.String font, int fontSize, java.awt.Color color)
- Constructor for the ExpressionIcon object
| Method Detail |
getIconWidth
public int getIconWidth()
- Gets the iconWidth attribute of the HartMathPrettyPrinter object
- Specified by:
getIconWidthin interfacejavax.swing.Icon
getIconHeight
public int getIconHeight()
- Gets the iconHeight attribute of the HartMathPrettyPrinter object
- Specified by:
getIconHeightin interfacejavax.swing.Icon
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- paint the formula in pretty printer mode
- Specified by:
paintIconin interfacejavax.swing.Icon
|
|||||||||
| Home >> All >> org >> [ hartmath overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.hartmath.FormulaIcons.ExpressionIcon