Package org.apache.pivot.wtk
Interface ColorChooserButtonBindingListener
-
- All Known Implementing Classes:
ColorChooserButtonBindingListener.Adapter
,ColorChooserButtonBindingListener.Listeners
public interface ColorChooserButtonBindingListener
Color chooser button binding listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ColorChooserButtonBindingListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
ColorChooserButtonBindingListener.Listeners
Color chooser button binding listener listeners list.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
selectedColorBindMappingChanged(ColorChooserButton colorChooserButton, ColorChooser.SelectedColorBindMapping previousSelectedColorBindMapping)
Called when a color chooser button's selected color bind mapping has changed.default void
selectedColorBindTypeChanged(ColorChooserButton colorChooserButton, BindType previousSelectedColorBindType)
Called when a color chooser button's selected color bind type has changed.default void
selectedColorKeyChanged(ColorChooserButton colorChooserButton, java.lang.String previousSelectedColorKey)
Called when a color chooser button's selected color key has changed.
-
-
-
Method Detail
-
selectedColorKeyChanged
default void selectedColorKeyChanged(ColorChooserButton colorChooserButton, java.lang.String previousSelectedColorKey)
Called when a color chooser button's selected color key has changed.- Parameters:
colorChooserButton
- The color chooser button that has changed.previousSelectedColorKey
- The previous binding key for the selected color.
-
selectedColorBindTypeChanged
default void selectedColorBindTypeChanged(ColorChooserButton colorChooserButton, BindType previousSelectedColorBindType)
Called when a color chooser button's selected color bind type has changed.- Parameters:
colorChooserButton
- The color chooser button that has changed.previousSelectedColorBindType
- The previous bind type for the selected color.
-
selectedColorBindMappingChanged
default void selectedColorBindMappingChanged(ColorChooserButton colorChooserButton, ColorChooser.SelectedColorBindMapping previousSelectedColorBindMapping)
Called when a color chooser button's selected color bind mapping has changed.- Parameters:
colorChooserButton
- The color chooser button that has changed.previousSelectedColorBindMapping
- The previous bind mapping for the selected color.
-
-