public interface FilterControl<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Modifier and Type | Field and Description |
---|---|
static int |
MAX_HIGHLIGHT |
Modifier and Type | Method and Description |
---|---|
void |
addConfigListener(FilterConfigListener listener)
Adds a
FilterConfigListener to be notified about changes. |
void |
addFilter(java.lang.String name,
Filter<?,?> filter) |
boolean |
canShow(G gameObject) |
void |
createMenuEntries(javax.swing.JMenu menu) |
boolean |
isHighlightedSquare(FilterState filterState,
int path) |
void |
newSquare(FilterState filterState) |
void |
objectInSquare(FilterState filterState,
G gameObject) |
void |
removeConfigListener(FilterConfigListener listener)
Removes a
FilterConfigListener to be notified about changes. |
void |
removeFilter(java.lang.String name) |
static final int MAX_HIGHLIGHT
void addConfigListener(@NotNull FilterConfigListener listener)
FilterConfigListener
to be notified about changes.listener
- the config listenervoid removeConfigListener(@NotNull FilterConfigListener listener)
FilterConfigListener
to be notified about changes.listener
- the config listenervoid createMenuEntries(@NotNull javax.swing.JMenu menu)
void newSquare(@NotNull FilterState filterState)
boolean isHighlightedSquare(@NotNull FilterState filterState, int path)
void objectInSquare(@NotNull FilterState filterState, @NotNull G gameObject)
boolean canShow(@NotNull G gameObject)
void addFilter(@NotNull java.lang.String name, @NotNull Filter<?,?> filter)
void removeFilter(@NotNull java.lang.String name)