lapisx.swing
Class MaskedAction

java.lang.Object
  extended bylapisx.swing.MaskedAction
All Implemented Interfaces:
Action, ActionListener, EventListener, PropertyChangeListener

public class MaskedAction
extends Object
implements Action, PropertyChangeListener


Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
MaskedAction(String masked, Action action)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 Object getValue(String name)
           
 boolean isEnabled()
           
 void propertyChange(PropertyChangeEvent event)
           
 void putValue(String name, Object obj)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setEnabled(boolean f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaskedAction

public MaskedAction(String masked,
                    Action action)
Method Detail

getValue

public Object getValue(String name)
Specified by:
getValue in interface Action

putValue

public void putValue(String name,
                     Object obj)
Specified by:
putValue in interface Action

setEnabled

public void setEnabled(boolean f)
Specified by:
setEnabled in interface Action

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Action

propertyChange

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

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface Action

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface Action

actionPerformed

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