Back to index

wims  3.65+svn20090927
Public Member Functions
fr.ove.openmath.jome.model.processor.WidthProcessorInterface Interface Reference

The interface to implement to be a width processor. More...

Inheritance diagram for fr.ove.openmath.jome.model.processor.WidthProcessorInterface:
Inheritance graph
[legend]
Collaboration diagram for fr.ove.openmath.jome.model.processor.WidthProcessorInterface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setWidthLevel (int widthLevel)
 Sets the width level form which the processing will be considering.
int getWidthLevel ()
 Returns the width level form which the processing will be considering.
void setView (int view)
 Sets the number of children viewed.
int getView ()
 Returns the number of children viewed.
Vector getWidthList ()
 Returns the list of widths calculated.
int getBiggestWidth ()
 Returns the biggest width calculated.
void doProcess ()
 Does processing.
void setFormula (Formula formula)
 Sets the formula to processs.
Formula getFormula ()
 Returns the formula to process.
void setUpdateDisplay (boolean updateDisplay)
 Specifies if, after processing the formula, the display has to be updated.
boolean getUpdateDisplay ()
 Checks if, after processing the formula, the display has to be updated.
void init ()
 Initialisation of the processor.
void setProcessingId (int processingId)
 Sets the processing to execute.
int getProcessingId ()
 Returns the current processing to execute.
void setLevel (int level)
 Sets the level from which the processing starts.
int getLevel ()
 Returns the level from which the processing starts.

Detailed Description

The interface to implement to be a width processor.


A width processor manages to display a certain amount of children (the view) of an element whose number of children (the width) is greater than a specified level.

Author:
2000 DIRAT Laurent
Version:
1.0 21/08/2000

Definition at line 41 of file WidthProcessorInterface.java.


Member Function Documentation

Returns the formula to process.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Returns the level from which the processing starts.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Returns the current processing to execute.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Checks if, after processing the formula, the display has to be updated.

Returns:
true if the display needs update. false otherwise.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Returns the width level form which the processing will be considering.


For convenience only, in most cases this method is equivalent to the

See also:
getLevel of the
Processor interface.

Implemented in fr.ove.openmath.jome.model.processor.WidthDepthProcessor, and fr.ove.openmath.jome.model.processor.WidthProcessor.

Initialisation of the processor.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Sets the formula to processs.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Sets the level from which the processing starts.

Parameters:
levelthe level.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl, and fr.ove.openmath.jome.model.processor.WidthDepthProcessor.

Sets the processing to execute.

Parameters:
processingIdthe processing Id.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Specifies if, after processing the formula, the display has to be updated.

Parameters:
updateDisplaytrue if the display needs update. false otherwise.

Implemented in fr.ove.openmath.jome.model.processor.ProcessorImpl.

Sets the number of children viewed.

Parameters:
thenumber of children viewed.

Implemented in fr.ove.openmath.jome.model.processor.WidthDepthProcessor, and fr.ove.openmath.jome.model.processor.WidthProcessor.

Sets the width level form which the processing will be considering.


For convenience only, in most cases this method is equivalent to the

See also:
setLevel of the
Processor interface.
Parameters:
widthLevelthe width level.

Implemented in fr.ove.openmath.jome.model.processor.WidthDepthProcessor, and fr.ove.openmath.jome.model.processor.WidthProcessor.


The documentation for this interface was generated from the following file: