Directory

Toggle Button Group - Vaadin Add-on Directory

Toggle-Button-Group for Vaadin 23.3+ and Java 17+ Toggle Button Group - Vaadin Add-on Directory
This component provides a group of toggleable buttons for single selection among the provided generic objects. It has API for: - Enabling/Disabling the whole component - Making it read-only (default: editable) - Changing buttons to be not toggleable (default: toggleable) - Setting the Horizontal or Vertical orientation (default: Horizontal) - Setting any generic objects as items - Setting label and tooltip for the component - Support for adding value change listeners And customizing the buttons in a functional way by: - Providing item enabled provider - Providing item label generator - Providing selected item styling class generator - Providing item icon generator - Providing item tooltip generator - Providing item custom identity provider - Providing item custom order provider for presentation (preserves the order of the original items as well) This component follows the Lumo themeing styles, so any customizations to the theme will conveniently affect this component as well.
View on GitHub
Author Homepage

Toggle Button Group version 1.0.0

Toggle Button Group version 1.0.1
* setEnabled method is fixed to support both orientations. * Integration Tests added.

Toggle Button Group version 2.0.0
Release to support Vaadin 24

Toggle Button Group version 2.0.1
- Upgrade to vaadin 24.2.0 - Prevent NPE when oldSelected is null #6 Special thanks to @simasch for the bug fix contribution.