fr.ove.applet.events
Class AppletEvent
java.lang.Object
java.util.EventObject
fr.ove.applet.events.AppletEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AppletEvent
- extends java.util.EventObject
The event to send to all objects that implements the interface AppletListener
and which want to be alerted of changes of the applet they are listening to.
- Version:
- 1.0 30/04/99
- Author:
- © 1999 DIRAT Laurent
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
AppletEvent(java.lang.Object src)
The constructor. |
|
Method Summary |
java.lang.Object |
getAction()
Returns the action associated with the event. |
java.lang.Object |
getArgument()
Returns the argument of the action. |
void |
setAction(java.lang.Object 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 |
AppletEvent
public AppletEvent(java.lang.Object src)
- The constructor.
- Parameters:
src - the object which produces this event.
setAction
public void setAction(java.lang.Object 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 java.lang.Object 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.