org.robokind.api.animation.editor.history
Class DefaultHistoryAction
java.lang.Object
org.robokind.api.animation.editor.history.DefaultHistoryAction
- All Implemented Interfaces:
- HistoryAction
public class DefaultHistoryAction
- extends Object
- implements HistoryAction
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHistoryAction
public DefaultHistoryAction(String name,
EditorAction redo,
EditorAction undo,
boolean actionPerformed)
- Parameters:
name - redo - undo - actionPerformed -
getName
public String getName()
- Specified by:
getName in interface HistoryAction
- Returns:
toggle
public void toggle(Object invoker)
- Specified by:
toggle in interface HistoryAction
- Parameters:
invoker -
undo
public void undo(Object invoker)
- Specified by:
undo in interface HistoryAction
- Parameters:
invoker -
redo
public void redo(Object invoker)
- Specified by:
redo in interface HistoryAction
- Parameters:
invoker -
getActionPerformed
public boolean getActionPerformed()
- Specified by:
getActionPerformed in interface HistoryAction
- Returns:
Copyright © 2011-2013. All Rights Reserved.