< prev index next >
modules/javafx.controls/src/main/java/javafx/scene/chart/Chart.java
Print this page
*** 126,136 ****
public final void setTitle(String value) { title.set(value); }
public final StringProperty titleProperty() { return title; }
/**
* The side of the chart where the title is displayed
! * @default Side.TOP
*/
private ObjectProperty<Side> titleSide = new StyleableObjectProperty<Side>(Side.TOP) {
@Override protected void invalidated() {
requestLayout();
}
--- 126,136 ----
public final void setTitle(String value) { title.set(value); }
public final StringProperty titleProperty() { return title; }
/**
* The side of the chart where the title is displayed
! * @defaultValue Side.TOP
*/
private ObjectProperty<Side> titleSide = new StyleableObjectProperty<Side>(Side.TOP) {
@Override protected void invalidated() {
requestLayout();
}
*** 307,316 ****
--- 307,317 ----
}
/**
* This is used to check if any given animation should run. It returns true if animation is enabled and the node
* is visible and in a scene.
+ * @return true if animation is enabled and the node is visible and in a scene
*/
protected final boolean shouldAnimate(){
return getAnimated() && NodeHelper.isTreeShowing(this);
}
< prev index next >