org.jtheque.core.managers.view.impl.actions
Class JThequeSimpleAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jtheque.core.managers.view.impl.actions.JThequeSimpleAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
CheckLogsAction, CheckProxyAction

public abstract class JThequeSimpleAction
extends javax.swing.AbstractAction

A simple JTheque action.

Author:
Baptiste Wicht
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
JThequeSimpleAction()
           
 
Method Summary
 java.lang.Object clone()
           
 void setIcon(javax.swing.ImageIcon icon)
          Set the icon of te action.
 void setText(java.lang.String text)
          Set the text of the action.
 void setTextKey(java.lang.String key)
          Set the text key.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, 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

JThequeSimpleAction

public JThequeSimpleAction()
Method Detail

setTextKey

public final void setTextKey(java.lang.String key)
Set the text key.

Parameters:
key - The internationalization key.

setText

public final void setText(java.lang.String text)
Set the text of the action.

Parameters:
text - The text.

setIcon

public final void setIcon(javax.swing.ImageIcon icon)
Set the icon of te action.

Parameters:
icon - The icon.

clone

public final java.lang.Object clone()
                             throws java.lang.CloneNotSupportedException
Overrides:
clone in class javax.swing.AbstractAction
Throws:
java.lang.CloneNotSupportedException


Copyright © 2009 JTheque. All Rights Reserved.