org.xnap.commons.gui.action
Class AbstractSelectionAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.xnap.commons.gui.action.AbstractXNapAction
          extended by org.xnap.commons.gui.action.AbstractSelectionAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, SelectionAction

public abstract class AbstractSelectionAction
extends AbstractXNapAction
implements SelectionAction

Author:
Steffen Pingel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xnap.commons.gui.action.AbstractXNapAction
ICON_FILENAME
 
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
AbstractSelectionAction()
           
 
Method Summary
 Object getSelectedItem()
           
 Object[] getSelectedItems()
           
 void setSelectedItems(Object[] items)
           
 
Methods inherited from class org.xnap.commons.gui.action.AbstractXNapAction
getIcon, initialize, setEnabledLater, tr, tr
 
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 javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

AbstractSelectionAction

public AbstractSelectionAction()
Method Detail

setSelectedItems

public void setSelectedItems(Object[] items)
Specified by:
setSelectedItems in interface SelectionAction

getSelectedItem

public Object getSelectedItem()

getSelectedItems

public Object[] getSelectedItems()


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.