T - the type of the Gantt chartpublic class DualGanttChartActionMap<T extends DualGanttChart> extends AbstractGanttChartActionMap<T>
DualGanttChart (e.g.
the action used to split the view).| Modifier and Type | Field and Description |
|---|---|
static String |
FOCUS_NEXT_TABLE_ACTION
A constant used as the ID for an action that moves the focus to the first
visible table cell in the currently focused column of the next table.
|
static String |
FOCUS_PREVIOUS_TABLE_ACTION
A constant used as the ID for an action that moves the focus to the first
visible table cell in the currently focused column of the previous table.
|
static String |
SPLIT_GANTT_CHART_ACTION
A constant used as the ID for an action that splits / unsplits the Gantt
chart.
|
ADD_HIGHLIGHTED_OBJECTS_ACTION, CATEGORY_CHART, CATEGORY_OTHER, CATEGORY_TABLE, CATEGORY_TIMELINE, CLEAR_HIGHLIGHTED_OBJECTS_ACTION, DELETE_NODE_ACTION, DELETE_TIMELINE_OBJECTS_ACTION, GRID_ACTION, INDENT_NODES_ACTION, INSERT_NODE_ACTION, MOVE_FOCUS_ABOVE_ACTION, MOVE_FOCUS_BELOW_ACTION, MOVE_FOCUS_BOTTOM_ACTION, MOVE_FOCUS_HOME_ACTION, MOVE_FOCUS_NEXT_ACTION, MOVE_FOCUS_PAGE_DOWN_ACTION, MOVE_FOCUS_PAGE_UP_ACTION, MOVE_FOCUS_PREVIOUS_ACTION, OUTDENT_NODES_ACTION, REDO_ACTION, REMOVE_HIGHLIGHTED_OBJECTS_ACTION, SCROLL_TIMELINE_LEFT_ACTION, SCROLL_TIMELINE_LEFT_FAST_ACTION, SCROLL_TIMELINE_RIGHT_ACTION, SCROLL_TIMELINE_RIGHT_FAST_ACTION, SELECT_ROWS_DOWNWARD_ACTION, SELECT_ROWS_UPWARD_ACTION, TOGGLE_CROSSHAIR_ACTION, TOGGLE_EVENTLINE_ACTION, TOGGLE_NODE_ACTION, UNDO_ACTION, ZOOM_IN_ACTION, ZOOM_OUT_ACTION| Constructor and Description |
|---|
DualGanttChartActionMap(T gc)
Constructs a new action map.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initCategoryActionMap()
Fills the category/action map with mappings by invoking
AbstractGanttChartActionMap.addCategoryAction(String, String) for each action ID defined in
this class. |
addCategory, addCategoryAction, getCategories, getCategoryActions, removeCategory, removeCategoryActionpublic static final String SPLIT_GANTT_CHART_ACTION
SplitGanttChartAction.public static final String FOCUS_NEXT_TABLE_ACTION
MoveFocusAction in
combination with MoveFocusAction.Direction.NEXT_TABLE.public static final String FOCUS_PREVIOUS_TABLE_ACTION
MoveFocusAction in
combination with MoveFocusAction.Direction.PREVIOUS_TABLE.public DualGanttChartActionMap(T gc)
gc - the target Gantt chartprotected void initCategoryActionMap()
AbstractGanttChartActionMapAbstractGanttChartActionMap.addCategoryAction(String, String) for each action ID defined in
this class. Example:
// Layer container actions
addCategoryAction(CATEGORY_CHART, ADD_HIGHLIGHTED_OBJECTS_ACTION);
addCategoryAction(CATEGORY_CHART, REMOVE_HIGHLIGHTED_OBJECTS_ACTION);
addCategoryAction(CATEGORY_CHART, CLEAR_HIGHLIGHTED_OBJECTS_ACTION);
addCategoryAction(CATEGORY_CHART, DELETE_TIMELINE_OBJECTS_ACTION);
addCategoryAction(CATEGORY_CHART, TOGGLE_CROSSHAIR_ACTION);
addCategoryAction(CATEGORY_CHART, GRID_ACTION);
// Table actions
addCategoryAction(CATEGORY_TABLE, MOVE_FOCUS_ABOVE_ACTION);
addCategoryAction(CATEGORY_TABLE, MOVE_FOCUS_BELOW_ACTION);
...
initCategoryActionMap in class AbstractGanttChartActionMap<T extends DualGanttChart>Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.