public interface ControlButtonContainer
Style
instances implement this interface,
but a FormComponent
can also implement it. In that case, the interface methods are only called if the form
component is used in a style. If a form component only wants to handle a single control button type, it should
implement ControlButtonType
instead.Modifier and Type | Method and Description |
---|---|
void |
focusControlButton(ControlButtonType controlButtonType)
Called when a control button is focused.
|
void |
setControlButtonEnabled(ControlButtonType controlButtonType,
boolean enabled)
Called when the enabled state of a control button is changed.
|
void |
setControlButtonText(ControlButtonType controlButtonType,
java.lang.String text)
Called when a control button text is changed.
|
void |
setControlButtonVisible(ControlButtonType controlButtonType,
boolean visible)
Called when the visibility of a control button is changed.
|
void setControlButtonEnabled(ControlButtonType controlButtonType, boolean enabled)
WizardContext.setControlButtonEnabled(ControlButtonType, boolean)
.controlButtonType
- the control button typeenabled
- true
or false
void setControlButtonVisible(ControlButtonType controlButtonType, boolean visible)
WizardContext.setControlButtonVisible(ControlButtonType, boolean)
.controlButtonType
- the control button typevisible
- true
or false
void setControlButtonText(ControlButtonType controlButtonType, java.lang.String text)
WizardContext.setControlButtonText(ControlButtonType, String)
.controlButtonType
- the control button typetext
- the text for the buttonvoid focusControlButton(ControlButtonType controlButtonType)
WizardContext.focusControlButton(ControlButtonType)
.