public class MultiSelectionEventHandler extends EventHandler
EventHandler.SelectionType
DELETE_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, setSelection
public void handleUpDown(java.awt.event.KeyEvent event)
handleUpDown
in class EventHandler
public void connect(PluginsGroupComponent container)
connect
in class EventHandler
public void addCell(ListPluginComponent component, int index)
addCell
in class EventHandler
public void addCell(ListPluginComponent component, ListPluginComponent anchor)
addCell
in class EventHandler
public void removeCell(ListPluginComponent component)
removeCell
in class EventHandler
public int getCellIndex(ListPluginComponent component)
getCellIndex
in class EventHandler
public void initialSelection(boolean scrollAndFocus)
initialSelection
in class EventHandler
public void setSelectionListener(java.util.function.Consumer<? super PluginsGroupComponent> listener)
setSelectionListener
in class EventHandler
public java.util.List<ListPluginComponent> getSelection()
getSelection
in class EventHandler
public void updateSelection()
updateSelection
in class EventHandler
public void clear()
clear
in class EventHandler
public void setSelection(ListPluginComponent component, boolean scrollAndFocus)
setSelection
in class EventHandler
public void setSelection(java.util.List<? extends ListPluginComponent> components)
setSelection
in class EventHandler
public void add(java.awt.Component component)
add
in class EventHandler
public void updateHover(ListPluginComponent component)
updateHover
in class EventHandler