com.uwyn.rife.swing
Class JAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.uwyn.rife.swing.JAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class JAction
extends AbstractAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
JAction(Command command, Icon icon)
           
JAction(Command command, Icon icon, String shortDescription)
           
JAction(Command command, String name)
           
JAction(Command command, String name, char mnemonic)
           
JAction(Command command, String name, char mnemonic, KeyStroke accelerator)
           
JAction(Command command, String name, char mnemonic, KeyStroke accelerator, Icon icon)
           
JAction(Command command, String name, char mnemonic, KeyStroke accelerator, Icon icon, String shortDescription)
           
JAction(Command command, String name, Integer mnemonic)
           
JAction(Command command, String name, Integer mnemonic, KeyStroke accelerator)
           
JAction(Command command, String name, Integer mnemonic, KeyStroke accelerator, Icon icon)
           
JAction(Command command, String name, Integer mnemonic, KeyStroke accelerator, Icon icon, String shortDescription)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void setAccelerator(KeyStroke accelerator)
           
 void setCommand(Command command)
           
 void setIcon(Icon icon)
           
 void setMnemonic(char mnemonic)
           
 void setMnemonic(Integer mnemonic)
           
 void setName(String name)
           
 void setShortDescription(String shortDescription)
           
 
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

JAction

public JAction(Command command,
               String name)

JAction

public JAction(Command command,
               String name,
               char mnemonic)

JAction

public JAction(Command command,
               String name,
               Integer mnemonic)

JAction

public JAction(Command command,
               String name,
               char mnemonic,
               KeyStroke accelerator)

JAction

public JAction(Command command,
               String name,
               Integer mnemonic,
               KeyStroke accelerator)

JAction

public JAction(Command command,
               String name,
               char mnemonic,
               KeyStroke accelerator,
               Icon icon)

JAction

public JAction(Command command,
               String name,
               Integer mnemonic,
               KeyStroke accelerator,
               Icon icon)

JAction

public JAction(Command command,
               Icon icon)

JAction

public JAction(Command command,
               Icon icon,
               String shortDescription)

JAction

public JAction(Command command,
               String name,
               char mnemonic,
               KeyStroke accelerator,
               Icon icon,
               String shortDescription)

JAction

public JAction(Command command,
               String name,
               Integer mnemonic,
               KeyStroke accelerator,
               Icon icon,
               String shortDescription)
Method Detail

setCommand

public void setCommand(Command command)

setName

public void setName(String name)

setMnemonic

public void setMnemonic(char mnemonic)

setMnemonic

public void setMnemonic(Integer mnemonic)

setAccelerator

public void setAccelerator(KeyStroke accelerator)

setIcon

public void setIcon(Icon icon)

setShortDescription

public void setShortDescription(String shortDescription)

actionPerformed

public void actionPerformed(ActionEvent e)


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.