Logo Search packages:      
Sourcecode: wims version File versions  Download package

fr::ove::openmath::jome::model::Formula Class Reference

Inheritance diagram for fr::ove::openmath::jome::model::Formula:

fr::ove::openmath::jome::model::FormulaTreeStructure fr::ove::openmath::jome::ctrl::linear::events::LinearParserListener fr::ove::openmath::jome::model::Node fr::ove::openmath::jome::ctrlview::events::ControlListener fr::ove::openmath::jome::behaviour::Iconifiable fr::ove::utils::Comparable fr::ove::openmath::jome::behaviour::Maskable fr::ove::openmath::jome::behaviour::Modifiable

List of all members.


Detailed Description

The formula.
The root of the formula tree structure.

Author:
2000 DIRAT Laurent
Version:
2.0 28/06/99

Definition at line 49 of file Formula.java.


Public Member Functions

void addChild (Node child, int rank)
void addChild (Node child)
void addModelListener (ModelListener modelListener)
void clear ()
synchronized Object clone ()
void computeDepth ()
void computeNbStrahler ()
void consumeControlEvent (ControlEvent controlEvent)
void consumeLinearParserEvent (LinearParserEvent linearParserEvent)
String createLinear (String linear)
void doProcess ()
synchronized Object duplicate ()
String evaluate ()
FormulaTreeStructure findLocation (FormulaTreeStructure current)
void fireModelEvent (ModelEvent modelEvent)
 Formula ()
boolean getAreOperandsMovable ()
int getAsOperandPriority ()
int getAsOperatorPriority ()
Node getChild (int rank)
Vector getChildren ()
int getDepth ()
boolean getDoProcessing ()
Node getFather ()
String getIconName ()
String getLinear ()
Vector getListeners ()
int getNbChildren ()
int getNbStrahler ()
Processor getProcessor ()
int getRank ()
String getResourceIdentifier ()
String getValue ()
FormulaTreeStructure goTo (int priority)
boolean hasChild (Node node)
void iconify ()
FormulaTreeStructure insert (FormulaTreeStructure current)
boolean isEqual (Comparable toCompare)
boolean isEqual (fr.ove.utils.Comparable toCompare)
boolean isGreater (Comparable toCompare)
boolean isGreater (fr.ove.utils.Comparable toCompare)
boolean isGreaterOrEqual (Comparable toCompare)
boolean isGreaterOrEqual (fr.ove.utils.Comparable toCompare)
boolean isIcon ()
boolean isIconifiable ()
boolean isLesser (Comparable toCompare)
boolean isLesser (fr.ove.utils.Comparable toCompare)
boolean isLesserOrEqual (Comparable toCompare)
boolean isLesserOrEqual (fr.ove.utils.Comparable toCompare)
boolean isOperator ()
boolean isTemplate ()
boolean isVisible ()
void moveChildren (Vector list, int rank)
void moveOperands (Vector list, int rank)
void removeAll ()
void removeAllModelListener ()
void removeChild (Node node)
void removeChild (int rank)
void removeModelListener (ModelListener modelListener)
void setAreOperandsMovable (boolean areOperandsMovable)
void setAsOperandPriority (int asOperandPriority)
void setAsOperatorPriority (int asOperatorPriority)
void setDoProcessing (boolean doProcessing)
void setFather (Node father)
void setIconName (String iconName)
void setIsIconifiable (boolean isIconifiable)
void setIsTemplate (boolean isTemplate)
void setIsVisble (boolean isVisible)
void setNbStrahler (int nbStrahler)
void setProcessor (Processor processor)
void setResourceIdentifier (String resourceIdentifier)
void setValue (String value)
void uniconify ()
void uniconifyAll ()

Static Public Member Functions

static void main (String args[])

Public Attributes

FormulaTreeStructure current

Static Package Attributes

static FormulaResourcesManager resourcesManager = new FormulaResourcesManager("fr.ove.openmath.jome.model.resources2")

Private Attributes

boolean doProcessing = false
Stack openingStack = new Stack()
Processor processor = null

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

Generated by  Doxygen 1.6.0   Back to index