net.sf.gridarta.model.match
private static class ViewGameObjectMatcherManager.GameObjectMatcherToggleAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
gameObjectMatcher
The
GameObjectMatcher to add / remove. |
private MutableOrGameObjectMatcher |
mutableOrArchObjectMatcher
A
MutableOrGameObjectMatcher to add / remove GameObjectMatcher to. |
private boolean |
selected
Selected state.
|
private static long |
serialVersionUID
The serial version UID.
|
changeSupport, enabled
ACCELERATOR_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 |
---|
ViewGameObjectMatcherManager.GameObjectMatcherToggleAction(GameObjectMatcher gameObjectMatcher,
MutableOrGameObjectMatcher mutableOrArchObjectMatcher)
Creates an
GameObjectMatcherToggleAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
protected Object |
clone() |
boolean |
isSelected()
Gets the selected state.
|
void |
setSelected(boolean selected)
Sets the selected state.
|
addPropertyChangeListener, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static final long serialVersionUID
private boolean selected
@NotNull private final MutableOrGameObjectMatcher mutableOrArchObjectMatcher
MutableOrGameObjectMatcher
to add / remove GameObjectMatcher
to.@NotNull private final GameObjectMatcher gameObjectMatcher
GameObjectMatcher
to add / remove.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction(@NotNull GameObjectMatcher gameObjectMatcher, @NotNull MutableOrGameObjectMatcher mutableOrArchObjectMatcher)
GameObjectMatcherToggleAction
.gameObjectMatcher
- the matcher to add / remove to / from
mutableOrGameObjectMatcher
mutableOrArchObjectMatcher
- the MutableOrGameObjectMatcher
to add / remove gameObjectMatcher
to / frompublic void actionPerformed(@NotNull ActionEvent e)
public void setSelected(boolean selected)
selected
- the new selected statepublic boolean isSelected()
true
if this action is selected, false
if this action is not selected@NotNull protected Object clone()
clone
in class AbstractAction
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.