Package | Description |
---|---|
com.dlsc.flexgantt.command.dateline |
Contains dateline-specific commands.
|
com.dlsc.flexgantt.model.calendar |
Contains interfaces and classes for modelling a calendar, which can be used
to color time spans differently based on calendar entries (holidays, vacation,
milestones, ...).
|
com.dlsc.flexgantt.model.dateline |
Provides a model definition and default implementation for a dateline
model.
|
com.dlsc.flexgantt.policy.gantt |
Policies that will be used in the context of a Gantt chart.
|
com.dlsc.flexgantt.policy.layer |
Policies that will be used in the context of layers.
|
com.dlsc.flexgantt.swing |
Contains the Gantt chart components and various other user interface
elements that can be used together with the Gantt chart.
|
com.dlsc.flexgantt.swing.timeline |
Contains the timeline component, which itself consists of a dateline and
an eventline.
|
Constructor and Description |
---|
DefaultChangeTimeZoneCommand(IDatelineModel model,
TimeZone timeZone)
Constructs a new command that will change the time zone on the given
timeline.
|
Modifier and Type | Method and Description |
---|---|
protected List<S> |
TimeGranularityCalendarModel.calculateEntries(IDatelineModel model,
ITimeSpan span)
Performs the actual calculation of the calendar entries that are located
within the given time span.
|
Iterator<S> |
TimeGranularityCalendarModel.getCalendarEntries(IDatelineModel model,
ITimeSpan span) |
Iterator<S> |
ICalendarModel.getCalendarEntries(IDatelineModel model,
ITimeSpan span)
Returns an iterator for iterating over all calendar entries within the
given time span.
|
Iterator<S> |
TimeGranularityCalendarModel.getCalendarEntries(IDatelineModel model,
T node,
ITimeSpan span) |
Iterator<S> |
ICalendarModel.getCalendarEntries(IDatelineModel model,
T node,
ITimeSpan span)
Returns an iterator for iterating over all calendar entries of the given
node within the given time span.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatelineModel<T extends IGranularity>
An abstract implementation of
IDatelineModel that contains the most
basic functionality shared by most dateline models. |
Modifier and Type | Method and Description |
---|---|
IDatelineModel |
DatelineModelEvent.getModel()
Returns the dateline model that was the source of the event.
|
Constructor and Description |
---|
DatelineModelEvent(IDatelineModel model,
DatelineModelEvent.ID id)
Constructs a new dateline model event.
|
DatelineModelEvent(IDatelineModel model,
DatelineModelEvent.ID id,
ITimeSpan requestedVisibleTimeSpan)
Constructs a new dateline model event.
|
Modifier and Type | Method and Description |
---|---|
String |
TimeGranularityStatusBarPolicy.getTimeNowString(IDatelineModel model,
long time) |
String |
IStatusBarPolicy.getTimeNowString(IDatelineModel model,
long time)
Returns a string representing the given time point, which represents
time now.
|
String |
SimpleGranularityStatusBarPolicy.getTimeNowString(IDatelineModel model,
long time) |
String |
TimeGranularityStatusBarPolicy.getTimeSpanString(IDatelineModel model,
ITimeSpan span) |
String |
IStatusBarPolicy.getTimeSpanString(IDatelineModel model,
ITimeSpan span)
Returns a string representing the given time span.
|
String |
SimpleGranularityStatusBarPolicy.getTimeSpanString(IDatelineModel model,
ITimeSpan span) |
String |
TimeGranularityStatusBarPolicy.getTimeString(IDatelineModel model,
long time) |
String |
IStatusBarPolicy.getTimeString(IDatelineModel model,
long time)
Returns a string representing the given time point.
|
String |
SimpleGranularityStatusBarPolicy.getTimeString(IDatelineModel model,
long time) |
Modifier and Type | Method and Description |
---|---|
Object |
TimeGranularityDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
IDatelineModel<?> datelineModel,
Object dropNode,
ITimeSpan dropSpan) |
Object |
IDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
IDatelineModel<?> datelineModel,
Object dropNode,
ITimeSpan dropSpan)
Returns an object that can be used to show information during a drag
operation (e.g. time span over which the dragged timeline object hovers).
|
Object |
DefaultDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
IDatelineModel<?> datelineModel,
Object dropNode,
ITimeSpan dropSpan) |
long |
SimpleGranularityGridPolicy.getGridAdjustedEndTime(SimpleGranularity sg,
long endTime,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
long |
TimeGranularityGridPolicy.getGridAdjustedEndTime(TimeGranularity tg,
long endTime,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
long |
IGridPolicy.getGridAdjustedEndTime(T granularity,
long unadjustedEndTime,
IDatelineModel<T> datelineModel,
boolean autoGrid)
Returns a grid adjusted time point for the given unadjusted end time.
|
long |
SimpleGranularityGridPolicy.getGridAdjustedStartTime(SimpleGranularity sg,
long startTime,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
long |
TimeGranularityGridPolicy.getGridAdjustedStartTime(TimeGranularity tg,
long startTime,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
long |
IGridPolicy.getGridAdjustedStartTime(T granularity,
long unadjustedStartTime,
IDatelineModel<T> datelineModel,
boolean autoGrid)
Returns a grid adjusted time point for the given unadjusted start time.
|
ITimeSpan |
SimpleGranularityGridPolicy.getGridAdjustedTimeSpan(SimpleGranularity sg,
ITimeSpan timeSpan,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
ITimeSpan |
TimeGranularityGridPolicy.getGridAdjustedTimeSpan(TimeGranularity tg,
ITimeSpan timeSpan,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
ITimeSpan |
IGridPolicy.getGridAdjustedTimeSpan(T granularity,
ITimeSpan unadjustedTimeSpan,
IDatelineModel<T> datelineModel,
boolean autoGrid)
Returns a grid adjusted time span for the given unadjusted time span.
|
boolean |
TimeGranularityGridLinePolicy.isMajorGridLinesVisible(IDatelineModel datelineModel,
GridLineMode mode) |
boolean |
IGridLinePolicy.isMajorGridLinesVisible(IDatelineModel model,
GridLineMode mode)
Determines whether the grid lines for the major time units will be shown
or not.
|
boolean |
DefaultGridLinePolicy.isMajorGridLinesVisible(IDatelineModel datelineModel,
GridLineMode mode) |
boolean |
IGridLinePolicy.isMinorGridLinesVisible(IDatelineModel model,
GridLineMode mode)
Determines whether the grid lines for the minor time units will be shown
or not.
|
boolean |
DefaultGridLinePolicy.isMinorGridLinesVisible(IDatelineModel datelineModel,
GridLineMode mode) |
Modifier and Type | Method and Description |
---|---|
IDatelineModel |
AbstractGanttChart.getDatelineModel()
Returns the dateline model.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatelineRenderer<T extends IDatelineModel>
An abstract dateline renderer that provides common functionality for its
subclasses.
|
interface |
IDatelineRenderer<T extends IDatelineModel>
The renderer interface used by the dateline to renderer major and minor time
spans.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleGranularityDatelineModel
A dateline model implementation based on the
SimpleGranularity
enumerator. |
class |
TimeGranularityDatelineModel
A dateline model implementation based on the
TimeGranularity
enumerator. |
Modifier and Type | Method and Description |
---|---|
<T extends IDatelineModel> |
Dateline.getDatelineRenderer(Class<T> modelClass)
Returns a dateline renderer for the given model type.
|
<T extends IDatelineModel> |
Dateline.setDatelineRenderer(Class<T> modelClass,
IDatelineRenderer<T> renderer)
Specifies a dateline renderer implementation that will be used to draw
the dateline if the dateline's model is of the given model type.
|
Modifier and Type | Method and Description |
---|---|
IDatelineModel |
Dateline.getModel()
Sets the model used by the dateline to convert time points to coordinates
and coordinates to time points.
|
Modifier and Type | Method and Description |
---|---|
Map<Class<? extends IDatelineModel>,IDatelineRenderer> |
Dateline.getRendererMap()
Returns the map used to store the mappings between dateline model classes
and dateline renderers.
|
Modifier and Type | Method and Description |
---|---|
protected Color |
AbstractDatelineRenderer.getCalendarBackground(ICalendarModel calendarModel,
IDatelineModel datelineModel,
long time)
Returns a background color for the given time point, calendar model and
dateline model.
|
protected Color |
AbstractDatelineRenderer.getCalendarForeground(ICalendarModel calendarModel,
IDatelineModel datelineModel,
long time)
Returns a foreground color for the given time point, calendar model and
dateline model.
|
void |
Dateline.setModel(IDatelineModel model)
Sets the model used by the dateline to convert time points to coordinates
and coordinates to time points.
|
Modifier and Type | Method and Description |
---|---|
void |
Dateline.setRendererMap(Map<Class<? extends IDatelineModel>,IDatelineRenderer> map)
Sets the map used to store the mappings between dateline model classes
and dateline renderers.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.