oracle.dss.dataSource.common
Class UndoAvailableEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dss.dataSource.common.QueryEvent
|
+--oracle.dss.dataSource.common.UndoAvailableEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class UndoAvailableEvent
- extends QueryEvent
Provides listeners with a QueryEdit object that they can use to change the state of a Query object. The undo and redo methods of the QueryEdit object restore a Query object to its state before or after a particular edit.
- See Also:
- Serialized Form
| Method Summary |
QueryEdit |
getEdit()
Retrieves the undoable edit object from the event. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UndoAvailableEvent
public UndoAvailableEvent(java.lang.Object source,
QueryEdit undo)
- Constructs the event.
-
- Parameters:
source - The source of the event, that is, a reference to the object that fired the event.
undo - The undoable edit object that can be used to reset the state of the Query object.
getEdit
public QueryEdit getEdit()
- Retrieves the undoable edit object from the event.
-
- Returns:
- The undoable edit object.
Copyright © 2003, Oracle. All Rights Reserved.