org.xnap.commons.gui.action
Interface ToggleAction
- All Superinterfaces:
- Action, ActionListener, EventListener
- All Known Implementing Classes:
- AbstractToggleAction, AbstractToggleSettingAction, TableHeaderMenu.MaintainSortOrderAction
public interface ToggleAction
- extends Action
Defines the requirements for classes that support toggleable actions. This
action class can be used for check box items.
Field Summary |
static String |
SELECTED
The key used for storing the selected state. |
Method Summary |
boolean |
isSelected()
Returns the selected state for the action. |
void |
setSelected(boolean selected)
Sets the selected state for the action. |
SELECTED
static final String SELECTED
- The key used for storing the selected state.
- See Also:
- Constant Field Values
isSelected
boolean isSelected()
- Returns the selected state for the action.
setSelected
void setSelected(boolean selected)
- Sets the selected state for the action.
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.