Java javafx.scene.control TitledPane fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.control TitledPane fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.control TitledPane.

The text is from its open source code.

Constructor

TitledPane(String title, Node content)
Creates a new TitledPane with a title and content.
TitledPane()
Creates a new TitledPane with no title or content.

Method

BooleanPropertyanimatedProperty()
The animated state of the TitledPane.
BooleanPropertycollapsibleProperty()
The collapsible state of the TitledPane.
ObjectPropertycontentProperty()
The content of the TitledPane.
BooleanPropertyexpandedProperty()
The expanded state of the TitledPane.
NodegetContent()
The content of the TitledPane.
booleanisAnimated()
Returns the animated state of the TitledPane.
booleanisCollapsible()
Returns the collapsible state of the TitlePane.
booleanisExpanded()
voidsetAnimated(boolean value)
Specifies how the TitledPane should open and close.
voidsetCollapsible(boolean value)
Specifies if the TitledPane can be collapsed.
voidsetContent(Node value)

The content of the TitlePane which can be any Node such as UI controls or groups of nodes added to a layout container.

voidsetDisable(boolean value)
voidsetExpanded(boolean value)
Sets the expanded state of the TitledPane.
voidsetGraphic(Node value)
voidsetOpacity(double value)
voidsetPrefWidth(double value)
voidsetText(String value)
voidsetTooltip(Tooltip value)