Package | Description |
---|---|
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.model.scheduling |
Contains supporting classes for basic scheduling operations
and constraint resolutions.
|
com.dlsc.flexgantt.policy.dateline |
Policies that will be used in the context of a dateline.
|
com.dlsc.flexgantt.policy.layer |
Policies that will be used in the context of layers.
|
com.dlsc.flexgantt.swing.scheduling |
Contains components used for supporting scheduling
operations built into FlexGantt.
|
com.dlsc.flexgantt.swing.timeline |
Contains the timeline component, which itself consists of a dateline and
an eventline.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
TimeGranularityCalendarModel.isGranularityShowingCalendarEntries(TimeGranularity tg)
Determines whether the given time granularity is suitable for displaying
calendar entries.
|
Modifier and Type | Method and Description |
---|---|
static TimeGranularity[] |
TimeGranularity.getRange(TimeGranularity smallest,
TimeGranularity largest)
Returns an array of time granularities.
|
static TimeGranularity |
TimeGranularity.getTimeGranularity(String name)
A name-based lookup of time granularities.
|
static TimeGranularity |
TimeGranularity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeGranularity[] |
TimeGranularity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static TimeGranularity[] |
TimeGranularity.getRange(TimeGranularity smallest,
TimeGranularity largest)
Returns an array of time granularities.
|
boolean |
TimeGranularity.isInside(TimeGranularity lower,
TimeGranularity upper)
Checks whether a time granularity is 'inside' two other granularities.
|
boolean |
TimeGranularity.isLarger(TimeGranularity tg)
Performs a check to see whether the time granularity is 'larger' than the
given granularity.
|
boolean |
TimeGranularity.isSmaller(TimeGranularity tg)
Performs a check to see whether the time granularity is 'smaller' than
the given granularity.
|
Modifier and Type | Method and Description |
---|---|
protected double |
TimeGranularityConstraint.getDelta(long s,
long e,
TimeGranularity granularity)
Calculates the delta between the two given time points.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTimeGranularityFixBufferResolution.resolve(LayerContainer lc,
IConstraint<?,TimeGranularity> constraint,
Violation violation,
IModelValidator validator) |
Constructor and Description |
---|
TimeGranularityZoomPolicy(TimeGranularity[] granularities)
Constructs a new policy.
|
Modifier and Type | Method and Description |
---|---|
long |
TimeGranularityGridPolicy.getGridAdjustedEndTime(TimeGranularity tg,
long endTime,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
long |
TimeGranularityGridPolicy.getGridAdjustedStartTime(TimeGranularity tg,
long startTime,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
ITimeSpan |
TimeGranularityGridPolicy.getGridAdjustedTimeSpan(TimeGranularity tg,
ITimeSpan timeSpan,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
Modifier and Type | Method and Description |
---|---|
long |
TimeGranularityGridPolicy.getGridAdjustedEndTime(TimeGranularity tg,
long endTime,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
long |
TimeGranularityGridPolicy.getGridAdjustedStartTime(TimeGranularity tg,
long startTime,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
ITimeSpan |
TimeGranularityGridPolicy.getGridAdjustedTimeSpan(TimeGranularity tg,
ITimeSpan timeSpan,
IDatelineModel<TimeGranularity> datelineModel,
boolean autoGrid) |
Constructor and Description |
---|
TimeGranularityGridPolicy(boolean adjustingStartTimes,
boolean adjustingEndTimes,
TimeGranularity... granularities)
Constructs a new policy.
|
TimeGranularityGridPolicy(TimeGranularity... granularities)
Constructs a new policy, which will round start and end times.
|
Constructor and Description |
---|
ConstraintSettingsPanel(LayerContainer lc,
TimeGranularity[] bufferGranularities)
Constructs a new panel.
|
Modifier and Type | Method and Description |
---|---|
TimeGranularity |
TimeGranularityDatelineModel.getMajorTimeGranularity()
Returns the major time granularity, which is based on the currently used
(minor) time granularity.
|
TimeGranularity |
TimeGranularityDatelineModel.getTimeGranularity(ITimeSpan span,
int width)
Returns a suitable time granularity that can be used to display the given
time span in the given width.
|
Modifier and Type | Method and Description |
---|---|
DateFormat |
TimeGranularityDatelineModel.getMajorDateFormat(TimeGranularity granularity)
Returns the date formatter used for the given time granularity, when
formatting time in the major part of the dateline (the upper part).
|
String |
TimeGranularityDatelineModel.getMajorDateString(TimeGranularity level,
long date)
Returns a string representation of a time point based on the given time
granularity.
|
DateFormat |
TimeGranularityDatelineModel.getMinorDateFormat(TimeGranularity granularity)
Returns the date formatter used for the given time granularity, when
formatting time in the minor part of the dateline (the lower part).
|
String |
TimeGranularityDatelineModel.getMinorDateString(TimeGranularity level,
long date)
Returns a string representation of a time point based on the given time
granularity.
|
void |
TimeGranularityDatelineModel.setMajorDateFormat(TimeGranularity granularity,
DateFormat format)
Sets the date formatter used for the given time granularity, when
formatting time in the major part of the dateline (the upper part).
|
void |
TimeGranularityDatelineModel.setMinorDateFormat(TimeGranularity granularity,
DateFormat format)
Sets the date formatter used for the given time granularity, when
formatting time in the minor part of the dateline (the lower part).
|
Constructor and Description |
---|
MinorDateFormat(String pattern,
TimeGranularity granularity)
Constructs a new date formatter.
|
TimeGranularityDatelineModel(Dateline dateline,
ITimeSpan timeSpan,
TimeGranularity tg)
Constructs a new dateline model.
|
TimeGranularityDatelineModel(Dateline dateline,
ITimeSpan timeSpan,
TimeGranularity tg,
TimeZone zone)
Constructs a new dateline model.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.