Package com.sothawo.mapjfx
Class MapElement
- java.lang.Object
-
- com.sothawo.mapjfx.MapElement
-
- Direct Known Subclasses:
CoordinateLine
,MapCoordinateElement
public abstract class MapElement extends java.lang.Object
Common base class for elements that can exist on the map. The common functionality is the visibility on the map.- Author:
- P.J. Meisch ([email protected]).
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.beans.property.SimpleBooleanProperty
visible
visible property
-
Constructor Summary
Constructors Constructor Description MapElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getVisible()
MapElement
setVisible(boolean visible)
sets the visibilty of the markerjava.lang.String
toString()
javafx.beans.property.SimpleBooleanProperty
visibleProperty()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getVisible
public boolean getVisible()
-
setVisible
public MapElement setVisible(boolean visible)
sets the visibilty of the marker- Parameters:
visible
- visibilty- Returns:
- this object
-
visibleProperty
public javafx.beans.property.SimpleBooleanProperty visibleProperty()
-
-