< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/TitledPane.java

Print this page

        

*** 169,178 **** --- 169,179 ---- }; /** * Sets the expanded state of the TitledPane. The default is {@code true}. * + * @param value a flag indicating the expanded state */ public final void setExpanded(boolean value) { expandedProperty().set(value); } /* * Returns the expanded state of the TitledPane.
*** 181,190 **** --- 182,192 ---- */ public final boolean isExpanded() { return expanded.get(); } /** * The expanded state of the TitledPane. + * @return the expanded state property */ public final BooleanProperty expandedProperty() { return expanded; } // --- Animated
*** 209,218 **** --- 211,221 ---- /** * Specifies how the TitledPane should open and close. The panel will be * animated out when this value is set to {@code true}. The default is {@code true}. * + * @param value if flag indicating the animated state */ public final void setAnimated(boolean value) { animatedProperty().set(value); } /** * Returns the animated state of the TitledPane.
*** 221,230 **** --- 224,234 ---- */ public final boolean isAnimated() { return animated.get(); } /** * The animated state of the TitledPane. + * @return the animated state property */ public final BooleanProperty animatedProperty() { return animated; } // --- Collapsible
*** 248,257 **** --- 252,262 ---- }; /** * Specifies if the TitledPane can be collapsed. The default is {@code true}. * + * @param value a flag indicating the collapsible state */ public final void setCollapsible(boolean value) { collapsibleProperty().set(value); } /** * Returns the collapsible state of the TitlePane.
*** 260,269 **** --- 265,275 ---- */ public final boolean isCollapsible() { return collapsible.get(); } /** * The collapsible state of the TitledPane. + * @return the collapsible property */ public final BooleanProperty collapsibleProperty() { return collapsible; } /*************************************************************************** * *
< prev index next >