de.tkuhn.swing.actions
Interface BooleanAction

All Superinterfaces:
javax.swing.Action, java.awt.event.ActionListener, java.util.EventListener
All Known Implementing Classes:
BooleanPreferenceAction, BooleanStateAction

public interface BooleanAction
extends javax.swing.Action

BooleanAction is a special Action that has a boolean state and can therefore be used together with widgets with boolean states such as JCheckBox.

Version:
0.9.3
Author:
Tilmann Kuhn
See Also:
Action

Field Summary
 
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
 
Method Summary
 boolean isSelected()
          Getter for property selected.
 void setSelected(boolean selected)
          Setter for property selected.
 
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()
Getter for property selected.

Returns:
Value of property selected.

setSelected

void setSelected(boolean selected)
Setter for property selected.

Parameters:
selected - New value of property selected.


Copyright © Tilmann Kuhn