Interface Overlay
-
- All Known Subinterfaces:
MarkerOverlay
,PathOverlay
,PointSetOverlay
public interface Overlay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete()
Delete this marker.java.awt.Color
getColor()
boolean
isVisible()
void
redraw()
Request a redraw of this overlay - This can start a full redraw of the inner drawing.void
setColor(java.awt.Color color)
Set the color of this overlay.void
setVisible(boolean visible)
Show or hide this marker - A marker should be visible when created.
-
-
-
Method Detail
-
setColor
void setColor(java.awt.Color color)
Set the color of this overlay.- Parameters:
color
- New color for the overlay.
-
getColor
java.awt.Color getColor()
- Returns:
- The current color of this overlay.
-
setVisible
void setVisible(boolean visible)
Show or hide this marker - A marker should be visible when created.- Parameters:
visible
- true to show the marker, false to hide.
-
isVisible
boolean isVisible()
- Returns:
- true if this overlay is visible.
-
delete
void delete()
Delete this marker.
-
redraw
void redraw()
Request a redraw of this overlay - This can start a full redraw of the inner drawing.
-
-