Package net.sf.gridarta.model.filter
Class NamedGameObjectMatcherFilterConfig
- java.lang.Object
-
- net.sf.gridarta.model.filter.AbstractFilterConfig<NamedGameObjectMatcherFilter,NamedGameObjectMatcherFilterConfig>
-
- net.sf.gridarta.model.filter.NamedGameObjectMatcherFilterConfig
-
- All Implemented Interfaces:
FilterConfig<NamedGameObjectMatcherFilter,NamedGameObjectMatcherFilterConfig>
public class NamedGameObjectMatcherFilterConfig extends AbstractFilterConfig<NamedGameObjectMatcherFilter,NamedGameObjectMatcherFilterConfig>
Filter configuration ofNamedGameObjectMatcherFilterinstances.
-
-
Constructor Summary
Constructors Constructor Description NamedGameObjectMatcherFilterConfig(@NotNull NamedGameObjectMatcherFilter filter)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(@NotNull FilterConfigVisitor visitor)Visits the appropriatevisit()function of aFilterConfigVisitor.@NotNull java.util.Collection<java.lang.String>getProperties()@Nullable java.lang.StringgetProperty(@NotNull java.lang.String name)protected @NotNull NamedGameObjectMatcherFilterConfiggetThis()Returns this filter config.voidremoveAllProperties()voidsetProperty(@NotNull java.lang.String name, @NotNull java.lang.String value)-
Methods inherited from class net.sf.gridarta.model.filter.AbstractFilterConfig
addConfigChangeListener, fireEvent, getFilter, isEnabled, match, removeConfigChangeListener, reset, setEnabled
-
-
-
-
Constructor Detail
-
NamedGameObjectMatcherFilterConfig
public NamedGameObjectMatcherFilterConfig(@NotNull @NotNull NamedGameObjectMatcherFilter filter)Creates a new instance.- Parameters:
filter- the filter this filter config belongs to
-
-
Method Detail
-
getThis
@NotNull protected @NotNull NamedGameObjectMatcherFilterConfig getThis()
Description copied from class:AbstractFilterConfigReturns this filter config.- Specified by:
getThisin classAbstractFilterConfig<NamedGameObjectMatcherFilter,NamedGameObjectMatcherFilterConfig>- Returns:
- this filter config
-
removeAllProperties
public void removeAllProperties()
-
setProperty
public void setProperty(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String value)
-
getProperty
@Nullable public @Nullable java.lang.String getProperty(@NotNull @NotNull java.lang.String name)
-
getProperties
@NotNull public @NotNull java.util.Collection<java.lang.String> getProperties()
-
accept
public void accept(@NotNull @NotNull FilterConfigVisitor visitor)Description copied from interface:FilterConfigVisits the appropriatevisit()function of aFilterConfigVisitor.- Parameters:
visitor- the visitor to call
-
-