|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction org.xnap.commons.gui.action.AbstractXNapAction org.xnap.commons.gui.action.AbstractSingleSelectionAction<T>
public abstract class AbstractSingleSelectionAction<T>
Field Summary | |
---|---|
protected T |
item
|
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 | |
---|---|
AbstractSingleSelectionAction()
|
Method Summary | |
---|---|
T |
getItem()
|
abstract T |
selectItem(Object selectedItem)
|
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 |
Field Detail |
---|
protected T item
Constructor Detail |
---|
public AbstractSingleSelectionAction()
Method Detail |
---|
public T getItem()
public void setSelectedItems(Object[] items)
setSelectedItems
in interface SelectionAction
public abstract T selectItem(Object selectedItem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |