org.xnap.action
Interface ToggleAction

All Superinterfaces:
javax.swing.Action, java.awt.event.ActionListener, java.util.EventListener
All Known Implementing Classes:
AbstractToggleAction, AbstractTogglePrefAction, AbstractToggleReversedPrefAction, EnableAction, MaintainSortOrderAction, MenuAction, PanelAction, RemoveFailedServersAction, ShowChatPanelAction, ShowHotlistAction, ShowLibraryPanelAction, ShowMainToolBarAction, UseAutoConnectorAction, UseSocksProxyAction, UseTabbedPaneAction, UseTabbedTransferPaneAction

public interface ToggleAction
extends javax.swing.Action

Defines the requirements for classes that support toggleable actions. This action class can be used for check box items.


Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 boolean isSelected()
          Returns the selected state for the action.
 void setSelected(boolean selected)
          Sets the selected state for the action.
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Method Detail

isSelected

boolean isSelected()
Returns the selected state for the action.


setSelected

void setSelected(boolean selected)
Sets the selected state for the action.



Copyright © 2001-2005 XNap Team. All Rights Reserved.