gov.lbl.genome.gui.action
Class ZoomOutAction

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

public class ZoomOutAction
extends VAbstractAction

Title:

Description: Try to double data interval

Copyright: Copyright (c) 2002 Ernest Orlando Lawrence 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
ZoomOutAction(VistaApp vapp)
          ZoomOutAction
ZoomOutAction(VistaApp vapp, java.lang.String name)
          ZoomOutAction
 
Method Summary
 void run()
          Try to increase data interval.
 
Methods inherited from class gov.lbl.genome.gui.action.VAbstractAction
actionPerformed
 
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

ZoomOutAction

public ZoomOutAction(VistaApp vapp)
ZoomOutAction

Parameters:
vapp - VistaApp

ZoomOutAction

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

Parameters:
vapp - VistaApp
name - String
Method Detail

run

public void run()
Try to increase data interval. If fail, try to show maximal possible interval, but not more than 5,000,000 bp

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