public class FilterState
extends java.lang.Object
FilterControl
instance.Constructor and Description |
---|
FilterState() |
Modifier and Type | Method and Description |
---|---|
boolean |
isHighlightedSquare(int path)
Returns whether the given path should be highlighted.
|
void |
reset()
Resets the state to no highlights.
|
void |
setHighlightedSquare(int path,
boolean highlightedSquare)
Sets the highlighted state for a given path.
|
public void reset()
public boolean isHighlightedSquare(int path)
path
- the pathpublic void setHighlightedSquare(int path, boolean highlightedSquare)
path
- the pathhighlightedSquare
- the highlighted state