pipe.gui
Class AnimateAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--pipe.gui.AnimateAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, Constants, java.util.EventListener, java.io.Serializable

public class AnimateAction
extends javax.swing.AbstractAction
implements Constants, java.awt.event.ActionListener

See Also:
Serialized Form

Inner classes inherited from class javax.swing.AbstractAction
javax.swing.AbstractAction.ArrayTable
 
Field Summary
private  AnimationHistory animBox
           
private  java.lang.String imageFileName
           
private  java.lang.String selectedFileName
           
private  CreateGui theApp
           
private  int typeID
           
 
Fields inherited from class javax.swing.AbstractAction
arrayTable, changeSupport, enabled
 
Fields inherited from interface pipe.gui.Constants
ADDTOKEN, ARC, DEFAULT_BACKGROUND_COLOR, DEFAULT_DIRECTORY, DEFAULT_ELEMENT_COLOR, DEFAULT_ELEMENT_TYPE, DEFAULT_FILENAME, DELETE, DELTOKEN, DRAW, FIRE, MOVE, PLACE, RANDOM, START, STEPBACKWARD, STEPFORWARD, STOP, TRANSITION
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
(package private) AnimateAction(CreateGui theApp, java.lang.String name, int typeID, java.lang.String tooltip)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 int getnumberSequences()
           
 void numberstepsBack()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, readObject, removePropertyChangeListener, setEnabled, writeObject
 
Methods inherited from class java.lang.Object
, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

typeID

private int typeID

imageFileName

private java.lang.String imageFileName

selectedFileName

private java.lang.String selectedFileName

theApp

private CreateGui theApp

animBox

private AnimationHistory animBox
Constructor Detail

AnimateAction

AnimateAction(CreateGui theApp,
              java.lang.String name,
              int typeID,
              java.lang.String tooltip)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class javax.swing.AbstractAction

getnumberSequences

public int getnumberSequences()

numberstepsBack

public void numberstepsBack()