Package com.install4j.api.styles
Interface ControlButton
public interface ControlButton
Implemented by form components that want to handle navigation functionality for a style.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the control button is focused.Called by the framework to check the type of the control button.void
setControlButtonText
(String text) Called when the control button text is changed.
-
Method Details
-
setControlButtonText
Called when the control button text is changed. This is called each time when a screen is activated, but it can also be triggered programatically by a call toWizardContext.setControlButtonText(ControlButtonType, String)
.- Parameters:
text
- the text for the button
-
getControlButtonType
ControlButtonType getControlButtonType()Called by the framework to check the type of the control button. If your form component can handle multipleControlButtonType
s, implementControlButtonContainer
instead.- Returns:
- the control button type
-
focusControlButton
void focusControlButton()Called when the control button is focused. This is triggered programatically by a call toWizardContext.focusControlButton(ControlButtonType)
.
-