 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.filter;
22 import java.util.Collection;
23 import java.util.Collections;
24 import java.util.HashMap;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
36 private final Map<String, String>
properties =
new HashMap<>();
56 public void setProperty(@NotNull
final String
name, @NotNull
final String value) {
58 if (oldValue !=
null && oldValue.equals(value)) {
73 return Collections.unmodifiableSet(
properties.keySet());
void fireEvent( @NotNull final FilterConfigChangeType filterConfigChangeType, @NotNull final FilterConfig<?, ?> filterConfig)
Notify all listeners that a FilterConfig has happened.
final Map< String, String > properties
final F filter
The Filter this filter config belongs to.
Types of FilterConfig change types.
String getProperty(@NotNull final String name)
void removeAllProperties()
Collection< String > getProperties()
A Filter which filters according to a {}.
NamedGameObjectMatcherFilterConfig getThis()
NamedGameObjectMatcherFilterConfig(@NotNull final NamedGameObjectMatcherFilter filter)
Creates a new instance.
Interface for visitors of filter configs.
CHANGE
The filter config has changed.
Filter configuration of NamedGameObjectMatcherFilter instances.
void accept(@NotNull final FilterConfigVisitor visitor)
void setProperty(@NotNull final String name, @NotNull final String value)
Abstract base class for filter configurations.