Class 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()  
    • Field Detail

      • visible

        protected final javafx.beans.property.SimpleBooleanProperty visible
        visible property
    • Constructor Detail

      • MapElement

        public MapElement()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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()