org.netbeans.modules.editor.lib/1 1.44.0 9

org.netbeans.editor
Class DelegateAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.netbeans.editor.DelegateAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class DelegateAction
extends AbstractAction

Action that delegates on delegate action.

See Also:
Serialized Form

Field Summary
protected  Action delegate
           
 
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
DelegateAction()
           
DelegateAction(Action delegate)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected  Action getDelegate()
           
 Object getValue(String key)
           
 void putValue(String key, Object value)
           
protected  void setDelegate(Action delegate)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected Action delegate
Constructor Detail

DelegateAction

public DelegateAction()

DelegateAction

public DelegateAction(Action delegate)
Method Detail

getDelegate

protected final Action getDelegate()

setDelegate

protected void setDelegate(Action delegate)

actionPerformed

public void actionPerformed(ActionEvent e)

getValue

public Object getValue(String key)
Specified by:
getValue in interface Action
Overrides:
getValue in class AbstractAction

putValue

public void putValue(String key,
                     Object value)
Specified by:
putValue in interface Action
Overrides:
putValue in class AbstractAction

org.netbeans.modules.editor.lib/1 1.44.0 9

Built on November 21 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.