fr.ove.openmath.jome.ctrl.amto
Class Plus

java.lang.Object
  extended byfr.ove.openmath.jome.ctrl.amto.AbstractMathTreeObject
      extended byfr.ove.openmath.jome.ctrl.amto.MapsToNAry
          extended byfr.ove.openmath.jome.ctrl.amto.Plus
All Implemented Interfaces:
Parametrable, java.io.Serializable

public class Plus
extends MapsToNAry

The abstract math tree object of the arithmetic addition.

Version:
1.0 17/11/1999
Author:
© 1999 DIRAT Laurent
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.ove.openmath.jome.ctrl.amto.AbstractMathTreeObject
identifier, param, token
 
Constructor Summary
Plus()
          The constructor.
 
Method Summary
 void flush()
          "Flushes" the object as a sequence of events for the building of the model
protected  void flushChild(AbstractMathTreeObject child, int index)
          "Flushes" the specified child.
 
Methods inherited from class fr.ove.openmath.jome.ctrl.amto.AbstractMathTreeObject
add, fireLinearParserEvent, getChild, getChildren, getEventSource, getFather, getNbChildren, getParameter, remove, remove, removeAll, setEventSource, setFather, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plus

public Plus()
The constructor.

Method Detail

flush

public void flush()
"Flushes" the object as a sequence of events for the building of the model

Overrides:
flush in class MapsToNAry

flushChild

protected void flushChild(AbstractMathTreeObject child,
                          int index)
"Flushes" the specified child.
According to their father, some children need to be between parenthesis to respect correctness of the expression. So, when needed, the specified child is "flushed" as if it was between parenthesis.

Overrides:
flushChild in class AbstractMathTreeObject
Parameters:
child - the child to "flush"
index - the child index in the list of children of the instance.


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.