net.sf.genuine.actions
Class HideComponentAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bynet.sf.genuine.swing.GenuineAction
          extended bynet.sf.genuine.actions.HideComponentAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class HideComponentAction
extends GenuineAction

Objects of this action class are initialized with a module id and a component id and request the component manager to hide the refered component whenever they are activated.

Author:
Tim Wellhausen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
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
HideComponentAction(ComponentManager componentManager, java.lang.String moduleId, java.lang.String componentId, java.lang.String instanceId)
          Initialization
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class net.sf.genuine.swing.GenuineAction
getId
 
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

HideComponentAction

public HideComponentAction(ComponentManager componentManager,
                           java.lang.String moduleId,
                           java.lang.String componentId,
                           java.lang.String instanceId)
Initialization

Parameters:
componentManager - A reference to the component manager
moduleId - The id of the module to which the component belongs
componentId - The id of the component that should be hidden
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)