|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.openmath.jome.model.Node
fr.ove.openmath.jome.model.FormulaTreeStructure
fr.ove.openmath.jome.model.Operator
fr.ove.openmath.jome.model.UnaryOperator
fr.ove.openmath.jome.model.Bracket
The operator bracket.
| Constructor Summary | |
Bracket()
The Constructor. |
|
| Method Summary | |
java.lang.String |
createLinear(java.lang.String linear)
The Creation of the corresponding linear expression of the formula. |
java.lang.String |
evaluate()
Evaluates the instance. |
java.lang.String |
getIconName()
Returns the name of the icon associated to the instance. |
FormulaTreeStructure |
goTo(int priority)
Returns the father of the node which, from the current instance, have the specified priority. |
FormulaTreeStructure |
insert(FormulaTreeStructure current)
Inserts the operator instance in the formula tree, from the current insertion position. |
boolean |
isVisible()
Returns true if the brackets have to be displayed.
|
void |
setIsVisible(boolean isVisible)
Sets if the brackets have to be displayed or not. |
| Methods inherited from class fr.ove.openmath.jome.model.Operator |
getTheOperator, getValue, isOperator, setTheOperator, setValue |
| Methods inherited from class fr.ove.openmath.jome.model.Node |
addChild, addChild, clone, computeDepth, computeNbStrahler, duplicate, getChild, getChildren, getDepth, getFather, getNbChildren, getNbStrahler, getRank, hasChild, moveChildren, removeAll, removeChild, removeChild, setFather, setNbStrahler |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Bracket()
| Method Detail |
public FormulaTreeStructure goTo(int priority)
goTo in class FormulaTreeStructurepriority - the specified priority.
public FormulaTreeStructure insert(FormulaTreeStructure current)
insert in class UnaryOperatorpublic java.lang.String createLinear(java.lang.String linear)
createLinear in class UnaryOperatorpublic java.lang.String evaluate()
evaluate in class UnaryOperatorpublic boolean isVisible()
true if the brackets have to be displayed.
false otherwise.
isVisible in interface MaskableisVisible in class FormulaTreeStructurepublic void setIsVisible(boolean isVisible)
isVisible - true if we want it. false otherwise.public java.lang.String getIconName()
getIconName in interface IconifiablegetIconName in class FormulaTreeStructure
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||