Interface ToggleablePluginItem<C extends BaseContext>
- All Known Subinterfaces:
ToggleableToolbarItem
public interface ToggleablePluginItem<C extends BaseContext>
Definition of an item providing a toggleable state.
- Since:
- 5.0.204
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceListener to inform about selection change events. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSelected(C context, boolean selected) Sets the selection mode of this item.voidsetSelectionListener(ToggleablePluginItem.SelectionListener selectionListener) Passes a selection change listener to this plugin item.
-
Method Details
-
setSelectionListener
Passes a selection change listener to this plugin item. Use given listener to inform about selection changes different to selected state passed insetSelected(BaseContext, boolean)- Since:
- 5.0.204
-
setSelected
Sets the selection mode of this item.- Parameters:
context- The context operating in.selected-true, if selected.- Since:
- 5.0.204
-