fr.ove.openmath.courses.editor.events
Class EditorEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byfr.ove.openmath.courses.editor.events.EditorEvent
All Implemented Interfaces:
java.io.Serializable

public class EditorEvent
extends java.util.EventObject

The event to send to all objects that implements the interface EditorListener and which want to be alerted of changes of the applet they are listening to.

Version:
1.0 21/04/99
Author:
© 1999 DIRAT Laurent
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EditorEvent(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
 

Constructor Detail

EditorEvent

public EditorEvent(java.lang.Object src)
The constructor.

Parameters:
src - the object which produces this event.
Method Detail

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.