y.view
Class NavigationComponent.FitContentAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by y.view.NavigationComponent.FitContentAction
All Implemented Interfaces:
ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
NavigationComponent

protected class NavigationComponent.FitContentAction
extends AbstractAction
implements PropertyChangeListener

This action is used for the fit content button of the navigation controls.

See Also:
Serialized Form
 
Your browser does not support SVG content.

Field Summary
 
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
NavigationComponent.FitContentAction(Icon icon)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void propertyChange(PropertyChangeEvent evt)
           
 
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

NavigationComponent.FitContentAction

public NavigationComponent.FitContentAction(Icon icon)
Method Detail

actionPerformed

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

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

© Copyright 2000-2008,
yWorks GmbH.
All rights reserved.