com.darwinsys.swingui
Class IntlAction

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

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.
 
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 © 2000-2003 Ian F. Darwin. See license.html for usage license.