public abstract class EventHandler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EventHandler.SelectionType |
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_CODE |
Constructor and Description |
---|
EventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.awt.Component component) |
void |
addAll(java.awt.Component component) |
void |
addCell(ListPluginComponent component,
int index) |
void |
addCell(ListPluginComponent component,
ListPluginComponent anchor) |
static java.lang.Runnable |
addGlobalAction(javax.swing.JComponent component,
java.lang.Object actionInfo,
java.lang.Runnable callback) |
static boolean |
check(KeyboardShortcut shortcut,
ShortcutSet set) |
void |
clear() |
void |
connect(PluginsGroupComponent container) |
protected static ListPluginComponent |
get(java.awt.event.ComponentEvent event) |
int |
getCellIndex(ListPluginComponent component) |
java.util.List<ListPluginComponent> |
getSelection() |
static ShortcutSet |
getShortcuts(java.lang.String id) |
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) |
void |
setSelection(ListPluginComponent component,
boolean scrollAndFocus) |
void |
setSelectionListener(java.util.function.Consumer<? super PluginsGroupComponent> listener) |
void |
updateHover(ListPluginComponent component) |
void |
updateSelection() |
public void connect(PluginsGroupComponent container)
public void addCell(ListPluginComponent component, int index)
public void addCell(ListPluginComponent component, ListPluginComponent anchor)
public void removeCell(ListPluginComponent component)
public int getCellIndex(ListPluginComponent component)
public void add(java.awt.Component component)
public void addAll(java.awt.Component component)
public void updateHover(ListPluginComponent component)
public void initialSelection(boolean scrollAndFocus)
public java.util.List<ListPluginComponent> getSelection()
public void setSelection(ListPluginComponent component)
public void setSelection(ListPluginComponent component, boolean scrollAndFocus)
public void setSelection(java.util.List<? extends ListPluginComponent> components)
public void updateSelection()
public void clear()
public void setSelectionListener(java.util.function.Consumer<? super PluginsGroupComponent> listener)
public void handleUpDown(java.awt.event.KeyEvent event)
public static ShortcutSet getShortcuts(java.lang.String id)
public static boolean check(KeyboardShortcut shortcut, ShortcutSet set)
protected static ListPluginComponent get(java.awt.event.ComponentEvent event)
public static java.lang.Runnable addGlobalAction(javax.swing.JComponent component, java.lang.Object actionInfo, java.lang.Runnable callback)