public class MultiSelectionEventHandler extends EventHandler
EventHandler.SelectionTypeDELETE_CODE| Constructor and Description |
|---|
MultiSelectionEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.awt.Component component) |
void |
addCell(ListPluginComponent component,
int index) |
void |
addCell(ListPluginComponent component,
ListPluginComponent anchor) |
void |
clear() |
void |
connect(PluginsGroupComponent container) |
int |
getCellIndex(ListPluginComponent component) |
java.util.List<ListPluginComponent> |
getSelection() |
void |
handleUpDown(java.awt.event.KeyEvent event) |
void |
initialSelection(boolean scrollAndFocus) |
void |
removeCell(ListPluginComponent component) |
void |
setSelection(java.util.List<? extends ListPluginComponent> components) |
void |
setSelection(ListPluginComponent component,
boolean scrollAndFocus) |
void |
setSelectionListener(java.util.function.Consumer<? super PluginsGroupComponent> listener) |
void |
updateHover(ListPluginComponent component) |
void |
updateSelection() |
addAll, addGlobalAction, check, get, getShortcuts, setSelectionpublic void handleUpDown(java.awt.event.KeyEvent event)
handleUpDown in class EventHandlerpublic void connect(PluginsGroupComponent container)
connect in class EventHandlerpublic void addCell(ListPluginComponent component, int index)
addCell in class EventHandlerpublic void addCell(ListPluginComponent component, ListPluginComponent anchor)
addCell in class EventHandlerpublic void removeCell(ListPluginComponent component)
removeCell in class EventHandlerpublic int getCellIndex(ListPluginComponent component)
getCellIndex in class EventHandlerpublic void initialSelection(boolean scrollAndFocus)
initialSelection in class EventHandlerpublic void setSelectionListener(java.util.function.Consumer<? super PluginsGroupComponent> listener)
setSelectionListener in class EventHandlerpublic java.util.List<ListPluginComponent> getSelection()
getSelection in class EventHandlerpublic void updateSelection()
updateSelection in class EventHandlerpublic void clear()
clear in class EventHandlerpublic void setSelection(ListPluginComponent component, boolean scrollAndFocus)
setSelection in class EventHandlerpublic void setSelection(java.util.List<? extends ListPluginComponent> components)
setSelection in class EventHandlerpublic void add(java.awt.Component component)
add in class EventHandlerpublic void updateHover(ListPluginComponent component)
updateHover in class EventHandler