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 thelabel
property.final double
Gets the value of theposition
property.final T
getValue()
Gets the value of thevalue
property.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 thelabel
property.final void
setPosition
(double value) Sets the value of theposition
property.final void
setTextVisible
(boolean value) Specifies whether this tick mark label text is displayed or not.final void
Sets the value of thevalue
property.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 thelabel
property.- Property description:
- The display text for tick mark
- Returns:
- the value of the
label
property - See Also:
-
setLabel
Sets the value of thelabel
property.- Property description:
- The display text for tick mark
- Parameters:
value
- the value for thelabel
property- See Also:
-
labelProperty
The display text for tick mark- Returns:
- the
label
property - See Also:
-
getValue
Gets the value of thevalue
property.- Property description:
- The value for this tick mark in data units
- Returns:
- the value of the
value
property - See Also:
-
setValue
Sets the value of thevalue
property.- Property description:
- The value for this tick mark in data units
- Parameters:
v
- the value for thevalue
property- See Also:
-
valueProperty
The value for this tick mark in data units- Returns:
- the
value
property - See Also:
-
getPosition
public final double getPosition()Gets the value of theposition
property.- Property description:
- The display position along the axis from axis origin in display units
- Returns:
- the value of the
position
property - See Also:
-
setPosition
public final void setPosition(double value) Sets the value of theposition
property.- Property description:
- The display position along the axis from axis origin in display units
- Parameters:
value
- the value for theposition
property- See Also:
-
positionProperty
The display position along the axis from axis origin in display units- Returns:
- the
position
property - 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.
-