|
|||||||||||
| 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.Slot
This class represents the kind of child K-ary will have.
| Constructor Summary | |
Slot()
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 |
getNextSlot()
|
java.lang.String |
getValue()
Returns the value. |
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 icon (node) in the formula tree structure. |
boolean |
isOperator()
To check is the instance is an operator. |
void |
setNextSlot(FormulaTreeStructure nextSlot)
|
void |
setValue(java.lang.String value)
Sets the value. |
| 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 Slot()
| Method Detail |
public FormulaTreeStructure getNextSlot()
public void setNextSlot(FormulaTreeStructure nextSlot)
public FormulaTreeStructure goTo(int priority)
FormulaTreeStructure
goTo in class FormulaTreeStructurepriority - the specified priority.
public FormulaTreeStructure insert(FormulaTreeStructure current)
insert in class FormulaTreeStructurecurrent - the position in the formula tree where the operator is to be insert.
public java.lang.String createLinear(java.lang.String linear)
createLinear in class FormulaTreeStructurepublic java.lang.String evaluate()
evaluate in class FormulaTreeStructurepublic boolean isOperator()
isOperator in class FormulaTreeStructuretrue if it is an operator. false otherwise.public java.lang.String getIconName()
getIconName in interface IconifiablegetIconName in class FormulaTreeStructurepublic void setValue(java.lang.String value)
setValue in interface ModifiablesetValue in class FormulaTreeStructurepublic java.lang.String getValue()
getValue in interface ModifiablegetValue in class FormulaTreeStructure
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||