| Modifier and Type | Class and Description |
|---|---|
| private class | SelectionBoxSkin.
Custom popup control to show the items in a popup. |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final Region | |
| private final StackPane | |
| private final SelectionBox | |
| private final Label | |
| private static final PseudoClass | |
| private static final PseudoClass | |
| private final SelectionBoxSkin | |
| private static final PseudoClass | |
| private final ChangeListener | |
| private final ChangeListener | |
| private final ListChangeListener | |
| private static final String | |
| private static final PseudoClass | |
| private static final PseudoClass | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private double | |
| protected double | computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the maximum allowable height of the Skin, based on the provided width. |
| protected double | computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the maximum allowable width of the Skin, based on the provided height. |
| protected double | computeMinHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable height of the Skin, based on the provided width. |
| protected double | computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable width of the Skin, based on the provided height. |
| protected double | computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred height of this |
| protected double | computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Calculates the preferred width of this |
| private String | |
| private String | |
| private void | |
| public void | |
| protected void | layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
Overrides javafx. Called during the layout pass of the scenegraph. |
| public void | |
| public void | |
| private void | |
| private void | |
| private void |
| arrow | back to summary |
|---|---|
| private final Region arrow | |
| arrowButton | back to summary |
|---|---|
| private final StackPane arrowButton | |
| control | back to summary |
|---|---|
| private final SelectionBox<T> control | |
| displayLabel | back to summary |
|---|---|
| private final Label displayLabel | |
| EMPTY_SELECTION_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass EMPTY_SELECTION_PSEUDO_CLASS | |
| MULTIPLE_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass MULTIPLE_PSEUDO_CLASS | |
| popup | back to summary |
|---|---|
| private final SelectionBoxSkin<T>. | |
| READ_ONLY_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass READ_ONLY_PSEUDO_CLASS | |
| selectionModeChangeListener | back to summary |
|---|---|
| private final ChangeListener<SelectionMode> selectionModeChangeListener | |
| selectItemChangedListener | back to summary |
|---|---|
| private final ChangeListener<T> selectItemChangedListener | |
| selectItemsChangeListener | back to summary |
|---|---|
| private final ListChangeListener<T> selectItemsChangeListener | |
| SHOW_POPUP_PROPERTY | back to summary |
|---|---|
| private static final String SHOW_POPUP_PROPERTY | |
| SHOWING_POPUP_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass SHOWING_POPUP_PSEUDO_CLASS | |
| SINGLE_PSEUDO_CLASS | back to summary |
|---|---|
| private static final PseudoClass SINGLE_PSEUDO_CLASS | |
| UPDATE_POPUP_CONTENT | back to summary |
|---|---|
| private static final String UPDATE_POPUP_CONTENT | |
| UPDATE_SELECTION_IN_POPUP | back to summary |
|---|---|
| private static final String UPDATE_SELECTION_IN_POPUP | |
| SelectionBoxSkin | back to summary |
|---|---|
| public SelectionBoxSkin(SelectionBox<T> control) | |
| addListenerToControl | back to summary |
|---|---|
| private void addListenerToControl() | |
| computeBestWidth | back to summary |
|---|---|
| private double computeBestWidth(double displayLabelWidth, double leftInset, double rightInset) | |
| computeMaxHeight | back to summary |
|---|---|
| protected double computeMaxHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the maximum allowable height of the Skin, based on the provided width.
| |
| computeMaxWidth | back to summary |
|---|---|
| protected double computeMaxWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the maximum allowable width of the Skin, based on the provided height.
| |
| 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.
| |
| computeMinWidth | back to summary |
|---|---|
| protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable width of the Skin, based on the provided height.
| |
| 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
| |
| computePrefWidth | back to summary |
|---|---|
| protected double computePrefWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Calculates the preferred width of this
| |
| convertItemToText | back to summary |
|---|---|
| private String convertItemToText(T item) | |
| getDefaultDisplayText | back to summary |
|---|---|
| private String getDefaultDisplayText(List<T> selectedItems) | |
| handleSelectionChange | back to summary |
|---|---|
| private void handleSelectionChange() | |
| hidePopup | back to summary |
|---|---|
| public void hidePopup() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| showPopup | back to summary |
|---|---|
| public void showPopup() | |
| updateDisplayLabelText | back to summary |
|---|---|
| public void updateDisplayLabelText() | |
| updateEmptyPseudoClass | back to summary |
|---|---|
| private void updateEmptyPseudoClass() | |
| updateModePseudoClass | back to summary |
|---|---|
| private void updateModePseudoClass() | |
| updatePseudoAndPopupContent | back to summary |
|---|---|
| private void updatePseudoAndPopupContent() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Duration | |
| private static final String | |
| private Transition | |
| private final SelectionBox | |
| private Transition |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| private Transition | |
| private Transition | |
| private Transition | |
| public final SelectionBox | |
| private Transition | |
| public void | |
| public final void | |
| public final boolean | |
| public void | |
| public final void |
| ANIM_DURATION | back to summary |
|---|---|
| private static final Duration ANIM_DURATION | |
| DEFAULT_STYLE_CLASS | back to summary |
|---|---|
| private static final String DEFAULT_STYLE_CLASS | |
| hideTransition | back to summary |
|---|---|
| private Transition hideTransition | |
| owner | back to summary |
|---|---|
| private final SelectionBox<T> owner | |
| showTransition | back to summary |
|---|---|
| private Transition showTransition | |
| SelectionPopup | back to summary |
|---|---|
| public SelectionPopup(SelectionBox<T> owner) | |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| createHideTransition | back to summary |
|---|---|
| private Transition createHideTransition() | |
| createShowTransition | back to summary |
|---|---|
| private Transition createShowTransition() | |
| getHideTransition | back to summary |
|---|---|
| private Transition getHideTransition() | |
| getOwner | back to summary |
|---|---|
| public final SelectionBox | |
| getShowTransition | back to summary |
|---|---|
| private Transition getShowTransition() | |
| hide | back to summary |
|---|---|
| public void hide() Overrides javafx. Doc from javafx. Hide this Popup and all its children
| |
| initializePopupContent | back to summary |
|---|---|
| public final void initializePopupContent() | |
| isUpdating | back to summary |
|---|---|
| public final boolean isUpdating() | |
| show | back to summary |
|---|---|
| public void show(Node node) | |
| updateSelectionInPopup | back to summary |
|---|---|
| public final void updateSelectionInPopup() | |
| Modifier and Type | Field and Description |
|---|---|
| private final BorderPane | |
| private final Map | |
| private final VBox | |
| private final SelectionBoxSkin | |
| private final ScrollPane | |
| private final ReadOnlyBooleanWrapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private CheckBox | |
| private RadioButton | |
| public void | dispose()
Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| public Node | |
| public SelectionBoxSkin | getSkinnable()
Implements javafx. Gets the Skinnable to which this Skin is assigned. |
| public final boolean | |
| private void | |
| private void | |
| public final ReadOnlyBooleanProperty |
| contentPane | back to summary |
|---|---|
| private final BorderPane contentPane | |
| itemButtonProperties | back to summary |
|---|---|
| private final Map<Integer, BooleanProperty> itemButtonProperties | |
| optionsBox | back to summary |
|---|---|
| private final VBox optionsBox | |
| popup | back to summary |
|---|---|
| private final SelectionBoxSkin<T>. | |
| scrollPane | back to summary |
|---|---|
| private final ScrollPane scrollPane | |
| updating | back to summary |
|---|---|
| private final ReadOnlyBooleanWrapper updating | |
| SelectionPopupSkin | back to summary |
|---|---|
| public SelectionPopupSkin(SelectionBoxSkin<T>. | |
| createCheckBoxItem | back to summary |
|---|---|
| private CheckBox createCheckBoxItem(T item, int index) | |
| createRadioButtonItem | back to summary |
|---|---|
| private RadioButton createRadioButtonItem(T item, ToggleGroup toggleGroup, int index) | |
| dispose | back to summary |
|---|---|
| public void dispose() 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
| |
| getNode | back to summary |
|---|---|
| public Node getNode() Implements javafx. Doc from javafx. Gets the Node which represents this Skin. This must never be null, except
after a call to
| |
| getSkinnable | back to summary |
|---|---|
| public SelectionBoxSkin Implements javafx. Doc from javafx. Gets the Skinnable to which this Skin is assigned. A Skin must be created
for one and only one Skinnable. This value will only ever go from a
non-null to null value when the Skin is removed from the Skinnable, and
only as a consequence of a call to The caller who constructs a Skinnable must also construct a Skin and properly establish the relationship between the Control and its Skin.
| |
| isUpdating | back to summary |
|---|---|
| public final boolean isUpdating() | |
| updatePopupContent | back to summary |
|---|---|
| private void updatePopupContent() | |
| updateSelectionInPopup | back to summary |
|---|---|
| private void updateSelectionInPopup() | |
| updatingProperty | back to summary |
|---|---|
| public final ReadOnlyBooleanProperty updatingProperty() | |