info.joseluismartin.gui
Class IconAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.joseluismartin.gui.IconAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
BeanAction, DialogAction, TableRowAction

public abstract class IconAction
extends AbstractAction

Author:
Jose Luis Martin - (jlm@joseluismartin.info)
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
IconAction()
           
 
Method Summary
 Icon getIcon()
           
 org.springframework.context.MessageSource getMessageSource()
           
 MessageSourceWrapper getMessageWrapper()
           
 String getName()
           
 void setIcon(Icon icon)
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 void setName(String name)
           
 
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

IconAction

public IconAction()
Method Detail

getIcon

public Icon getIcon()

setIcon

public void setIcon(Icon icon)

setName

public void setName(String name)

getName

public String getName()

getMessageSource

public org.springframework.context.MessageSource getMessageSource()

setMessageSource

@Autowired
public void setMessageSource(org.springframework.context.MessageSource messageSource)

getMessageWrapper

public MessageSourceWrapper getMessageWrapper()


Copyright © 2013 JDAL. All Rights Reserved.