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
TypePropertyDescriptionfinal StringExpression
The display text for tick markfinal DoubleExpression
The display position along the axis from axis origin in display unitsfinal ObjectExpression<T>
The value for this tick mark in data units -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
getLabel()
Gets the value of the property label.final double
Gets the value of the property position.final T
getValue()
Gets the value of the property value.final boolean
Indicates whether this tick mark label text is displayed or not.final StringExpression
The display text for tick markfinal DoubleExpression
The display position along the axis from axis origin in display unitsfinal void
Sets the value of the property label.final void
setPosition
(double value) Sets the value of the property position.final void
setTextVisible
(boolean value) Specifies whether this tick mark label text is displayed or not.final void
Sets the value of the property value.toString()
Returns a string representation of thisTickMark
object.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 the property label.- Property description:
- The display text for tick mark
-
setLabel
Sets the value of the property label.- Property description:
- The display text for tick mark
-
labelProperty
The display text for tick mark- See Also:
-
getValue
Gets the value of the property value.- Property description:
- The value for this tick mark in data units
-
setValue
Sets the value of the property value.- Property description:
- The value for this tick mark in data units
-
valueProperty
The value for this tick mark in data units- See Also:
-
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
-
positionProperty
The display position along the axis from axis origin in display units- 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 thisTickMark
object.
-