|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
fr.ove.openmath.jome.model.events.ModelEvent
The event to send to all objects that implements the interface ModelListener and which want to be alerted of changes of the model they are listening to.
| Field Summary | |
static int |
ADD
Add the element which produces the event. |
static int |
CLEAR
|
static int |
CREATE
Create the display for the instance which produces the event. |
static int |
HERE_IS_MAPLE
|
static int |
HERE_IS_OPENMATH
Give the OpenMath object of the formula. |
static int |
MOVE
Remove the element which produces the event. |
static int |
REBUILD
Rebuild the element which produces the event. |
static int |
REMOVE
Remove the element which produces the event. |
static int |
UPDATE
Update the element which produces the event. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ModelEvent(java.lang.Object src)
The constructor. |
|
| Method Summary | |
int |
getAction()
Returns the action associated with the event. |
java.lang.Object |
getArgument()
Returns the argument of the action. |
void |
setAction(int action,
java.lang.Object argument)
Sets the action and its argument, if necessary, to execute to the event. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ADD
public static final int REMOVE
public static final int MOVE
public static final int CREATE
public static final int CLEAR
public static final int UPDATE
public static final int REBUILD
public static final int HERE_IS_OPENMATH
public static final int HERE_IS_MAPLE
| Constructor Detail |
public ModelEvent(java.lang.Object src)
src - the object which produces this event.| Method Detail |
public void setAction(int action,
java.lang.Object argument)
action - the action to execute.argument - the action argument. If the action don't need
an argument, it must be sets to null.public int getAction()
public java.lang.Object getArgument()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||