java.lang.Object
javafx.scene.chart.Axis.TickMark<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
- 
Property SummaryProperties Type Property Description StringExpressionlabelThe display text for tick markDoubleExpressionpositionThe display position along the axis from axis origin in display unitsObjectExpression<T>valueThe value for this tick mark in data units
- 
Constructor SummaryConstructors Constructor Description TickMark()Creates and initializes an instance of TickMark.
- 
Method SummaryModifier and Type Method Description StringgetLabel()Gets the value of the property label.doublegetPosition()Gets the value of the property position.TgetValue()Gets the value of the property value.booleanisTextVisible()Indicates whether this tick mark label text is displayed or not.StringExpressionlabelProperty()The display text for tick markDoubleExpressionpositionProperty()The display position along the axis from axis origin in display unitsvoidsetLabel(String value)Sets the value of the property label.voidsetPosition(double value)Sets the value of the property position.voidsetTextVisible(boolean value)Specifies whether this tick mark label text is displayed or not.voidsetValue(T v)Sets the value of the property value.StringtoString()Returns a string representation of thisTickMarkobject.ObjectExpression<T>valueProperty()The value for this tick mark in data units
- 
Property Details- 
labelThe display text for tick mark- See Also:
- getLabel(),- setLabel(String)
 
- 
valueThe value for this tick mark in data units- See Also:
- getValue(),- setValue(T)
 
- 
positionThe display position along the axis from axis origin in display units- See Also:
- getPosition(),- setPosition(double)
 
 
- 
- 
Constructor Details- 
TickMarkpublic TickMark()Creates and initializes an instance of TickMark.
 
- 
- 
Method Details- 
getLabelGets the value of the property label.- Property description:
- The display text for tick mark
 
- 
setLabelSets the value of the property label.- Property description:
- The display text for tick mark
 
- 
labelPropertyThe display text for tick mark- See Also:
- getLabel(),- setLabel(String)
 
- 
getValueGets the value of the property value.- Property description:
- The value for this tick mark in data units
 
- 
setValueSets the value of the property value.- Property description:
- The value for this tick mark in data units
 
- 
valuePropertyThe value for this tick mark in data units- See Also:
- getValue(),- setValue(T)
 
- 
getPositionpublic final double getPosition()Gets the value of the property position.- Property description:
- The display position along the axis from axis origin in display units
 
- 
setPositionpublic 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
 
- 
positionPropertyThe display position along the axis from axis origin in display units- See Also:
- getPosition(),- setPosition(double)
 
- 
isTextVisiblepublic 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
 
- 
setTextVisiblepublic 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
 
- 
toStringReturns a string representation of thisTickMarkobject.
 
-