Preferences Editor

de.jppietsch.gui
Class RscAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.jppietsch.gui.RscAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
MainWindow.ExitAction

public abstract class RscAction
extends AbstractAction

An action whose values are localized by means of a resource bundle.

Author:
Jan-Peter Pietsch
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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
protected RscAction(Class aResourceBundleClass, String aKey)
           
protected RscAction(RscBundle aBundle, String aPrefix)
          Localizes this action from the given resource bundle.
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

RscAction

protected RscAction(RscBundle aBundle,
                    String aPrefix)
Localizes this action from the given resource bundle.

Parameters:
aBundle - contains localized properties of this action.
aPrefix - used to concatenate the resource keys.

RscAction

protected RscAction(Class aResourceBundleClass,
                    String aKey)

Preferences Editor