|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.developpez.ydisanto.swing.event.UndoEvent
public class UndoEvent
This high-level event is generated by a undo or redo Action.
UndoListener,
Serialized Form| Field Summary | |
|---|---|
static int |
REDO
|
static int |
UNDO
|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
UndoEvent(java.awt.event.ActionEvent e,
int type)
Creates a new instance of UndoEvent. |
|
| Method Summary | |
|---|---|
int |
getType()
Returns UndoEvent.UNDO if this UndoEvent has
been generated by an undo Action and Undo.REDO if it has
been generated by an redo Action. |
| 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 |
| Field Detail |
|---|
public static final int UNDO
public static final int REDO
| Constructor Detail |
|---|
public UndoEvent(java.awt.event.ActionEvent e,
int type)
UndoEvent.
e - ActionEvent that generate the UndoEvent.type - UndoEvent.UNDO if this UndoEvent has
been generated by an undo Action and Undo.REDO if it has
been generated by an redo Action.| Method Detail |
|---|
public int getType()
UndoEvent.UNDO if this UndoEvent has
been generated by an undo Action and Undo.REDO if it has
been generated by an redo Action.
UndoEvent.UNDO if this UndoEvent has
been generated by an undo Action and Undo.REDO if it has
been generated by an redo Action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||