| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final StackPane | |
| pack-priv final StackPane | |
| pack-priv boolean | behaveLikeButton
If true, the control should behave like a button for mouse button events. |
| pack-priv final LabeledImpl | |
| pack-priv ContextMenu | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | MenuButtonSkinBase(final C
The control that this skin should be installed onto. control)Creates a new instance of MenuButtonSkinBase, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses. |
| Modifier and Type | Method and Description |
|---|---|
| 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 |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| pack-priv MenuButtonBehaviorBase | |
| private void | |
| protected void | layoutChildren(final double x, final double y, final double w, final double h)
Overrides javafx. Called during the layout pass of the scenegraph. |
| pack-priv void | |
| private void | |
| pack-priv void | |
| private void |
| arrow | back to summary |
|---|---|
| pack-priv final StackPane arrow | |
| arrowButton | back to summary |
|---|---|
| pack-priv final StackPane arrowButton | |
| behaveLikeButton | back to summary |
|---|---|
| pack-priv boolean behaveLikeButton If true, the control should behave like a button for mouse button events. | |
| label | back to summary |
|---|---|
| pack-priv final LabeledImpl label | |
| popup | back to summary |
|---|---|
| pack-priv ContextMenu popup | |
| requestFocusOnFirstMenuItem | back to summary |
|---|---|
| pack-priv boolean requestFocusOnFirstMenuItem | |
| MenuButtonSkinBase | back to summary |
|---|---|
| public MenuButtonSkinBase(final C control) Creates a new instance of MenuButtonSkinBase, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.
| |
| 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
| |
| 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
| |
| getBehavior | back to summary |
|---|---|
| pack-priv MenuButtonBehaviorBase | |
| hide | back to summary |
|---|---|
| private void hide() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren(final double x, final double y, final double w, final double h) Overrides javafx. Doc from javafx. Called during the layout pass of the scenegraph.
| |
| putFocusOnFirstMenuItem | back to summary |
|---|---|
| pack-priv void putFocusOnFirstMenuItem() | |
| removeMnemonicsFromScene | back to summary |
|---|---|
| private void removeMnemonicsFromScene(List<Mnemonic> mnemonics, Scene scene) | |
| requestFocusOnFirstMenuItem | back to summary |
|---|---|
| pack-priv void requestFocusOnFirstMenuItem() | |
| show | back to summary |
|---|---|
| private void show() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv MenuButton |
| Access | Constructor and Description |
|---|---|
| public |
| button | back to summary |
|---|---|
| pack-priv MenuButton button | |
| MenuLabeledImpl | back to summary |
|---|---|
| public MenuLabeledImpl(MenuButton b) | |