|
|||||||||||
| 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.WidthDepthProcessor
A Width-Depth processor.
It is a mix bettween a Width processor (@see WidthProcessor) and a Depth processor
(@see DepthProcessor).
The iconification of the formula operates in 2 phases :
| Field Summary |
| Fields inherited from class fr.ove.openmath.jome.model.processor.ProcessorImpl |
COMPUTE, COMPUTE_AND_ICONIFY, RECURSIVE_ICONIFICATION, SIMPLE_ICONIFICATION |
| Constructor Summary | |
WidthDepthProcessor(Formula formula)
The constructor. |
|
| Method Summary | |
void |
doProcess()
Does processing. |
int |
getBiggestWidth()
Returns the biggest width calculated. |
int |
getDepthLevel()
Returns the depth level form which the processing will be considering. |
int |
getMaxDepthValue()
Returns the max depth value calculated. |
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 calculated. |
void |
setDepthLevel(int depthLevel)
Sets the depth level form which the processing will be considering. |
void |
setLevel(int level)
Sets the level from which the processing starts. |
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, 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, setProcessingId, setUpdateDisplay |
| Constructor Detail |
public WidthDepthProcessor(Formula formula)
formula - the formula to process.| Method Detail |
public void doProcess()
doProcess in interface ProcessordoProcess in class ProcessorImplpublic void setLevel(int level)
setLevel in interface ProcessorsetLevel in class ProcessorImpllevel - the level.public void setDepthLevel(int depthLevel)
setDepthLevel in interface DepthProcessorInterfacedepthLevel - the depth level.of the @see Processor interface.public int getDepthLevel()
getDepthLevel in interface DepthProcessorInterfaceof the @see Processor interface.public int getMaxDepthValue()
getMaxDepthValue in interface DepthProcessorInterfacepublic 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 WidthProcessorInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||