java.lang.Object
javafx.scene.chart.Axis.TickMark<T>
TickMark represents the label text, its associated properties for each tick
along the Axis.
- Since:
- JavaFX 2.0
-
Property Summary
PropertiesTypePropertyDescriptionfinal StringExpressionThe display text for tick markfinal DoubleExpressionThe display position along the axis from axis origin in display unitsfinal ObjectExpression<T> The value for this tick mark in data units -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetLabel()Gets the value of thelabelproperty.final doubleGets the value of thepositionproperty.final TgetValue()Gets the value of thevalueproperty.final booleanIndicates whether this tick mark label text is displayed or not.final StringExpressionThe display text for tick markfinal DoubleExpressionThe display position along the axis from axis origin in display unitsfinal voidSets the value of thelabelproperty.final voidsetPosition(double value) Sets the value of thepositionproperty.final voidsetTextVisible(boolean value) Specifies whether this tick mark label text is displayed or not.final voidSets the value of thevalueproperty.toString()Returns a string representation of thisTickMarkobject.final ObjectExpression<T> The value for this tick mark in data units
-
Property Details
-
label
The display text for tick mark- See Also:
-
value
The value for this tick mark in data units- See Also:
-
position
The display position along the axis from axis origin in display units- See Also:
-
-
Constructor Details
-
TickMark
public TickMark()Creates and initializes an instance of TickMark.
-
-
Method Details
-
getLabel
Gets the value of thelabelproperty.- Property description:
- The display text for tick mark
- Returns:
- the value of the
labelproperty - See Also:
-
setLabel
Sets the value of thelabelproperty.- Property description:
- The display text for tick mark
- Parameters:
value- the value for thelabelproperty- See Also:
-
labelProperty
The display text for tick mark- Returns:
- the
labelproperty - See Also:
-
getValue
Gets the value of thevalueproperty.- Property description:
- The value for this tick mark in data units
- Returns:
- the value of the
valueproperty - See Also:
-
setValue
Sets the value of thevalueproperty.- Property description:
- The value for this tick mark in data units
- Parameters:
v- the value for thevalueproperty- See Also:
-
valueProperty
The value for this tick mark in data units- Returns:
- the
valueproperty - See Also:
-
getPosition
public final double getPosition()Gets the value of thepositionproperty.- Property description:
- The display position along the axis from axis origin in display units
- Returns:
- the value of the
positionproperty - See Also:
-
setPosition
public final void setPosition(double value) Sets the value of thepositionproperty.- Property description:
- The display position along the axis from axis origin in display units
- Parameters:
value- the value for thepositionproperty- See Also:
-
positionProperty
The display position along the axis from axis origin in display units- Returns:
- the
positionproperty - See Also:
-
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
Returns a string representation of thisTickMarkobject.
-