Gridarta Editor
net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction Class Reference

An Action to toggle a GameObjectMatcher within a {}. More...

+ Inheritance diagram for net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction:
+ Collaboration diagram for net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction:

Public Member Functions

void actionPerformed (@NotNull final ActionEvent e)
 
boolean isSelected ()
 Gets the selected state. More...
 

Protected Member Functions

GameObjectMatcherToggleAction clone ()
 
void setSelected (final boolean selected)
 Sets the selected state. More...
 

Package Functions

 GameObjectMatcherToggleAction (@NotNull final GameObjectMatcher gameObjectMatcher, @NotNull final MutableOrGameObjectMatcher mutableOrArchObjectMatcher)
 Creates a new instance. More...
 

Private Attributes

final GameObjectMatcher gameObjectMatcher
 The GameObjectMatcher to add / remove. More...
 
final MutableOrGameObjectMatcher mutableOrArchObjectMatcher
 A MutableOrGameObjectMatcher to add / remove {} to. More...
 
boolean selected
 Selected state. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Detailed Description

An Action to toggle a GameObjectMatcher within a {}.

Definition at line 141 of file ViewGameObjectMatcherManager.java.

Constructor & Destructor Documentation

◆ GameObjectMatcherToggleAction()

net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.GameObjectMatcherToggleAction ( @NotNull final GameObjectMatcher  gameObjectMatcher,
@NotNull final MutableOrGameObjectMatcher  mutableOrArchObjectMatcher 
)
package

Creates a new instance.

Parameters
gameObjectMatcherthe matcher to add / remove to / from
mutableOrArchObjectMatcherthe
MutableOrGameObjectMatcher
to add / remove to / from

Definition at line 173 of file ViewGameObjectMatcherManager.java.

References net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.gameObjectMatcher, and net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.mutableOrArchObjectMatcher.

Member Function Documentation

◆ actionPerformed()

void net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.actionPerformed ( @NotNull final ActionEvent  e)

◆ clone()

GameObjectMatcherToggleAction net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.clone ( )
protected

◆ isSelected()

boolean net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.isSelected ( )

Gets the selected state.

Returns
the selected state
Return values

Definition at line 205 of file ViewGameObjectMatcherManager.java.

References net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.selected.

◆ setSelected()

Member Data Documentation

◆ gameObjectMatcher

final GameObjectMatcher net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.gameObjectMatcher
private

◆ mutableOrArchObjectMatcher

◆ selected

◆ serialVersionUID

final long net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 146 of file ViewGameObjectMatcherManager.java.


The documentation for this class was generated from the following file:
net.sf.gridarta.model.match.ViewGameObjectMatcherManager.mutableOrGameObjectMatcher
final MutableOrGameObjectMatcher mutableOrGameObjectMatcher
The MutableOrGameObjectMatcher that is manipulated by the actions.
Definition: ViewGameObjectMatcherManager.java:41
net.sf.gridarta.model.match.ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.gameObjectMatcher
final GameObjectMatcher gameObjectMatcher
The GameObjectMatcher to add / remove.
Definition: ViewGameObjectMatcherManager.java:164