Modifier and Type | Field and Description |
---|---|
private StringProperty |
label
The display text for tick mark
|
private DoubleProperty |
position
The display position along the axis from axis origin in display units
|
(package private) Text |
textNode |
private BooleanProperty |
textVisible
true if tick mark labels should be displayed
|
private ObjectProperty<T> |
value
The value for this tick mark in data units
|
Constructor and Description |
---|
TickMark()
Creates and initializes an instance of TickMark.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
double |
getPosition() |
T |
getValue() |
boolean |
isTextVisible()
Indicates whether this tick mark label text is displayed or not.
|
StringExpression |
labelProperty() |
DoubleExpression |
positionProperty() |
void |
setLabel(java.lang.String value) |
void |
setPosition(double value) |
void |
setTextVisible(boolean value)
Specifies whether this tick mark label text is displayed or not.
|
void |
setValue(T v) |
java.lang.String |
toString()
Returns a string representation of this
TickMark object. |
ObjectExpression<T> |
valueProperty() |
private StringProperty label
private ObjectProperty<T> value
private DoubleProperty position
Text textNode
private BooleanProperty textVisible
public final java.lang.String getLabel()
public final void setLabel(java.lang.String value)
public final StringExpression labelProperty()
public final T getValue()
public final void setValue(T v)
public final ObjectExpression<T> valueProperty()
public final double getPosition()
public final void setPosition(double value)
public final DoubleExpression positionProperty()
public final boolean isTextVisible()
public final void setTextVisible(boolean value)
value
- true if tick mark label text is visible and false otherwisepublic java.lang.String toString()
TickMark
object.toString
in class java.lang.Object
TickMark
object.