com.darwinsys.swingui
Class IntlAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.darwinsys.swingui.IntlAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public abstract class IntlAction
extends javax.swing.AbstractAction

Class for creating an Internationalized Swing Action. See also How to use Actions".

Version:
$Id: IntlAction.java,v 1.1 2003/07/12 20:31:26 ian Exp $
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
IntlAction(java.util.ResourceBundle b, java.lang.String key, javax.swing.ImageIcon icon)
          Convenience routing to make a Swing Action.
 
Method Summary
 
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

IntlAction

public IntlAction(java.util.ResourceBundle b,
                  java.lang.String key,
                  javax.swing.ImageIcon icon)
Convenience routing to make a Swing Action.

Parameters:
b - - ResourceBundle containting strings
key - - name such as "edit.cut" identifiying this action; should have at least "label", "descr" and "key" values
icon - - an ImageIcon (24x24?)


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.