Package com.kheops.jmap.client.undo
Class UndoRedoEvent
java.lang.Object
java.util.EventObject
com.kheops.jmap.client.undo.UndoRedoEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
static final short
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionUndoRedoEvent
(Object src, short actionType, Class undoActionClassName) Constructs an UndoRedoEvent object. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the action type for this event.Returns the undo action class name.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
ACTION_TYPE_ACTION_ADDED
public static final short ACTION_TYPE_ACTION_ADDED- See Also:
-
ACTION_TYPE_UNDO
public static final short ACTION_TYPE_UNDO- See Also:
-
ACTION_TYPE_REDO
public static final short ACTION_TYPE_REDO- See Also:
-
ACTION_TYPE_CLEAR_UNDO
public static final short ACTION_TYPE_CLEAR_UNDO- See Also:
-
ACTION_TYPE_CLEAR_REDO
public static final short ACTION_TYPE_CLEAR_REDO- See Also:
-
-
Constructor Details
-
UndoRedoEvent
Constructs an UndoRedoEvent object.- Parameters:
src
- the object on which the Event initially occurred.actionType
- the action typeundoActionClassName
- the undo action class name
-
-
Method Details
-
getActionType
public int getActionType()Returns the action type for this event.- Returns:
- action type
-
getUndoActionClassName
Returns the undo action class name.- Returns:
- undo action class name
-