Selectors
Selectors are small windows that can be brought up by clicking on small control buttons located around the Gantt chart. They have their own distinct look & feel and allow the user to perform selections. Selectors are animated and "slide into" view when the user clicks on the button to which they are connected (animation only available when using Java 6 or higher). The animation can be controlled via static methods on the Selector class.
The following is a list of the selectors found in the FlexGantt framework.
ActionSelector - presents a list of the currently defined key stroke / action bindings in the Gantt chart. The user can trigger an action by pressing the key stroke or by double clicking on an entry in the selector.
BookmarksSelector - displays the currently
defined bookmarks of the bookmark model. The user can
select one of the bookmarks to make the Gantt chart jump to
the time point and granularity defined by the bookmark.
ColumnChooserSelector - used to show /
hide columns of the tree table. The selector displays two
lists. The first one contains the columns that are
"available", the second one shows the columns that are
"visible". Columns can be moved from one list to the other
by the user.
GranularitySelector - displays the various
time granularities that the dateline is capable of
displaying. The content of this list is determined by the
IZoomPolicy. The dateline will display the selected time
granularity as its minor time unit (in the lower part of
the dateline).
GridSelector -
the eventline and the layer container are capable of using
a virtual grid that is used for drag and drop operations.
The selector allows the user to change this grid or to turn
it off.
PagingSelector
- if the Gantt chart defines a paging model then this
selector can be used to change the currently displayed
page. A page simply defines a time span. When selected the
page's time span will be used for the dateline (the
dateline horizon). Paging allows the application to
implement a lazy loading strategie for its timeline
objects.
TimeZoneSelector - displayed in the status
bar if the IStatusBarPolicy requests it. The selector lets
the user change the time zone that is displayed in the
dateline. This way the Gantt chart data can be shown
relative to another time zone.