org.robokind.api.animation.editor.actions
Class HistoryAction

java.lang.Object
  extended by org.robokind.api.animation.editor.actions.HistoryAction
All Implemented Interfaces:
ActionListener, EventListener

public class HistoryAction
extends Object
implements ActionListener

Author:
Matthew Stevenson

Constructor Summary
HistoryAction(org.robokind.api.common.utils.Source<? extends HistoryStack> source, int t)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static HistoryAction Redo(org.robokind.api.common.utils.Source<? extends HistoryStack> source)
           
static HistoryAction Undo(org.robokind.api.common.utils.Source<? extends HistoryStack> source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryAction

public HistoryAction(org.robokind.api.common.utils.Source<? extends HistoryStack> source,
                     int t)
Parameters:
label -
source -
t -
Method Detail

Undo

public static HistoryAction Undo(org.robokind.api.common.utils.Source<? extends HistoryStack> source)
Parameters:
source -
Returns:

Redo

public static HistoryAction Redo(org.robokind.api.common.utils.Source<? extends HistoryStack> source)
Parameters:
source -
Returns:

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener


Copyright © 2011. All Rights Reserved.