T - the type of the Gantt chartpublic abstract class AbstractGanttChartInputMap<T extends AbstractGanttChart> extends ComponentInputMap
AbstractGanttChart. This input map defines which key strokes will
trigger which action. The input map is closely related to the
AbstractGanttChartActionMap and uses the action IDs defined in that
class. Example:
KeyStroke stroke = KeyStroke.getKeyStroke(KeyEvent.VK_G, mask); put(stroke, AbstractGanttChartActionMap.GRID_ACTION); stroke = KeyStroke.getKeyStroke(KeyEvent.VK_PLUS, 0); put(stroke, AbstractGanttChartActionMap.ZOOM_IN_ACTION); stroke = KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, 0); put(stroke, AbstractGanttChartActionMap.ZOOM_OUT_ACTION); ...
| Constructor and Description |
|---|
AbstractGanttChartInputMap(T gc)
Constructs a new input map.
|
clear, getComponent, put, remove, setParentpublic AbstractGanttChartInputMap(T gc)
gc - the Gantt chart for which to create an input mapCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.