20 package net.sf.gridarta.model.match;
22 import java.awt.event.ActionEvent;
23 import javax.swing.AbstractAction;
24 import org.jetbrains.annotations.NotNull;
97 }
catch (
final CloneNotSupportedException ex) {
98 throw new AssertionError(ex);
Interface for classes that match GameObjects.
Action for adding / removing an GameObjectMatcher from this a.
void setSelected(final boolean selected)
Adds / removes the gameObjectMatcher.
final MutableOrGameObjectMatcher mutableOrGameObjectMatcher
The MutableOrGameObjectMatcher to add to / remove from.
SetEnabledAction(@NotNull final MutableOrGameObjectMatcher mutableOrGameObjectMatcher, @NotNull final GameObjectMatcher gameObjectMatcher)
Creates a new instance.
boolean containsArchObjectMatcher(@NotNull final GameObjectMatcher gameObjectMatcher)
Checks whether a certain GameObjectMatcher is contained in this matcher.
void removeArchObjectMatcher(@NotNull final GameObjectMatcher gameObjectMatcher)
Removes an GameObjectMatcher.
void addArchObjectMatcher(@NotNull final GameObjectMatcher gameObjectMatcher)
Adds an GameObjectMatcher.
boolean isSelected()
Returns whether gameObjectMatcher is currently enabled.
A GameObjectMatcher that delegates to other.
static final long serialVersionUID
The serial version UID.
final GameObjectMatcher gameObjectMatcher
The GameObjectMatcher to be added / removed.
void actionPerformed(@NotNull final ActionEvent e)