Package com.install4j.api.styles
Interface ControlButton
-
public interface ControlButtonImplemented by form components that want to handle navigation functionality for a style.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfocusControlButton()Called when the control button is focused.ControlButtonTypegetControlButtonType()Called by the framework to check the type of the control button.voidsetControlButtonText(java.lang.String text)Called when the control button text is changed.
-
-
-
Method Detail
-
setControlButtonText
void setControlButtonText(java.lang.String text)
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 multipleControlButtonTypes, implementControlButtonContainerinstead.- 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).
-
-