|
|||||||||||
| 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.ctrlview.events.ControlEvent
The event to send to all objects that implements the interface ControlListener and which want to execute the control actions.
| Field Summary | |
static int |
ADD
Add the element which produces the event. |
static int |
GIVE_MAPLE
|
static int |
GIVE_OPENMATH
Ask the OpenMath object of the formula. |
static int |
ICONIFY
Iconify the element which produces the event. |
static int |
REMOVE
Remove the element which produces the event. |
static int |
SUBSTITUTE
Substitue the selection by a friendly name. |
static int |
UNICONIFY
Uniconify the element which produces the event. |
static int |
UNICONIFY_ALL
Recursive iconification |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ControlEvent(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 ICONIFY
public static final int UNICONIFY
public static final int UNICONIFY_ALL
public static final int SUBSTITUTE
public static final int GIVE_OPENMATH
public static final int GIVE_MAPLE
| Constructor Detail |
public ControlEvent(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 | ||||||||||