|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.openmath.jome.model.processor.ProcessorImpl
fr.ove.openmath.jome.model.processor.WidthProcessor
A processor for the width of the formula.
What is called width corresponds to the number of operand of an operator. (i.e. the number
of children of a node in the formula tree stucture.
The processor only displays a specified amount of operand of an operator whose number of operands
is greater than a specified value. The other operands are iconified.
| Field Summary |
| Fields inherited from class fr.ove.openmath.jome.model.processor.ProcessorImpl |
COMPUTE, COMPUTE_AND_ICONIFY, RECURSIVE_ICONIFICATION, SIMPLE_ICONIFICATION |
| Constructor Summary | |
WidthProcessor(Formula formula)
The constructor. |
|
| Method Summary | |
void |
doProcess()
Does processing. |
int |
getBiggestWidth()
Returns the biggest width of the formula. |
int |
getView()
Returns the number of children viewed. |
int |
getWidthLevel()
Returns the width level form which the processing will be considering. |
java.util.Vector |
getWidthList()
Returns the list of widths of the formula. |
static void |
main(java.lang.String[] args)
|
void |
setView(int view)
Sets the number of children viewed. |
void |
setWidthLevel(int widthLevel)
Sets the width level form which the processing will be considering. |
| Methods inherited from class fr.ove.openmath.jome.model.processor.ProcessorImpl |
getFormula, getLevel, getProcessingId, getUpdateDisplay, init, setFormula, setLevel, setProcessingId, setUpdateDisplay |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.ove.openmath.jome.model.processor.Processor |
getFormula, getLevel, getProcessingId, getUpdateDisplay, init, setFormula, setLevel, setProcessingId, setUpdateDisplay |
| Constructor Detail |
public WidthProcessor(Formula formula)
| Method Detail |
public void setWidthLevel(int widthLevel)
setWidthLevel in interface WidthProcessorInterfacewidthLevel - the width level.of the @see Processor interface.public int getWidthLevel()
getWidthLevel in interface WidthProcessorInterfaceof the @see Processor interface.public void setView(int view)
setView in interface WidthProcessorInterfacepublic int getView()
getView in interface WidthProcessorInterfacepublic java.util.Vector getWidthList()
getWidthList in interface WidthProcessorInterfacepublic int getBiggestWidth()
getBiggestWidth in interface WidthProcessorInterfacepublic void doProcess()
doProcess in interface ProcessordoProcess in class ProcessorImplpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||