| Package | Description |
|---|---|
| com.dlsc.flexgantt.command.eventline |
Contains eventline-specific commands.
|
| com.dlsc.flexgantt.command.layer |
Contains layer-specific commands.
|
| com.dlsc.flexgantt.model |
A few classes and interfaces that are frequently used throughout the model
packages.
|
| com.dlsc.flexgantt.model.bookmarks |
Paging models are used to allow the user to quickly change the time span that
is displayed by the timeline.
|
| 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.eventline |
Model definition and default implementation for an eventline model.
|
| com.dlsc.flexgantt.model.gantt |
A model definition and default implementation for a Gantt chart model, which
is basically an extension of a tree table model, which itself is an extension
of a tree model.
|
| com.dlsc.flexgantt.model.paging |
Paging models are used to allow the user to quickly change the time span that
is displayed by the timeline.
|
| com.dlsc.flexgantt.policy.eventline |
Policies that will be used in the context of an eventline.
|
| 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.layer |
The right-hand side of any Gantt chart is a layer container, which is
responsible for managing the various layer types.
|
| com.dlsc.flexgantt.swing.layer.system |
Contains the system layers for drawing the background, grid lines, popups,
relationships, controls, spreadsheets, overviews, global events and
activities.
|
| com.dlsc.flexgantt.swing.layer.timeline |
Classes that deal with timeline layers and the rendering and the selection
of timeline objects.
|
| com.dlsc.flexgantt.swing.mac | |
| com.dlsc.flexgantt.swing.print |
Anything related to printing is contained in this package.
|
| com.dlsc.flexgantt.swing.timeline |
Contains the timeline component, which itself consists of a dateline and
an eventline.
|
| com.dlsc.flexgantt.swing.treetable |
A tree table implementation used solely for the purpose of drawing the
left-hand side of a Gantt chart.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
DefaultChangeEventlineObjectTimeSpanCommand.getNewTimeSpan()
Returns the new time span that was assigned to the eventline object
through the command.
|
ITimeSpan |
DefaultChangeEventlineObjectTimeSpanCommand.getOldTimeSpan()
Returns the old time span that was assigned to the eventline object
before the command was executed.
|
ITimeSpan |
DefaultCreateEventlineObjectCommand.getTimeSpan()
Returns the time span that will be assigned to the newly created
eventline object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCreateEventlineObjectCommand.setTimeSpan(ITimeSpan span)
Specifies the time span that will be assigned to the newly created
eventline object.
|
| Constructor and Description |
|---|
DefaultChangeEventlineObjectTimeSpanCommand(IEventlineObject object,
DefaultEventlineModel model,
ITimeSpan span)
Constructs a new command.
|
DefaultCreateEventlineObjectCommand(DefaultEventlineModel model,
ITimeSpan span)
Constructs a new command.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
DefaultDragAndDropCommand.getNewTimeSpan()
Returns the new time span that gets assigned to the timeline object via
the command.
|
ITimeSpan |
DefaultChangeTimelineObjectTimeSpanCommand.getNewTimeSpan()
Returns the time span that will be / was assigned to the timeline object
by the command.
|
ITimeSpan |
DefaultDragAndDropCommand.getOldTimeSpan()
Returns the old time span that was assigned to the timeline object via
the command.
|
ITimeSpan |
DefaultChangeTimelineObjectTimeSpanCommand.getOldTimeSpan()
Returns the time span that was assigned to the timeline object before the
command was executed.
|
ITimeSpan |
DefaultChangeSpreadsheetValueCommand.getTimeSpan()
Returns the time span (the x-coordinate) of the spreadsheet cell.
|
ITimeSpan |
DefaultCreateTimelineObjectCommand.getTimeSpan()
Returns the time span where the newly created timeline object will be
placed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCreateTimelineObjectCommand.setTimeSpan(ITimeSpan span)
Sets the time span where the newly created timeline object will be
placed.
|
| Constructor and Description |
|---|
DefaultChangeSpreadsheetValueCommand(DefaultGanttChartModel model,
IGanttChartNode node,
ISpreadsheet spreadsheet,
ITimeSpan span,
Object value)
Constructs a new command.
|
DefaultChangeTimelineObjectTimeSpanCommand(DefaultGanttChartNode node,
ILayer layer,
ITimelineObject object,
DefaultGanttChartModel model,
ITimeSpan span,
int dropAction)
Constructs a new command.
|
DefaultCreateTimelineObjectCommand(DefaultGanttChartNode node,
DefaultGanttChartModel model,
ILayer layer,
ITimeSpan timeSpan,
int lineIndex)
Constructs a new command.
|
| Constructor and Description |
|---|
DefaultChangeMultipleTimelineObjectsTimeSpanCommand(DefaultGanttChartModel model,
List<TimelineObjectPath> timelineObjects,
List<ITimeSpan> timeSpans,
int dropAction)
Constructs a new command.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TimeSpanIterator<T extends ITimeSpan>
An iterator implementation specialized on iterating over a list of
ITimeSpan elements. |
| Modifier and Type | Class and Description |
|---|---|
class |
TimeSpan
An implementation of the
ITimeSpan interface. |
| Modifier and Type | Field and Description |
|---|---|
static ITimeSpan |
TimeSpan.DEFAULT_TIME_SPAN
Stores a default time span instance, where the start time is the current
system time and the end time is the current system time plus one year.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
TimeSpan.intersection(ITimeSpan span) |
ITimeSpan |
ITimeSpan.intersection(ITimeSpan span)
Returns the intersection between the time span and the given time span.
|
ITimeSpan |
ITimeSpan.move(long delta)
Constructs a new time span based on this span where the given (delta)
milliseconds are added to (or subtracted from if negative) the start and
end time of this time span.
|
ITimeSpan |
TimeSpan.union(ITimeSpan span) |
ITimeSpan |
ITimeSpan.union(ITimeSpan span)
The union of two time spans is a new time span, where the start time of
the new span is the minimum start time and the end time is the maximum
end time of the two spans.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TimeSpanComparator.compare(ITimeSpan span1,
ITimeSpan span2)
Compares two time spans with each other.
|
int |
TimeSpan.compareTo(ITimeSpan span) |
boolean |
TimeSpan.contains(ITimeSpan span) |
boolean |
ITimeSpan.contains(ITimeSpan span)
Checks whether the time span contains the given time span.
|
boolean |
TimeSpan.endsAfter(ITimeSpan span) |
boolean |
ITimeSpan.endsAfter(ITimeSpan span)
Checks whether the given time span ends after this time span.
|
boolean |
TimeSpan.endsBefore(ITimeSpan span) |
boolean |
ITimeSpan.endsBefore(ITimeSpan span)
Checks whether the given time span ends before this time span.
|
boolean |
TimeSpan.equalDuration(ITimeSpan span) |
boolean |
ITimeSpan.equalDuration(ITimeSpan span)
Checks whether the given time span has exactly the same duration as this
time span.
|
boolean |
TimeSpan.equals(ITimeSpan span) |
boolean |
ITimeSpan.equals(ITimeSpan span)
Two time spans are considered equal if their start times and their end
times are identical.
|
ITimeSpan |
TimeSpan.intersection(ITimeSpan span) |
ITimeSpan |
ITimeSpan.intersection(ITimeSpan span)
Returns the intersection between the time span and the given time span.
|
boolean |
TimeSpan.intersects(ITimeSpan span) |
boolean |
ITimeSpan.intersects(ITimeSpan span)
Checks whether the given time span intersects with this time span.
|
boolean |
TimeSpan.startsAfter(ITimeSpan span) |
boolean |
ITimeSpan.startsAfter(ITimeSpan span)
Checks whether the given time span starts after this time span.
|
boolean |
TimeSpan.startsBefore(ITimeSpan span) |
boolean |
ITimeSpan.startsBefore(ITimeSpan span)
Checks whether the given time span starts before this time span.
|
ITimeSpan |
TimeSpan.union(ITimeSpan span) |
ITimeSpan |
ITimeSpan.union(ITimeSpan span)
The union of two time spans is a new time span, where the start time of
the new span is the minimum start time and the end time is the maximum
end time of the two spans.
|
| Constructor and Description |
|---|
TimeSpan(ITimeSpan span)
Constructs a new time span based on an already existing time span.
|
TimeSpanIterator(List<T> timeSpanList,
ITimeSpan span)
Constructs a new time span iterator.
|
| Constructor and Description |
|---|
Bookmark(long timePoint,
ITimeSpan span,
IGranularity granularity,
String name)
Constructs a new page.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
AbstractEntryCalendarModel.getCalendarEntryTimeSpan(S entry) |
ITimeSpan |
ICalendarModel.getCalendarEntryTimeSpan(S entry)
Returns the time span allocated to a calendar entry.
|
ITimeSpan |
AbstractCalendarEntry.getTimeSpan() |
ITimeSpan |
ICalendarEntry.getTimeSpan()
Returns the time span of the calendar entry.
|
| 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.
|
void |
AbstractCalendarEntry.setTimeSpan(ITimeSpan span)
Specifies a new time span for the calendar entry.
|
| Constructor and Description |
|---|
AbstractCalendarEntry(ITimeSpan span)
Constructs a new calendar entry.
|
HolidayCalendarEntry(ITimeSpan span,
boolean annual)
Constructs a new holiday calendar entry.
|
WeekendCalendarEntry(ITimeSpan span)
Constructs a new weekend calendar entry.
|
| Modifier and Type | Field and Description |
|---|---|
protected ITimeSpan |
AbstractDatelineModel.selectedTimeSpan
Stores the currently selected time span (is NULL is no selection exists).
|
protected ITimeSpan |
AbstractDatelineModel.timeSpan
The total time span covered by the dateline model.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
DatelineModelEvent.getRequestedVisibleTimeSpan()
Returns the time span that was requested from the dateline model to be
visible.
|
ITimeSpan |
IDatelineModel.getSelectedTimeSpan()
Returns the currently selected time span.
|
ITimeSpan |
AbstractDatelineModel.getSelectedTimeSpan() |
ITimeSpan |
IDatelineModel.getTimeSpan()
Returns the total time span covered by the model / dateline.
|
ITimeSpan |
AbstractDatelineModel.getTimeSpan() |
ITimeSpan |
IDatelineModel.getTimeSpanAt(int x,
boolean major)
Returns the time span that gets defined by the grid lines to the left and
the right of the given x-coordinate.
|
| Modifier and Type | Method and Description |
|---|---|
double |
SimpleGranularity.getDelta(ITimeSpan span)
Calculates how often the number of milliseconds represented by the time
granularity fits into the difference between the given start and end
times:
(endTime - startTime) / millis. |
double |
TimeGranularity.getDelta(ITimeSpan span,
TimeZone timeZone)
Returns the number of hours or minutes or days between the start and the
end time of the given time span.
|
void |
IDatelineModel.requestVisibleTimeSpan(ITimeSpan span)
A request that asks the model to change its settings in such a way that
the requested time span will become visible in the viewport on the
right-hand side of the Gantt chart.
|
void |
IDatelineModel.setSelectedTimeSpan(ITimeSpan span)
Sets a time span selection.
|
void |
AbstractDatelineModel.setSelectedTimeSpan(ITimeSpan newSpan) |
void |
IDatelineModel.setTimeSpan(ITimeSpan span)
Sets the total time span covered by the model / dateline.
|
void |
AbstractDatelineModel.setTimeSpan(ITimeSpan timeSpan) |
| Constructor and Description |
|---|
AbstractDatelineModel(ITimeSpan timeSpan,
TimeZone timeZone)
Constructs a new dateline model.
|
DatelineModelEvent(IDatelineModel model,
DatelineModelEvent.ID id,
ITimeSpan requestedVisibleTimeSpan)
Constructs a new dateline model event.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
IEventlineModel.getTimeSpan(T eventlineObject)
Returns the time span allocated to the given object.
|
ITimeSpan |
DefaultEventlineModel.getTimeSpan(T eventlineObject) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
IEventlineModel.getEventlineObjectsIterator(ITimeSpan span)
Returns an iterator for those eventline objects that are placed on the
eventline during the given span.
|
Iterator<T> |
DefaultEventlineModel.getEventlineObjectsIterator(ITimeSpan span) |
void |
DefaultEventlineModel.setTimeSpan(T eventlineObject,
ITimeSpan span)
Sets a new time span on the given eventline object.
|
| Constructor and Description |
|---|
DefaultEventlineObject(ITimeSpan timeSpan)
Constructs a new eventline object.
|
DefaultEventlineObject(String name,
ITimeSpan timeSpan)
Constructs a new eventline object.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
DefaultTimelineObject.getTimeSpan() |
ITimeSpan |
GanttChartModelEvent.getTimeSpan()
Returns the time span that was affected by the change.
|
ITimeSpan |
ITimelineObject.getTimeSpan()
Returns the time allocation of the timeline object.
|
ITimeSpan |
IGanttChartModel.getTimeSpan(S timelineObject)
Returns the time span of the given timeline object.
|
ITimeSpan |
DefaultGanttChartModel.getTimeSpan(S timelineObject) |
| Modifier and Type | Method and Description |
|---|---|
Object |
IGanttChartNode.getSpreadsheetValue(ISpreadsheet spreadsheet,
ITimeSpan span)
Returns a value for the given time span.
|
Object |
DefaultGanttChartNode.getSpreadsheetValue(ISpreadsheet spreadsheet,
ITimeSpan span) |
Object |
IGanttChartModel.getSpreadsheetValue(ISpreadsheet spreadsheet,
T node,
ITimeSpan span)
Returns an object for the given tree node, the given spreadsheet and the
given time span.
|
Object |
DefaultGanttChartModel.getSpreadsheetValue(ISpreadsheet spreadsheet,
T node,
ITimeSpan span) |
Class |
IGanttChartModel.getSpreadsheetValueType(ISpreadsheet spreadsheet,
T node,
ITimeSpan span)
Returns the type of the object shown within the specified spreadsheet
cell (specification via tree node, spreadsheet, time span).
|
Class |
DefaultGanttChartModel.getSpreadsheetValueType(ISpreadsheet spreadsheet,
T node,
ITimeSpan span) |
Iterator<T> |
IGanttChartNode.getTimelineObjectsIterator(ILayer layer,
ITimeSpan span)
Returns an iterator for all timeline objects on the given layer for the
given time span.
|
Iterator<S> |
DefaultGanttChartNode.getTimelineObjectsIterator(ILayer layer,
ITimeSpan span) |
Iterator<S> |
DefaultGanttChartNode.getTimelineObjectsIterator(ITimeSpan span)
Returns an iterator for all timeline objects on all layers for the given
time span.
|
Iterator<S> |
IGanttChartModel.getTimelineObjectsIterator(T node,
ILayer layer,
ITimeSpan span)
Returns an
Iterator that can be used to iterate over all timeline
objects stored on the given node and layer within the given time span. |
Iterator<S> |
DefaultGanttChartModel.getTimelineObjectsIterator(T node,
ILayer layer,
ITimeSpan span) |
Object |
SpreadsheetValuesList.getValue(ITimeSpan span) |
Object |
ISpreadsheetValuesList.getValue(ITimeSpan span)
Returns the value for the given time span.
|
boolean |
IGanttChartNode.isSelectable(ITimeSpan span)
Determines whether the given time span can be selected for the node.
|
boolean |
DefaultGanttChartNode.isSelectable(ITimeSpan span) |
boolean |
IGanttChartNode.isTimelineObjectCreatableAt(ITimeSpan span,
ILayer layer)
Determines whether a new timeline object can be created for the given
time span.
|
boolean |
DefaultGanttChartNode.isTimelineObjectCreatableAt(ITimeSpan span,
ILayer layer) |
void |
IGanttChartNode.setSpreadsheetValue(ISpreadsheet spreadsheet,
Object value,
ITimeSpan span)
Specifies a new value for the given time span.
|
void |
DefaultGanttChartNode.setSpreadsheetValue(ISpreadsheet spreadsheet,
Object value,
ITimeSpan span) |
void |
DefaultGanttChartModel.setSpreadsheetValue(T node,
ISpreadsheet spreadsheet,
ITimeSpan span,
Object value)
Sets an object/value in a spreadsheet cell where the cell is specified by
the combination of the given tree table node, the spreadsheet and the
time span.
|
void |
DefaultTimelineObject.setTimeSpan(ITimeSpan span) |
void |
ITimelineObject.setTimeSpan(ITimeSpan span)
Sets the time allocation of the timeline object.
|
void |
DefaultGanttChartModel.setTimeSpan(S timelineObject,
ITimeSpan span)
Sets a new time span on the given timeline object.
|
void |
SpreadsheetValuesList.setValue(Object value,
ITimeSpan span) |
void |
ISpreadsheetValuesList.setValue(Object value,
ITimeSpan span)
Sets an object as a value for the given time span.
|
| Constructor and Description |
|---|
BinarySearchTimelineObjectIterator(List<T> objectList,
ITimeSpan span)
Constructs a new iterator object.
|
DefaultActivityObject(ITimeSpan timeSpan)
Constructs a new activity object.
|
DefaultActivityObject(ITimeSpan timeSpan,
double percentageComplete)
Constructs a new activity object.
|
DefaultActivityObject(String name,
ITimeSpan timeSpan)
Constructs a new activity object.
|
DefaultActivityObject(String name,
ITimeSpan timeSpan,
double percentageComplete)
Constructs a new activity object.
|
DefaultCapacityObject(ITimeSpan timeSpan)
Constructs a new capacity object.
|
DefaultCapacityObject(ITimeSpan timeSpan,
double capacityUsed)
Constructs a new capacity object.
|
DefaultCapacityObject(String name,
ITimeSpan timeSpan)
Constructs a new capacity object.
|
DefaultCapacityObject(String name,
ITimeSpan timeSpan,
double capacityUsed)
Constructs a new capacity object.
|
DefaultEventObject(ITimeSpan timeSpan)
Constructs a new event object.
|
DefaultEventObject(String name,
ITimeSpan timeSpan)
Constructs a new event object.
|
DefaultTimelineObject(ITimeSpan timeSpan)
Constructs a new timeline object.
|
DefaultTimelineObject(String name,
ITimeSpan timeSpan)
Constructs a new timeline object.
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
ITimeSpan timeSpan)
Constructs a new model event.
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
Object timelineObject,
ITimeSpan timeSpan)
Constructs a new model event.
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
Object node,
ITimeSpan timeSpan,
Object spreadsheeetValue)
Constructs a new model event.
|
LinearSearchTimelineObjectIterator(List<T> objectList,
ITimeSpan span)
Constructs a new iterator object.
|
LinearSearchTimelineObjectIterator(List<T> objectList,
ITimeSpan span,
boolean reverse)
Constructs a new iterator object.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
Page.getTimeSpan()
Returns the time span represented by the page.
|
| Constructor and Description |
|---|
Page(ITimeSpan span,
String name)
Constructs a new page.
|
| Modifier and Type | Method and Description |
|---|---|
ICommand |
DefaultEditEventlineObjectPolicy.getChangeTimeSpanCommand(Object eventlineObject,
IEventlineModel model,
ITimeSpan span) |
ICommand |
IEditEventlineObjectPolicy.getChangeTimeSpanCommand(Object eventlineObject,
IEventlineModel model,
ITimeSpan span)
Returns a command object that will perform the actual change of the
eventline object's time span.
|
ICommand |
DefaultEditEventlineObjectPolicy.getCreateCommand(IEventlineModel model,
ITimeSpan span) |
ICommand |
IEditEventlineObjectPolicy.getCreateCommand(IEventlineModel model,
ITimeSpan span)
Returns a command object that will perform the actual creating of a new
eventline object.
|
boolean |
DefaultEditEventlineObjectPolicy.isCreatable(IEventlineModel model,
ITimeSpan span) |
boolean |
IEditEventlineObjectPolicy.isCreatable(IEventlineModel model,
ITimeSpan span)
Decides whether an eventline object may be created for the given model
and with the given time span.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
ICommand |
ISpreadsheetEditPolicy.getChangeSpreadsheetValueCommand(IGanttChartModel<?,?> model,
Object node,
ISpreadsheet spreadsheet,
ITimeSpan span,
Object value)
Returns a command object that can be used to change the value of a
spreadsheet cell.
|
ICommand |
DefaultSpreadsheetEditPolicy.getChangeSpreadsheetValueCommand(IGanttChartModel<?,?> model,
Object node,
ISpreadsheet spreadsheet,
ITimeSpan span,
Object value) |
ICommand |
DefaultEditTimelineObjectPolicy.getChangeTimeSpanCommand(TimelineObjectPath path,
IGanttChartModel model,
ITimeSpan span,
int dropAction) |
ICommand |
IEditTimelineObjectPolicy.getChangeTimeSpanCommand(TimelineObjectPath path,
IGanttChartModel model,
ITimeSpan span,
int dropAction)
Returns a command object that will perform the actual change of the
timeline object's time span.
|
ICommand |
DefaultEditTimelineObjectPolicy.getCreateCommand(Object node,
IGanttChartModel model,
ILayer layer,
ITimeSpan span,
int lineIndex) |
ICommand |
IEditTimelineObjectPolicy.getCreateCommand(Object node,
IGanttChartModel model,
ILayer layer,
ITimeSpan span,
int lineIndex)
Returns a command object that will perform the creation of a new timeline
object.
|
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) |
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 |
DefaultEditTimelineObjectPolicy.isCreatable(Object node,
IGanttChartModel model,
ILayer layer,
ITimeSpan span) |
boolean |
IEditTimelineObjectPolicy.isCreatable(Object node,
IGanttChartModel model,
ILayer layer,
ITimeSpan span)
Decides whether a timeline object can be created for the given node,
model, and time span.
|
boolean |
ISelectionPolicy.isSelectable(Object node,
ITimeSpan span,
IGanttChartModel model)
Returns TRUE if the given time span on the given node can be selected by
the user (or programmatically) or not.
|
boolean |
DefaultSelectionPolicy.isSelectable(Object node,
ITimeSpan span,
IGanttChartModel model) |
| Modifier and Type | Method and Description |
|---|---|
ICommand |
DefaultEditTimelineObjectPolicy.getChangeTimeSpansCommand(IGanttChartModel model,
List<TimelineObjectPath> timelineObjects,
List<ITimeSpan> timeSpans,
int dropAction) |
ICommand |
IEditTimelineObjectPolicy.getChangeTimeSpansCommand(IGanttChartModel model,
List<TimelineObjectPath> timelineObjects,
List<ITimeSpan> timeSpans,
int dropAction)
Returns a command object that will perform the actual change of the
timeline objects' time spans.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
ObjectBounds.getTimeSpan()
Returns the time span of the timeline object.
|
ITimeSpan |
AbstractGanttChart.getTimeSpan()
Convenience method, which returns the total time span covered by the
Gantt chart.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
GanttChartStatusBar.format(ITimeSpan span)
Formats the given time span with the Gantt chart's status bar policy.
|
void |
DualGanttChart.print(boolean preview,
ITimeSpan span) |
void |
GanttChart.print(boolean preview,
ITimeSpan span) |
abstract void |
AbstractGanttChart.print(boolean preview,
ITimeSpan span)
Prints the Gantt chart.
|
void |
DualGanttChart.printSecondaryModel(boolean preview,
ITimeSpan span)
Prints a Gantt chart based on the secondary model.
|
protected void |
GanttChartStatusBar.setStatusTimeSpan(ITimeSpan span)
Sets a time span to be displayed in the status bar.
|
void |
AbstractGanttChart.setTimeSpan(ITimeSpan span)
Sets a new time span.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
LayerContainer.getTimeSpanUsed()
Returns the time span used by the layer container.
|
ITimeSpan |
AbstractLayer.getTimeSpanUsed()
Returns the time span that is used by the layer.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ITimeSpan> |
DefaultLayerContainerSelectionModel.getSelectedTimeSpans(Object owner,
ITimeSpan span) |
Iterator<ITimeSpan> |
ILayerContainerSelectionModel.getSelectedTimeSpans(Object node,
ITimeSpan span)
Returns an iterator for iterating over the list of selected time spans of
the given node within the given time span.
|
List<ITimeSpan> |
TimeSpanSelectionEvent.getTimeSpans()
Returns the added / removed time spans.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultLayerContainerSelectionModel.addSelectedTimeSpan(Object node,
ITimeSpan span) |
void |
ILayerContainerSelectionModel.addSelectedTimeSpan(Object node,
ITimeSpan span)
Adds a time span to the list of selected time spans of the given tree
table node object.
|
JPopupMenu |
DefaultLayerContainerMenuProvider.getPopupMenu(LayerContainer lc,
MouseEvent e,
ITimeSpan timeSpan,
TreePath treePath,
ISpreadsheet spreadsheet) |
JPopupMenu |
ILayerContainerMenuProvider.getPopupMenu(LayerContainer lc,
MouseEvent e,
ITimeSpan timeSpan,
TreePath treePath,
ISpreadsheet spreadsheet)
Returns a popup menu for the given layer container when the given
spreadsheet is currently active.
|
Iterator<ITimeSpan> |
DefaultLayerContainerSelectionModel.getSelectedTimeSpans(Object owner,
ITimeSpan span) |
Iterator<ITimeSpan> |
ILayerContainerSelectionModel.getSelectedTimeSpans(Object node,
ITimeSpan span)
Returns an iterator for iterating over the list of selected time spans of
the given node within the given time span.
|
boolean |
DefaultLayerContainerSelectionModel.isSelected(Object node,
ITimeSpan span) |
boolean |
ILayerContainerSelectionModel.isSelected(Object node,
ITimeSpan span)
Returns TRUE if the given time span is currently selected on the given
tree table node.
|
void |
DefaultLayerContainerSelectionModel.removeSelectedTimeSpan(Object node,
ITimeSpan removedSpan) |
void |
ILayerContainerSelectionModel.removeSelectedTimeSpan(Object node,
ITimeSpan span)
Removes a time span from the list of selected time spans of the given
tree table node object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultLayerContainerSelectionModel.fireTimeSpansAdded(Object node,
List<ITimeSpan> spans)
Sends a
TimeSpanSelectionEvent to all listeners informing them
that time spans have been added to the selection model. |
protected void |
DefaultLayerContainerSelectionModel.fireTimeSpansRemoved(Object node,
List<ITimeSpan> spans)
Sends a
TimeSpanSelectionEvent to all listeners informing them
that time spans have been removed from the selection model. |
| Constructor and Description |
|---|
TimeSpanSelectionEvent(ILayerContainerSelectionModel model,
Object node,
List<ITimeSpan> timeSpans)
Constructs a new event.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
SpreadsheetLayer.getEditingTimeSpan()
Returns the time span at which editing currently takes place.
|
protected ITimeSpan |
DefaultDragRowRenderer.getTimeSpan()
Returns the time span where the dragged timeline object would be dropped.
|
protected ITimeSpan |
DefaultRowRenderer.getTimeSpan()
Returns the time span that is currently being drawn by the renderer.
|
ITimeSpan |
LassoLayerEvent.getTimeSpan()
Returns the time span to which the dragged object has been moved (or
resized) by the user.
|
ITimeSpan |
DragLayerEvent.getTimeSpan()
Returns the time span to which the dragged object has been moved (or
resized) by the user.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SpreadsheetLayer.editCellAt(int row,
ITimeSpan span)
Programmatically starts editing the cell at
row and
span, if those indices are in the valid range, and the cell
at those indices is editable. |
boolean |
SpreadsheetLayer.editCellAt(int row,
ITimeSpan span,
InputEvent e)
Programmatically starts editing the cell at
row and
span, if those indices are in the valid range, and the cell
at those indices is editable. |
ISpreadsheetCellEditor |
SpreadsheetLayer.getCellEditor(int row,
ITimeSpan span)
Returns the cell editor for the spreadsheet cell specified by the given
row and time span.
|
Rectangle |
SpreadsheetLayer.getCellRect(int row,
ITimeSpan span)
Returns the cell rectangle for the cell at the given row and time span.
|
Component |
IDragInfoRenderer.getDragInfoRendererComponent(DragLayer layer,
TimelineObjectPath path,
Object dragInfo,
ITimeSpan span,
int dndAction)
Returns a component that will be used to render the drag information.
|
Component |
DefaultDragInfoRenderer.getDragInfoRendererComponent(DragLayer layer,
TimelineObjectPath path,
Object dragInfo,
ITimeSpan span,
int dragAction) |
Component |
DefaultDragRowRenderer.getDragRowRendererComponent(DragLayer layer,
Object node,
TimelineObjectPath draggedTimelineObjectPath,
ITimeSpan span,
int userDropAction) |
Component |
IDragRowRenderer.getDragRowRendererComponent(DragLayer layer,
Object node,
TimelineObjectPath draggedTimelineObjectPath,
ITimeSpan span,
int userDropAction)
Returns a component that will be used to render the row specific drag and
drop information.
|
Component |
DefaultRowRenderer.getRowRendererComponent(RowLayer layer,
Object node,
boolean selected,
int row,
ITimeSpan span,
boolean hasFocus) |
Component |
DefaultResourceRowRenderer.getRowRendererComponent(RowLayer layer,
Object node,
boolean selected,
int row,
ITimeSpan span,
boolean hasFocus) |
Component |
IRowRenderer.getRowRendererComponent(RowLayer layer,
Object node,
boolean selected,
int row,
ITimeSpan span,
boolean hasFocus)
Returns a component that will be used for renderering additional
information about a row (for example resource capacity lines).
|
Component |
ISpreadsheetCellEditor.getSpreadsheetCellEditorComponent(SpreadsheetLayer spreadsheet,
Object value,
int row,
ITimeSpan span)
Returns a component for editing the spreadsheet cell at the given row and
time span.
|
Component |
DefaultSpreadsheetCellEditor.getSpreadsheetCellEditorComponent(SpreadsheetLayer spreadsheet,
Object value,
int row,
ITimeSpan span) |
Component |
ISpreadsheetCellRenderer.getSpreadsheetCellRendererComponent(SpreadsheetLayer spreadsheet,
Object node,
Object value,
boolean selected,
int row,
ITimeSpan span,
boolean hasFocus)
Returns a component for rendering the value of a specific cell in the
given spreadsheet.
|
Component |
DefaultSpreadsheetCellRenderer.getSpreadsheetCellRendererComponent(SpreadsheetLayer spreadsheet,
Object node,
Object value,
boolean selected,
int row,
ITimeSpan span,
boolean hasFocus) |
protected void |
DatelineLayer.paintHorizonLimits(ITimeSpan horizon,
Graphics g)
Draws the visual feedback for the horizon used by the
Dateline. |
void |
SpreadsheetLayer.setEditingTimeSpan(ITimeSpan span)
Sets the time span at which editing currently takes place.
|
| Constructor and Description |
|---|
DragLayerEvent(DragLayer layer,
DragLayerEvent.ID id,
ObjectBounds draggedObjectBounds,
ITimeSpan span,
int dropAction)
Constructs a new event object.
|
LassoLayerEvent(LassoLayer layer,
LassoLayerEvent.ID id,
ITimeSpan span,
int startRow,
int endRow,
LassoLayer.LassoMode lassoMode)
Constructs a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
TimelineObjectLayer.getTimeSpanUsed() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<TimelineObjectPath> |
DefaultTimelineObjectSelectionModel.getSelection(TreePath path,
ITimeSpan span) |
Iterator<TimelineObjectPath> |
ITimelineObjectSelectionModel.getSelection(TreePath path,
ITimeSpan span)
Returns all timeline objects for the given node and time span that are
currently selected.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
MacTimeGranularityDatelineRenderer.getDatelineRendererComponent(Dateline dateline,
TimeGranularityDatelineModel model,
ITimeSpan timeSpan,
boolean major,
boolean focus) |
protected void |
MacDateline.paintCell(Graphics g,
ITimeSpan span,
int x,
int y,
int width,
int height,
boolean major,
boolean focus) |
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
PrintContext.getTimeSpan()
Returns the time span that needs to be printed.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PrintGanttChart.copySettings(Dateline from,
Dateline to,
ITimeSpan span,
boolean initialCopy)
Copies the settings from one dateline to another.
|
void |
PrintGanttChart.print(boolean preview,
ITimeSpan span)
Method not supported by the printable Gantt chart.
|
void |
PrintContext.setTimeSpan(ITimeSpan span)
Returns the time span that needs to be printed.
|
| Modifier and Type | Method and Description |
|---|---|
ITimeSpan |
Dateline.getFocusedTimeSpan()
Returns the currently focused time span.
|
ITimeSpan |
Dateline.getSelectedTimeSpan()
Returns the selected time span.
|
ITimeSpan |
TimeGranularityTimelineControlPanel.getTimeSpan() |
ITimeSpan |
SimpleGranularityTimelineControlPanel.getTimeSpan() |
ITimeSpan |
AbstractDatelineRenderer.getTimeSpan()
Returns the time span that is currently being rendered.
|
ITimeSpan |
Dateline.getTimeSpan()
Returns the time span represented by the dateline.
|
abstract ITimeSpan |
AbstractTimelineControlPanel.getTimeSpan()
Returns the time span shown by the panel (not the timeline)
|
ITimeSpan |
EventlineObjectPanel.getTimeSpan()
Returns the time span entered inside the panel.
|
ITimeSpan |
TimeGranularityDatelineModel.getTimeSpanAt(int x,
boolean major) |
ITimeSpan |
SimpleGranularityDatelineModel.getTimeSpanAt(int x,
boolean major) |
ITimeSpan |
Dateline.getTimeSpanAt(int x,
boolean major)
Returns the time span in which the given x-coordinate is located.
|
ITimeSpan |
Dateline.getTimeSpanAt(Point p)
Returns the time span in which the given point is located.
|
ITimeSpan |
Dateline.getVisibleTimeSpan()
Returns the currently visible time span.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
AbstractDatelineRenderer.getDatelineRendererComponent(Dateline dateline,
T model,
ITimeSpan timeSpan,
boolean major,
boolean focus)
Returns the renderer component that will be used by the dateline to
render a time span that can be located on the major or the minor part of
the dateline.
|
Component |
TimeGranularityDatelineRenderer.getDatelineRendererComponent(Dateline dateline,
T model,
ITimeSpan timeSpan,
boolean major,
boolean focus) |
Component |
SimpleGranularityDatelineRenderer.getDatelineRendererComponent(Dateline dateline,
T model,
ITimeSpan timeSpan,
boolean major,
boolean focus) |
Component |
IDatelineRenderer.getDatelineRendererComponent(Dateline dateline,
T model,
ITimeSpan timeSpan,
boolean major,
boolean focus)
Returns the renderer component that will be used by the dateline to
render a time span that can be located on the major or the minor part of
the dateline.
|
JPopupMenu |
IDatelineMenuProvider.getPopupMenu(Dateline eventline,
MouseEvent e,
boolean major,
long timePoint,
ITimeSpan span)
Returns a popup menu for the given eventline.
|
JPopupMenu |
DefaultDatelineMenuProvider.getPopupMenu(Dateline dateline,
MouseEvent e,
boolean major,
long timePoint,
ITimeSpan span) |
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.
|
protected void |
Dateline.paintCell(Graphics g,
ITimeSpan span,
int x,
int y,
int width,
int height,
boolean major,
boolean focus)
Draws the content of a single time span cell.
|
protected void |
Eventline.paintEventlineObject(Graphics g,
Object obj,
ITimeSpan objSpan)
Draws an eventline object with the given time span.
|
void |
TimeGranularityDatelineModel.requestVisibleTimeSpan(ITimeSpan span) |
void |
SimpleGranularityDatelineModel.requestVisibleTimeSpan(ITimeSpan span) |
void |
Dateline.requestVisibleTimeSpan(ITimeSpan span)
Requests that the given time span will be made visible.
|
void |
Dateline.setFocusedTimeSpan(ITimeSpan span)
Sets a new time span as the 'focused' time span.
|
void |
Dateline.setSelectedTimeSpan(ITimeSpan span)
Sets the selected time span.
|
protected void |
TimeGranularityTimelineControlPanel.setTimeSpan(ITimeSpan span) |
protected void |
SimpleGranularityTimelineControlPanel.setTimeSpan(ITimeSpan span) |
void |
Dateline.setTimeSpan(ITimeSpan span)
Sets the time span represented by the dateline.
|
protected abstract void |
AbstractTimelineControlPanel.setTimeSpan(ITimeSpan span)
Sets the time span shown by the panel (not on the timeline, updates the
start and end spinner).
|
void |
EventlineObjectPanel.setTimeSpan(ITimeSpan span)
Sets the time span that will be displayed by the panel.
|
| 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.
|
TimeGranularityDatelineModel(Dateline dateline,
ITimeSpan timeSpan)
Constructs a new dateline model.
|
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.
|
TimeGranularityDatelineModel(Dateline dateline,
ITimeSpan timeSpan,
TimeZone zone)
Constructs a new dateline model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeTableContainer.print(boolean preview,
ITimeSpan span) |
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.