Index

C E G I L M P S T V W 
All Classes and Interfaces|All Packages|Serialized Form

C

com.flowingcode.vaadin.addons.togglebutton - package com.flowingcode.vaadin.addons.togglebutton
 
CONTRAST - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Applies the contrast color to the checked state.

E

ERROR - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Applies the error color to the checked state.

G

getTooltip() - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
 
getVariantName() - Method in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
 

I

isReadOnly() - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
 

L

LARGE - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Renders the toggle at a larger size (56x32 px track).
LONGSWIPE - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Renders a wider switch track optimized for touch interaction.

M

MEDIUM - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Renders the toggle at the default medium size (44x24 px track).

P

PRIMARY - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Applies the primary color to the checked state.

S

setItemLabelGenerator(ItemLabelGenerator<Boolean>) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Sets a generator that provides labels for the checked (true) and unchecked (false) states.
setLeftIcon(Component) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Sets the icon displayed on the left side of the toggle switch.
setLeftLabel(String) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Sets the label displayed on the left side of the toggle switch.
setReadOnly(boolean) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
 
setRightIcon(Component) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Sets the icon displayed on the right side of the toggle switch.
setRightLabel(String) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Sets the label displayed on the right side of the toggle switch.
setTooltipText(String) - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
 
SMALL - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Renders the toggle at a smaller size (32x18 px track).
SUCCESS - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Applies the success color to the checked state.

T

ToggleButton - Class in com.flowingcode.vaadin.addons.togglebutton
A toggle button component built on Vaadin with support for customizable labels and icons.
ToggleButton() - Constructor for class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Creates a new toggle button with an initial value of false.
ToggleButton(boolean) - Constructor for class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Creates a new toggle button with the given initial value.
ToggleButton(String) - Constructor for class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Creates a new toggle button with the given label and an initial value of false.
ToggleButton(String, boolean) - Constructor for class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Creates a new toggle button with the given label and initial value.
ToggleButtonVariant - Enum Class in com.flowingcode.vaadin.addons.togglebutton
Theme variants for the ToggleButton component.

V

valueOf(String) - Static method in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Returns an array containing the constants of this enum class, in the order they are declared.

W

WARNING - Enum constant in enum class com.flowingcode.vaadin.addons.togglebutton.ToggleButtonVariant
Applies the warning color to the checked state.
withHighlightLabel() - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Enables label highlighting: the label on the active side is shown using the color of the active theme variant (PRIMARY, SUCCESS, WARNING, ERROR, or CONTRAST), falling back to the primary color when no color variant is set.
withIconsInside() - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Places icons adjacent to the switch and labels on the outer edges, producing the layout [left-label] [left-icon] [switch] [right-icon] [right-label].
withIconsOutside() - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Restores the default layout where icons are on the outer edges and labels are adjacent to the switch: [left-icon] [left-label] [switch] [right-label] [right-icon].
withoutHighlightLabel() - Method in class com.flowingcode.vaadin.addons.togglebutton.ToggleButton
Disables label highlighting so both labels are rendered with the same color regardless of the toggle state.
C E G I L M P S T V W 
All Classes and Interfaces|All Packages|Serialized Form