Class Axis.TickMark<T>

  • Enclosing class:
    Axis<T>

    public static final class Axis.TickMark<T>
    extends Object
    TickMark represents the label text, its associated properties for each tick along the Axis.
    Since:
    JavaFX 2.0
    • Constructor Detail

      • TickMark

        public TickMark()
        Creates and initializes an instance of TickMark.
    • Method Detail

      • getLabel

        public final String getLabel()
        Gets the value of the property label.
        Property description:
        The display text for tick mark
      • setLabel

        public final void setLabel​(String value)
        Sets the value of the property label.
        Property description:
        The display text for tick mark
      • getValue

        public final T getValue()
        Gets the value of the property value.
        Property description:
        The value for this tick mark in data units
      • setValue

        public final void setValue​(T v)
        Sets the value of the property value.
        Property description:
        The value for this tick mark in data units
      • getPosition

        public final double getPosition()
        Gets the value of the property position.
        Property description:
        The display position along the axis from axis origin in display units
      • setPosition

        public final void setPosition​(double value)
        Sets the value of the property position.
        Property description:
        The display position along the axis from axis origin in display units
      • isTextVisible

        public final boolean isTextVisible()
        Indicates whether this tick mark label text is displayed or not.
        Returns:
        true if tick mark label text is visible and false otherwise
      • setTextVisible

        public final void setTextVisible​(boolean value)
        Specifies whether this tick mark label text is displayed or not.
        Parameters:
        value - true if tick mark label text is visible and false otherwise
      • toString

        public String toString()
        Returns a string representation of this TickMark object.
        Overrides:
        toString in class Object
        Returns:
        a string representation of this TickMark object.