|
|||||||||
| 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

java.lang.Objectorg.hartmath.FormulaIcons
- public class FormulaIcons
- extends java.lang.Object
Description of the Class
| Nested Class Summary | |
class |
FormulaIcons.ExpressionIcon
Description of the Class |
| Field Summary | |
private com.hartmath.prettyprint.PrettyPrintBox |
box
|
private javax.swing.JEditorPane |
editorPane
|
private java.util.Vector |
icons
|
private int |
max_width
|
private javax.swing.text.Document |
outputDocument
|
private com.hartmath.prettyprint.BoxMetrics |
size
|
| Constructor Summary | |
FormulaIcons(javax.swing.JEditorPane editorPane,
com.hartmath.expression.HObject expr,
java.lang.String font,
int fontSize,
java.awt.Color color)
Constructor for the FormulaIcons object |
|
| Method Summary | |
java.util.Vector |
getVector()
Gets the vector attribute of the FormulaIcons object |
boolean |
isOverSized()
Return true if the icon's width, is greater than the editorKit's width |
void |
printOutput()
Description of the Method |
private void |
printOutput(javax.swing.Icon icon)
Description of the Method |
private void |
printOutput(java.lang.String text)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
editorPane
private javax.swing.JEditorPane editorPane
outputDocument
private javax.swing.text.Document outputDocument
box
private com.hartmath.prettyprint.PrettyPrintBox box
size
private com.hartmath.prettyprint.BoxMetrics size
icons
private java.util.Vector icons
max_width
private int max_width
| Constructor Detail |
FormulaIcons
public FormulaIcons(javax.swing.JEditorPane editorPane, com.hartmath.expression.HObject expr, java.lang.String font, int fontSize, java.awt.Color color)
- Constructor for the FormulaIcons object
| Method Detail |
getVector
public java.util.Vector getVector()
- Gets the vector attribute of the FormulaIcons object
isOverSized
public boolean isOverSized()
- Return true if the icon's width, is greater than the editorKit's width
printOutput
public void printOutput()
- Description of the Method
printOutput
private void printOutput(java.lang.String text)
- Description of the Method
printOutput
private void printOutput(javax.swing.Icon icon)
- Description of the Method
|
|||||||||
| 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