gov.lbl.genome.gui.action
Class BackAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gov.lbl.genome.gui.action.VAbstractAction
          extended by gov.lbl.genome.gui.action.BackAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable, java.util.EventListener, javax.swing.Action

public class BackAction
extends VAbstractAction

Title: Show last position

Description: Show previous available position from history

Copyright: Copyright (c) 2002 Lawrence Orlando Berkeley National Laboratory

Company: LBNL

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.lbl.genome.gui.action.VAbstractAction
action, actionIcon, actionThread, numberOfActions, param, va
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
BackAction(VistaApp vapp)
          BackAction
BackAction(VistaApp vapp, java.lang.String name)
          BackAction
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Show previous available position from history
 void run()
          Override run method if you want to execute action in a separate thread.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackAction

public BackAction(VistaApp vapp)
BackAction

Parameters:
vapp - VistaApp

BackAction

public BackAction(VistaApp vapp,
                  java.lang.String name)
BackAction

Parameters:
vapp - VistaApp
name - String
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Show previous available position from history

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class VAbstractAction
Parameters:
e - ActionEvent
See Also:
VistaApp.lastPosition()

run

public void run()
Description copied from class: VAbstractAction
Override run method if you want to execute action in a separate thread.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class VAbstractAction
See Also:
VAbstractAction.actionPerformed(ActionEvent)