public abstract class DisableGoal extends AbstractAction
ListSelectionModel interface.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enableGoals
indicates whether this action enables or disables goals
|
static Icon |
KEY_HOLE_DISABLED_PULL_DOWN_MENU |
static ImageIcon |
KEY_HOLE_PULL_DOWN_MENU |
private static long |
serialVersionUID |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
DisableGoal() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
abstract Iterable<Goal> |
getGoalList()
an implementation should return an iterable collection over those
goals that are to be disabled or enabled according to the setting of
enableGoals. |
private void |
setGoalStatus(Iterable<Goal> goals)
enables or disables all given goals
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic static final Icon KEY_HOLE_DISABLED_PULL_DOWN_MENU
public static final ImageIcon KEY_HOLE_PULL_DOWN_MENU
private static final long serialVersionUID
protected boolean enableGoals
private void setGoalStatus(Iterable<Goal> goals)
goals - array of goals to be enabled or disabledpublic abstract Iterable<Goal> getGoalList()
enableGoals.public void actionPerformed(ActionEvent e)