Button control.
Button
| Modifier and Type | Field and Description |
|---|---|
| private final BehaviorBase | |
| private KeyCodeCombination | |
| pack-priv Runnable | |
| private KeyCodeCombination | |
| pack-priv Runnable | |
| pack-priv ChangeListener | |
| pack-priv WeakChangeListener |
| Access | Constructor and Description |
|---|---|
| public | ButtonSkin(Button
The control that this skin should be installed onto. control)Creates a new ButtonSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| private void | |
| private void | |
| private void | |
| private void |
| behavior | back to summary |
|---|---|
| private final BehaviorBase<Button> behavior | |
| cancelAcceleratorKeyCodeCombination | back to summary |
|---|---|
| private KeyCodeCombination cancelAcceleratorKeyCodeCombination | |
| cancelButtonRunnable | back to summary |
|---|---|
| pack-priv Runnable cancelButtonRunnable | |
| defaultAcceleratorKeyCodeCombination | back to summary |
|---|---|
| private KeyCodeCombination defaultAcceleratorKeyCodeCombination | |
| defaultButtonRunnable | back to summary |
|---|---|
| pack-priv Runnable defaultButtonRunnable | |
| sceneChangeListener | back to summary |
|---|---|
| pack-priv ChangeListener<Scene> sceneChangeListener | |
| weakSceneChangeListener | back to summary |
|---|---|
| pack-priv WeakChangeListener<Scene> weakSceneChangeListener | |
| ButtonSkin | back to summary |
|---|---|
| public ButtonSkin(Button control) Creates a new ButtonSkin instance, installing the necessary child
nodes into the Control
| |
| 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
| |
| setCancelButton | back to summary |
|---|---|
| private void setCancelButton(boolean isCancel) | |
| setCancelButton | back to summary |
|---|---|
| private void setCancelButton(Scene scene, boolean isCancel) | |
| setDefaultButton | back to summary |
|---|---|
| private void setDefaultButton(boolean isDefault) | |
| setDefaultButton | back to summary |
|---|---|
| private void setDefaultButton(Scene scene, boolean isDefault) | |