Package adams.gui.visualization.image
Class AbstractPointOverlayFromReport.SelectedObjectFilter
- java.lang.Object
-
- adams.gui.visualization.image.AbstractPointOverlayFromReport.SelectedObjectFilter
-
- All Implemented Interfaces:
LocatedObjectFilter
,Serializable
- Enclosing class:
- AbstractPointOverlayFromReport
public static final class AbstractPointOverlayFromReport.SelectedObjectFilter extends Object implements Serializable, LocatedObjectFilter
Filter for located objects that only accepts the currently selected ones.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<LocatedObject>
m_Selected
the selected objects.
-
Constructor Summary
Constructors Constructor Description SelectedObjectFilter(Set<LocatedObject> selected)
Initializes the filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(LocatedObject obj)
Whether to accept the located object.
-
-
-
Field Detail
-
m_Selected
protected Set<LocatedObject> m_Selected
the selected objects.
-
-
Constructor Detail
-
SelectedObjectFilter
public SelectedObjectFilter(Set<LocatedObject> selected)
Initializes the filter.- Parameters:
selected
- the only objects to object
-
-
Method Detail
-
accept
public boolean accept(LocatedObject obj)
Whether to accept the located object.- Specified by:
accept
in interfaceLocatedObjectFilter
- Parameters:
obj
- the object to check- Returns:
- true if accepted
-
-