Package | Description |
---|---|
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 |
---|---|
SimpleGranularity |
SimpleGranularity.next()
Returns the next larger granularity (example: ONE -> TEN -> HUNDRED).
|
SimpleGranularity |
SimpleGranularity.previous()
Returns the previous smaller granularity (example: HUNDRED -> TEN ->
ONE).
|
static SimpleGranularity |
SimpleGranularity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleGranularity[] |
SimpleGranularity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleGranularity.isLarger(SimpleGranularity sg)
Checks whether this granularity is considered to be larger than the given
one.
|
boolean |
SimpleGranularity.isSmaller(SimpleGranularity sg)
Checks whether this granularity is considered to be smaller than the
given one.
|
Modifier and Type | Method and Description |
---|---|
protected double |
SimpleGranularityConstraint.getDelta(long time1,
long time2,
SimpleGranularity granularity)
Calculates the delta between the two given time points.
|
Constructor and Description |
---|
SimpleGranularityZoomPolicy(SimpleGranularity[] granularites)
Constructs a new policy.
|
Modifier and Type | Method and Description |
---|---|
long |
SimpleGranularityGridPolicy.getGridAdjustedEndTime(SimpleGranularity sg,
long endTime,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
long |
SimpleGranularityGridPolicy.getGridAdjustedStartTime(SimpleGranularity sg,
long startTime,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
ITimeSpan |
SimpleGranularityGridPolicy.getGridAdjustedTimeSpan(SimpleGranularity sg,
ITimeSpan timeSpan,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
Modifier and Type | Method and Description |
---|---|
long |
SimpleGranularityGridPolicy.getGridAdjustedEndTime(SimpleGranularity sg,
long endTime,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
long |
SimpleGranularityGridPolicy.getGridAdjustedStartTime(SimpleGranularity sg,
long startTime,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
ITimeSpan |
SimpleGranularityGridPolicy.getGridAdjustedTimeSpan(SimpleGranularity sg,
ITimeSpan timeSpan,
IDatelineModel<SimpleGranularity> model,
boolean autoGrid) |
Constructor and Description |
---|
SimpleGranularityGridPolicy(boolean adjustingStartTimes,
boolean adjustingEndTimes,
SimpleGranularity... granularities)
Constructs a new policy.
|
SimpleGranularityGridPolicy(SimpleGranularity... granularities)
Constructs a new policy, which will round start and end times.
|
Constructor and Description |
---|
ConstraintSettingsPanel(LayerContainer lc,
SimpleGranularity[] bufferGranularities)
Constructs a new panel.
|
Modifier and Type | Method and Description |
---|---|
SimpleGranularity |
SimpleGranularityDatelineModel.getMajorSimpleGranularity()
Returns the currently shown major granularity, which gets
determined by invoking
next() on the current
granularity. |
Modifier and Type | Method and Description |
---|---|
String |
SimpleGranularityDatelineModel.getMajorDateString(SimpleGranularity granularity,
long time)
Returns a text representation for the given major time point and
granularity.
|
String |
SimpleGranularityDatelineModel.getMinorDateString(SimpleGranularity granularity,
long time)
Returns a text representation for the given minor time point and
granularity.
|
Constructor and Description |
---|
SimpleGranularityDatelineModel(Dateline dateline,
ITimeSpan timeSpan,
SimpleGranularity sg)
Constructs a new dateline model.
|
SimpleGranularityDatelineModel(Dateline dateline,
ITimeSpan timeSpan,
SimpleGranularity sg,
TimeZone timeZone)
Constructs a new dateline model.
|
SimpleGranularityDatelineModel(Dateline dateline,
SimpleGranularity sg)
Constructs a new dateline model.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.