Uses of Class
com.jbstrap.ui.components.form.items.SwitchItem
-
Uses of SwitchItem in com.jbstrap.ui.components.form.items
Modifier and TypeMethodDescriptionSwitchItem.addStyleClass
(String styleClass) Adds the specified CSS class to the componentSwitchItem.addStyleClasses
(String... styleClasses) Adds the specified style classes to the componentSwitchItem.removeAllStyleClasses()
Removes every specified style class from the componentSwitchItem.removeStyleClass
(String styleClass) Removes the specified style class from the componentSwitchItem.setDefaultValue
(Object defaultValue) Sets the default value of the switch.SwitchItem.setObjectValue
(Object value) SwitchItem.setOffText
(String offText) Sets the text that is displayed when the switch is in the OFF state.Sets the text that is displayed when the switch is in the ON state.SwitchItem.setOriginalObjectValue
(Object value) SwitchItem.setOriginalValue
(Boolean originalValue) Sets the original value of the switch.SwitchItem.setReadOnly
(boolean readOnly) SwitchItem.setReverseShow
(boolean reverse) SwitchItem.setRounded
(boolean rounded) Sets the switch to have rounded edges.SwitchItem.setState
(FormItemState formItemState) Sets the state of the switch.Sets the text that is displayed when the switch is in the ON and OFF state.Sets the switch value.Sets the width of the switch.