org.robokind.api.animation.editor.history
Class HistoryActionGroup

java.lang.Object
  extended by org.robokind.api.animation.editor.history.HistoryStack
      extended by org.robokind.api.animation.editor.history.HistoryActionGroup
All Implemented Interfaces:
HistoryAction

public class HistoryActionGroup
extends HistoryStack
implements HistoryAction

Author:
Matthew Stevenson

Nested Class Summary
 
Nested classes/interfaces inherited from class org.robokind.api.animation.editor.history.HistoryStack
HistoryStack.EmptyAction
 
Constructor Summary
HistoryActionGroup(String name, boolean actionPerformed)
           
 
Method Summary
 boolean getActionPerformed()
           
 String getName()
           
 void redo(Object invoker)
           
 void toggle(Object invoker)
           
 void undo(Object invoker)
           
 
Methods inherited from class org.robokind.api.animation.editor.history.HistoryStack
addEvent, addListener, back, clear, forward, getCurrentRedoCount, getCurrentUndoCount, getEvent, getHistory, getSelectedIndex, gotoEnd, gotoTime, move, removeListener, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryActionGroup

public HistoryActionGroup(String name,
                          boolean actionPerformed)
Method Detail

undo

public void undo(Object invoker)
Specified by:
undo in interface HistoryAction

redo

public void redo(Object invoker)
Specified by:
redo in interface HistoryAction

getName

public String getName()
Specified by:
getName in interface HistoryAction
Returns:

toggle

public void toggle(Object invoker)
Specified by:
toggle in interface HistoryAction

getActionPerformed

public boolean getActionPerformed()
Specified by:
getActionPerformed in interface HistoryAction
Returns:


Copyright © 2011-2013. All Rights Reserved.