public class ButtonSkin extends LabeledSkinBase<Button>
Button
control.Button
Modifier and Type | Field and Description |
---|---|
private <any> |
behavior |
private KeyCodeCombination |
cancelAcceleratorKeyCodeCombination |
(package private) java.lang.Runnable |
cancelButtonRunnable |
private KeyCodeCombination |
defaultAcceleratorKeyCodeCombination
*
Private fields *
*
|
(package private) java.lang.Runnable |
defaultButtonRunnable
*
Listeners *
*
|
ellipsisWidth, graphic, graphicPropertyChangedListener, invalidText, text, textWidth
Constructor and Description |
---|
ButtonSkin(Button control)
Creates a new ButtonSkin instance, installing the necessary child
nodes into the Control
children list, as
well as the necessary input mappings for handling key, mouse, etc events. |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
private void |
setCancelButton(boolean value) |
private void |
setDefaultButton(boolean value)
*
Private implementation *
*
|
bottomLabelPadding, computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, isIgnoreGraphic, isIgnoreText, layoutChildren, layoutLabelInArea, layoutLabelInArea, leftLabelPadding, mnemonicTargetChanged, queryAccessibleAttribute, rightLabelPadding, topLabelPadding, updateChildren, updateDisplayedText
private KeyCodeCombination defaultAcceleratorKeyCodeCombination
private KeyCodeCombination cancelAcceleratorKeyCodeCombination
private final <any> behavior
java.lang.Runnable defaultButtonRunnable
java.lang.Runnable cancelButtonRunnable
public ButtonSkin(Button control)
children
list, as
well as the necessary input mappings for handling key, mouse, etc events.control
- The control that this skin should be installed onto.