Package gov.nasa.worldwind.shape
Interface Highlightable
-
- All Known Implementing Classes:
AbstractShape
,Ellipse
,Label
,OmnidirectionalSightline
,Path
,Placemark
,Polygon
public interface Highlightable
Interface to control a shape's highlighting. Shapes implementing this interface have their own highlighting behaviors and attributes and the means for setting them.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isHighlighted()
Indicates whether the shape is highlighted.void
setHighlighted(boolean highlighted)
Specifies whether to highlight the shape.
-
-
-
Method Detail
-
isHighlighted
boolean isHighlighted()
Indicates whether the shape is highlighted.- Returns:
- true if the shape is highlighted, otherwise false
-
setHighlighted
void setHighlighted(boolean highlighted)
Specifies whether to highlight the shape.- Parameters:
highlighted
- true to highlight the shape, otherwise false
-
-