|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.gui.ActionsUndo
public class ActionsUndo
Undo / Redo object.
Field Summary | |
---|---|
boolean |
dont
Flag for permition to adding new actions. |
Constructor Summary | |
---|---|
ActionsUndo()
|
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener l)
Adds the specified action listener to receive action events from this object. |
void |
clear()
Delete all actions from list. |
boolean |
changed()
Test, if composition was changed. |
boolean |
isOnEnd()
Tests, if list is at the end. |
boolean |
isOnStart()
Tests, if list is at the beginning. |
protected void |
processActionEvent(java.awt.event.ActionEvent e)
Processes action events occurring on this object by dispatching them to any registered ActionListener objects. |
void |
redo()
Returns last undoed action. |
void |
registry(ActionsUndoReg _action)
Registry action to list. |
void |
registryPerformed(ActionsUndoReg _action)
Filter change. |
void |
removeActionListener(java.awt.event.ActionListener l)
Removes the specified action listener so that it no longer receives action events from this object. |
void |
undo()
Returns last action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean dont
Constructor Detail |
---|
public ActionsUndo()
Method Detail |
---|
public boolean isOnStart()
public boolean isOnEnd()
public void clear()
public boolean changed()
public void registry(ActionsUndoReg _action)
_action
- Akcepublic void undo()
public void redo()
public void registryPerformed(ActionsUndoReg _action)
public void addActionListener(java.awt.event.ActionListener l)
l
- the action listenerremoveActionListener(java.awt.event.ActionListener)
,
ActionListener
public void removeActionListener(java.awt.event.ActionListener l)
l
- the action listeneraddActionListener(java.awt.event.ActionListener)
,
ActionListener
protected void processActionEvent(java.awt.event.ActionEvent e)
This method is not called unless action events are enabled for this object. Action events are enabled when one of the following occurs:
Note that if the event parameter is null the behavior is unspecified and may result in an exception.
e
- the action eventActionListener
,
Component.enableEvents(long)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |