fr.ove.openmath.mfd2.events
Class RequestContainingEvent
java.lang.Object
java.util.EventObject
fr.ove.openmath.mfd2.events.RequestContainingEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class RequestContainingEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
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 |
UPDATE_REQUEST
public static final int UPDATE_REQUEST
- The different actions associated with the event.
- See Also:
- Constant Field Values
UPDATE_RESULT
public static final int UPDATE_RESULT
- See Also:
- Constant Field Values
UPDATE
public static final int UPDATE
- See Also:
- Constant Field Values
RequestContainingEvent
public RequestContainingEvent(java.lang.Object src)
- The constructor.
- Parameters:
src - the object which produces this event.
setAction
public void setAction(int action,
java.lang.Object argument)
- Sets the action and its argument, if necessary, to execute to the event.
- Parameters:
action - the action to execute.argument - the action argument. If the action don't need
an argument, it must be sets to null.
getAction
public int getAction()
- Returns the action associated with the event.
getArgument
public java.lang.Object getArgument()
- Returns the argument of the action.
Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.