Class Marker

java.lang.Object
eu.hansolo.medusa.Marker
All Implemented Interfaces:
Comparable<Marker>

public class Marker extends Object implements Comparable<Marker>
Created by hansolo on 11.12.15.
  • Property Details

  • Field Details

  • Constructor Details

    • Marker

      public Marker()
    • Marker

      public Marker(double VALUE, String TEXT)
    • Marker

      public Marker(double VALUE, javafx.scene.paint.Color COLOR)
    • Marker

      public Marker(double VALUE, Marker.MarkerType TYPE)
    • Marker

      public Marker(double VALUE, javafx.scene.paint.Color COLOR, Marker.MarkerType TYPE)
    • Marker

      public Marker(double VALUE, String TEXT, Marker.MarkerType TYPE)
    • Marker

      public Marker(double VALUE, String TEXT, javafx.scene.paint.Color COLOR)
    • Marker

      public Marker(double VALUE, String TEXT, javafx.scene.paint.Color COLOR, Marker.MarkerType TYPE)
    • Marker

      public Marker(double VALUE, String TEXT, javafx.scene.paint.Color COLOR, Marker.MarkerType TYPE, String STYLE_CLASS)
  • Method Details

    • getValue

      public double getValue()
      Returns the value that was defined for the marker.
      Returns:
      the value that was defined for the marker
    • setValue

      public void setValue(double VALUE)
      Defines the value for the marker
      Parameters:
      VALUE -
    • valueProperty

      public javafx.beans.property.DoubleProperty valueProperty()
      See Also:
    • getText

      public String getText()
      Returns the text that was defined for the marker. This text can be used as a description and will be used in tooltips.
      Returns:
      the text that was defined for the marker
    • setText

      public void setText(String TEXT)
      Defines a text for this marker. This text can be used as a description and will be used in tooltips.
      Parameters:
      TEXT -
    • textProperty

      public javafx.beans.property.StringProperty textProperty()
      See Also:
    • getColor

      public javafx.scene.paint.Color getColor()
      Returns the color that will be used to colorize the marker.
      Returns:
      the color that will be used to colorize the marker
    • setColor

      public void setColor(javafx.scene.paint.Color COLOR)
      Defines the color that will be used to colorize the marker.
      Parameters:
      COLOR -
    • colorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> colorProperty()
      See Also:
    • getMarkerType

      public Marker.MarkerType getMarkerType()
      Returns the shape that will be used to visualize the marker. The values are STANDARD, DOT, TRAPEZOID.
      Returns:
      the shape that will be used to visualize the marker
    • setMarkerType

      public void setMarkerType(Marker.MarkerType TYPE)
      Defines the shape that will be used to visualize the marker. The values are STANDARD, DOT, TRAPEZOID.
      Parameters:
      TYPE -
    • markerTypeProperty

      public javafx.beans.property.ObjectProperty<Marker.MarkerType> markerTypeProperty()
      See Also:
    • getStyleClass

      public String getStyleClass()
      Returns the style class that can be used to colorize the marker. This is not implemented in the current available skins.
      Returns:
      the style class that can be used to colorize the marker
    • setStyleClass

      public void setStyleClass(String STYLE_CLASS)
      Defines the style class that can be used to colorize the marker. This is not implemented in the current available marker.
      Parameters:
      STYLE_CLASS -
    • equals

      public boolean equals(Marker MARKER)
    • checkForValue

      public void checkForValue(double VALUE)
      Checks if a given value is smaller/bigger than the stored value. With those checks it can be detected if the current value exceeds or underruns the marker. In both cases an event will be fired.
      Parameters:
      VALUE -
    • compareTo

      public int compareTo(Marker MARKER)
      Specified by:
      compareTo in interface Comparable<Marker>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • onMarkerExceededProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onMarkerExceededProperty()
      See Also:
    • setOnMarkerExceeded

      public final void setOnMarkerExceeded(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onMarkerExceeded.
      Property description:
    • getOnMarkerExceeded

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnMarkerExceeded()
      Gets the value of the property onMarkerExceeded.
      Property description:
    • onMarkerUnderrunProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onMarkerUnderrunProperty()
      See Also:
    • setOnMarkerUnderrun

      public final void setOnMarkerUnderrun(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onMarkerUnderrun.
      Property description:
    • getOnMarkerUnderrun

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnMarkerUnderrun()
      Gets the value of the property onMarkerUnderrun.
      Property description:
    • onValueChangedProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onValueChangedProperty()
      See Also:
    • setOnValueChanged

      public final void setOnValueChanged(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onValueChanged.
      Property description:
    • getOnValueChanged

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnValueChanged()
      Gets the value of the property onValueChanged.
      Property description:
    • onColorChangedProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onColorChangedProperty()
      See Also:
    • setOnColorChanged

      public final void setOnColorChanged(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onColorChanged.
      Property description:
    • getOnColorChanged

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnColorChanged()
      Gets the value of the property onColorChanged.
      Property description:
    • onTextChangedProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onTextChangedProperty()
      See Also:
    • setOnTextChanged

      public final void setOnTextChanged(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onTextChanged.
      Property description:
    • getOnTextChanged

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnTextChanged()
      Gets the value of the property onTextChanged.
      Property description:
    • onTypeChangedProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onTypeChangedProperty()
      See Also:
    • setOnTypeChanged

      public final void setOnTypeChanged(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onTypeChanged.
      Property description:
    • getOnTypeChanged

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnTypeChanged()
      Gets the value of the property onTypeChanged.
      Property description:
    • onMarkerPressedProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onMarkerPressedProperty()
      See Also:
    • setOnMarkerPressed

      public final void setOnMarkerPressed(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onMarkerPressed.
      Property description:
    • getOnMarkerPressed

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnMarkerPressed()
      Gets the value of the property onMarkerPressed.
      Property description:
    • onMarkerReleasedProperty

      public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<Marker.MarkerEvent>> onMarkerReleasedProperty()
      See Also:
    • setOnMarkerReleased

      public final void setOnMarkerReleased(javafx.event.EventHandler<Marker.MarkerEvent> value)
      Sets the value of the property onMarkerReleased.
      Property description:
    • getOnMarkerReleased

      public final javafx.event.EventHandler<Marker.MarkerEvent> getOnMarkerReleased()
      Gets the value of the property onMarkerReleased.
      Property description:
    • fireMarkerEvent

      public void fireMarkerEvent(Marker.MarkerEvent EVENT)