public class SetEnabledAction
extends javax.swing.AbstractAction
GameObjectMatcher
from this a MutableOrGameObjectMatcher
.Constructor and Description |
---|
SetEnabledAction(MutableOrGameObjectMatcher mutableOrGameObjectMatcher,
GameObjectMatcher gameObjectMatcher)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
SetEnabledAction |
clone() |
boolean |
isSelected()
Returns whether
gameObjectMatcher is currently enabled. |
public SetEnabledAction(@NotNull MutableOrGameObjectMatcher mutableOrGameObjectMatcher, @NotNull GameObjectMatcher gameObjectMatcher)
mutableOrGameObjectMatcher
- the MutableOrGameObjectMatcher
to add to / remove fromgameObjectMatcher
- the ArchGameObjectMatcher
to be added /
removedpublic void actionPerformed(@NotNull java.awt.event.ActionEvent e)
public boolean isSelected()
gameObjectMatcher
is currently enabled.@NotNull public SetEnabledAction clone()
clone
in class javax.swing.AbstractAction