Accordion control.
Accordion
| Modifier and Type | Field and Description |
|---|---|
| private final BehaviorBase | |
| private Rectangle | |
| private TitledPane | |
| private TitledPane | |
| private boolean | |
| private Map | |
| private double | |
| private TitledPane | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | AccordionSkin(final Accordion
The control that this skin should be installed onto. control)Creates a new AccordionSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computeMinHeight(double
The width of the Skin, in case this value might dictate
the minimum height. width, double the pixel snapped top inset topInset, double the pixel snapped right inset rightInset, double the pixel snapped bottom inset bottomInset, double the pixel snapped left inset leftInset)Overrides javafx. Computes the minimum allowable height of the Skin, based on the provided width. |
| protected double | computePrefHeight(double
the width that should be used if preferred height depends on it width, double the pixel snapped top inset topInset, double the pixel snapped right inset rightInset, double the pixel snapped bottom inset bottomInset, double the pixel snapped left inset leftInset)Overrides javafx. Calculates the preferred height of this |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| private ChangeListener | |
| private void | |
| protected void | layoutChildren(final double
the x position x, double the y position y, final double the width w, final double the height h)Overrides javafx. Called during the layout pass of the scenegraph. |
| private void |
| behavior | back to summary |
|---|---|
| private final BehaviorBase<Accordion> behavior | |
| clipRect | back to summary |
|---|---|
| private Rectangle clipRect | |
| expandedPane | back to summary |
|---|---|
| private TitledPane expandedPane | |
| firstTitledPane | back to summary |
|---|---|
| private TitledPane firstTitledPane | |
| forceRelayout | back to summary |
|---|---|
| private boolean forceRelayout | |
| listeners | back to summary |
|---|---|
| private Map<TitledPane, ChangeListener<Boolean>> listeners | |
| previousHeight | back to summary |
|---|---|
| private double previousHeight | |
| previousPane | back to summary |
|---|---|
| private TitledPane previousPane | |
| relayout | back to summary |
|---|---|
| private boolean relayout | |
| AccordionSkin | back to summary |
|---|---|
| public AccordionSkin(final Accordion control) Creates a new AccordionSkin instance, installing the necessary child
nodes into the Control
| |
| computeMinHeight | back to summary |
|---|---|
| protected double computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable height of the Skin, based on the provided width.
| |
| computePrefHeight | back to summary |
|---|---|
| protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred height of this
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling
| |
| expandedPropertyListener | back to summary |
|---|---|
| private ChangeListener | |
| initTitledPaneListeners | back to summary |
|---|---|
| private void initTitledPaneListeners(List<? extends TitledPane> list) | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, double y, final double w, final double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| removeTitledPaneListeners | back to summary |
|---|---|
| private void removeTitledPaneListeners(List<? extends TitledPane> list) | |