info.joseluismartin.gui.table
Class TablePanelAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.joseluismartin.gui.IconAction
          extended by info.joseluismartin.gui.action.BeanAction
              extended by info.joseluismartin.gui.table.TablePanelAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
AddAction, ApplyFilterAction, ClearFilterAction, DeselectAllAction, HideShowFilterAction, RemoveAllAction, SelectAllAction

public abstract class TablePanelAction
extends BeanAction

Base class for TablePanel Actions

Author:
Jose Luis Martin - (jlm@joseluismartin.info)
See Also:
Serialized Form

Field Summary
protected  MessageSourceWrapper messageSource
           
 
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
TablePanelAction()
           
 
Method Summary
 org.springframework.context.MessageSource getMessageSource()
           
 TablePanel getTablePanel()
           
 void init()
           
 void setMessageSource(org.springframework.context.MessageSource messageSource)
           
 void setTablePanel(TablePanel tablePanel)
           
 
Methods inherited from class info.joseluismartin.gui.action.BeanAction
getName, setName
 
Methods inherited from class info.joseluismartin.gui.IconAction
getIcon, getMessageWrapper, setIcon
 
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
 

Field Detail

messageSource

protected MessageSourceWrapper messageSource
Constructor Detail

TablePanelAction

public TablePanelAction()
Method Detail

init

public void init()

getTablePanel

public TablePanel getTablePanel()
Returns:
the tablePanel

setTablePanel

public void setTablePanel(TablePanel tablePanel)
Parameters:
tablePanel - the tablePanel to set

getMessageSource

public org.springframework.context.MessageSource getMessageSource()
Overrides:
getMessageSource in class IconAction
Returns:
the messageSource

setMessageSource

@Autowired
public void setMessageSource(org.springframework.context.MessageSource messageSource)
Overrides:
setMessageSource in class IconAction
Parameters:
messageSource - the messageSource to set


Copyright © 2013 JDAL. All Rights Reserved.