Uses of Interface
com.dlsc.flexgantt.model.ITimeSpan

Packages that use ITimeSpan
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.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. 
 

Uses of ITimeSpan in com.dlsc.flexgantt.command.eventline
 

Methods in com.dlsc.flexgantt.command.eventline that return ITimeSpan
 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.
 

Methods in com.dlsc.flexgantt.command.eventline with parameters of type ITimeSpan
 void DefaultCreateEventlineObjectCommand.setTimeSpan(ITimeSpan span)
          Specifies the time span that will be assigned to the newly created eventline object.
 

Constructors in com.dlsc.flexgantt.command.eventline with parameters of type ITimeSpan
DefaultChangeEventlineObjectTimeSpanCommand(IEventlineObject object, DefaultEventlineModel model, ITimeSpan span)
          Constructs a new command.
DefaultCreateEventlineObjectCommand(DefaultEventlineModel model, ITimeSpan span)
          Constructs a new command.
 

Uses of ITimeSpan in com.dlsc.flexgantt.command.layer
 

Methods in com.dlsc.flexgantt.command.layer that return ITimeSpan
 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 DefaultCreateTimelineObjectCommand.getTimeSpan()
          Returns the time span where the newly created timeline object will be placed.
 

Methods in com.dlsc.flexgantt.command.layer with parameters of type ITimeSpan
 void DefaultCreateTimelineObjectCommand.setTimeSpan(ITimeSpan span)
          Sets the time span where the newly created timeline object will be placed.
 

Constructors in com.dlsc.flexgantt.command.layer with parameters of type ITimeSpan
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.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model
 

Classes in com.dlsc.flexgantt.model with type parameters of type ITimeSpan
 class TimeSpanIterator<T extends ITimeSpan>
          An iterator implementation specialized on iterating over a list of ITimeSpan elements.
 

Classes in com.dlsc.flexgantt.model that implement ITimeSpan
 class TimeSpan
          An implementation of the ITimeSpan interface.
 

Fields in com.dlsc.flexgantt.model declared as ITimeSpan
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.
 

Methods in com.dlsc.flexgantt.model that return ITimeSpan
 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 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.
 ITimeSpan TimeSpan.union(ITimeSpan span)
           
 

Methods in com.dlsc.flexgantt.model with parameters of type ITimeSpan
 int TimeSpanComparator.compare(ITimeSpan span1, ITimeSpan span2)
          Compares two time spans with each other.
 int TimeSpan.compareTo(ITimeSpan span)
           
 boolean ITimeSpan.contains(ITimeSpan span)
          Checks whether the time span contains the given time span.
 boolean TimeSpan.contains(ITimeSpan span)
           
 boolean ITimeSpan.endsAfter(ITimeSpan span)
          Checks whether the given time span ends after this time span.
 boolean TimeSpan.endsAfter(ITimeSpan span)
           
 boolean ITimeSpan.endsBefore(ITimeSpan span)
          Checks whether the given time span ends before this time span.
 boolean TimeSpan.endsBefore(ITimeSpan span)
           
 boolean ITimeSpan.equalDuration(ITimeSpan span)
          Checks whether the given time span has exactly the same duration as this time span.
 boolean TimeSpan.equalDuration(ITimeSpan span)
           
 boolean ITimeSpan.equals(ITimeSpan span)
          Two time spans are considered equal if their start times and their end times are identical.
 boolean TimeSpan.equals(ITimeSpan span)
           
 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, java.util.TimeZone timeZone)
          Returns the number of hours or minutes or days between the start and the end time of the given time span.
 boolean ITimeSpan.intersects(ITimeSpan span)
          Checks whether the given time span intersects with this time span.
 boolean TimeSpan.intersects(ITimeSpan span)
           
 boolean ITimeSpan.startsAfter(ITimeSpan span)
          Checks whether the given time span starts after this time span.
 boolean TimeSpan.startsAfter(ITimeSpan span)
           
 boolean ITimeSpan.startsBefore(ITimeSpan span)
          Checks whether the given time span starts before this time span.
 boolean TimeSpan.startsBefore(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.
 ITimeSpan TimeSpan.union(ITimeSpan span)
           
 

Constructors in com.dlsc.flexgantt.model with parameters of type ITimeSpan
TimeSpan(ITimeSpan span)
          Constructs a new time span based on an already existing time span.
TimeSpanIterator(java.util.List<T> timeSpanList, ITimeSpan span)
          Constructs a new time span iterator.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model.bookmarks
 

Constructors in com.dlsc.flexgantt.model.bookmarks with parameters of type ITimeSpan
Bookmark(long timePoint, ITimeSpan span, IGranularity granularity, java.lang.String name)
          Constructs a new page.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model.calendar
 

Methods in com.dlsc.flexgantt.model.calendar that return ITimeSpan
 ITimeSpan AbstractEntryCalendarModel.getCalendarEntryTimeSpan(S entry)
           
 ITimeSpan ICalendarModel.getCalendarEntryTimeSpan(S entry)
          Returns the time span allocated to a calendar entry.
 ITimeSpan ICalendarEntry.getTimeSpan()
          Returns the time span of the calendar entry.
 ITimeSpan AbstractCalendarEntry.getTimeSpan()
           
 

Methods in com.dlsc.flexgantt.model.calendar with parameters of type ITimeSpan
protected  java.util.List<S> TimeGranularityCalendarModel.calculateEntries(IDatelineModel model, ITimeSpan span)
          Performs the actual calculation of the calendar entries that are located within the given time span.
 java.util.Iterator<S> TimeGranularityCalendarModel.getCalendarEntries(IDatelineModel model, ITimeSpan span)
           
 java.util.Iterator<S> ICalendarModel.getCalendarEntries(IDatelineModel model, ITimeSpan span)
          Returns an iterator for iterating over all calendar entries within the given time span.
 java.util.Iterator<S> TimeGranularityCalendarModel.getCalendarEntries(IDatelineModel model, T node, ITimeSpan span)
           
 java.util.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.
 

Constructors in com.dlsc.flexgantt.model.calendar with parameters of type ITimeSpan
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.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model.dateline
 

Fields in com.dlsc.flexgantt.model.dateline declared as ITimeSpan
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.
 

Methods in com.dlsc.flexgantt.model.dateline that return ITimeSpan
 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.
 

Methods in com.dlsc.flexgantt.model.dateline with parameters of type ITimeSpan
 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)
           
 

Constructors in com.dlsc.flexgantt.model.dateline with parameters of type ITimeSpan
AbstractDatelineModel(ITimeSpan timeSpan, java.util.TimeZone timeZone)
          Constructs a new dateline model.
DatelineModelEvent(IDatelineModel model, DatelineModelEvent.ID id, ITimeSpan requestedVisibleTimeSpan)
          Constructs a new dateline model event.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model.eventline
 

Methods in com.dlsc.flexgantt.model.eventline that return ITimeSpan
 ITimeSpan DefaultEventlineModel.getTimeSpan(T eventlineObject)
           
 ITimeSpan IEventlineModel.getTimeSpan(T eventlineObject)
          Returns the time span allocated to the given object.
 

Methods in com.dlsc.flexgantt.model.eventline with parameters of type ITimeSpan
 java.util.Iterator<T> DefaultEventlineModel.getEventlineObjectsIterator(ITimeSpan span)
           
 java.util.Iterator<T> IEventlineModel.getEventlineObjectsIterator(ITimeSpan span)
          Returns an iterator for those eventline objects that are placed on the eventline during the given span.
 void DefaultEventlineModel.setTimeSpan(T eventlineObject, ITimeSpan span)
          Sets a new time span on the given eventline object.
 

Constructors in com.dlsc.flexgantt.model.eventline with parameters of type ITimeSpan
DefaultEventlineObject(ITimeSpan timeSpan)
          Constructs a new eventline object.
DefaultEventlineObject(java.lang.String name, ITimeSpan timeSpan)
          Constructs a new eventline object.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model.gantt
 

Methods in com.dlsc.flexgantt.model.gantt that return ITimeSpan
 ITimeSpan ITimelineObject.getTimeSpan()
          Returns the time allocation of the timeline object.
 ITimeSpan DefaultTimelineObject.getTimeSpan()
           
 ITimeSpan GanttChartModelEvent.getTimeSpan()
          Returns the time span that was affected by the change.
 ITimeSpan IGanttChartModel.getTimeSpan(S timelineObject)
          Returns the time span of the given timeline object.
 ITimeSpan DefaultGanttChartModel.getTimeSpan(S timelineObject)
           
 

Methods in com.dlsc.flexgantt.model.gantt with parameters of type ITimeSpan
 java.util.Iterator<T> IGanttChartNode.getTimelineObjectsIterator(ILayer layer, ITimeSpan span)
          Returns an iterator for all timeline objects on the given layer for the given time span.
 java.util.Iterator<S> DefaultGanttChartNode.getTimelineObjectsIterator(ILayer layer, ITimeSpan span)
           
 java.util.Iterator<S> DefaultGanttChartNode.getTimelineObjectsIterator(ITimeSpan span)
          Returns an iterator for all timeline objects on all layers for the given time span.
 java.util.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.
 java.util.Iterator<S> DefaultGanttChartModel.getTimelineObjectsIterator(T node, ILayer layer, ITimeSpan span)
           
 boolean IGanttChartNode.isSelectable(ITimeSpan span)
          Determines whether the given time span can be selected for the node.
 boolean DefaultGanttChartNode.isSelectable(ITimeSpan span)
           
 void ITimelineObject.setTimeSpan(ITimeSpan span)
          Sets the time allocation of the timeline object.
 void DefaultTimelineObject.setTimeSpan(ITimeSpan span)
           
 void DefaultGanttChartModel.setTimeSpan(S timelineObject, ITimeSpan span)
          Sets a new time span on the given timeline object.
 

Constructors in com.dlsc.flexgantt.model.gantt with parameters of type ITimeSpan
BinarySearchTimelineObjectIterator(java.util.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(java.lang.String name, ITimeSpan timeSpan)
          Constructs a new activity object.
DefaultActivityObject(java.lang.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(java.lang.String name, ITimeSpan timeSpan)
          Constructs a new capacity object.
DefaultCapacityObject(java.lang.String name, ITimeSpan timeSpan, double capacityUsed)
          Constructs a new capacity object.
DefaultEventObject(ITimeSpan timeSpan)
          Constructs a new event object.
DefaultEventObject(java.lang.String name, ITimeSpan timeSpan)
          Constructs a new event object.
DefaultTimelineObject(ITimeSpan timeSpan)
          Constructs a new timeline object.
DefaultTimelineObject(java.lang.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, java.lang.Object timelineObject, ITimeSpan timeSpan)
          Constructs a new model event.
LinearSearchTimelineObjectIterator(java.util.List<T> objectList, ITimeSpan span)
          Constructs a new iterator object.
LinearSearchTimelineObjectIterator(java.util.List<T> objectList, ITimeSpan span, boolean reverse)
          Constructs a new iterator object.
 

Uses of ITimeSpan in com.dlsc.flexgantt.model.paging
 

Methods in com.dlsc.flexgantt.model.paging that return ITimeSpan
 ITimeSpan Page.getTimeSpan()
          Returns the time span represented by the page.
 

Constructors in com.dlsc.flexgantt.model.paging with parameters of type ITimeSpan
Page(ITimeSpan span, java.lang.String name)
          Constructs a new page.
 

Uses of ITimeSpan in com.dlsc.flexgantt.policy.eventline
 

Methods in com.dlsc.flexgantt.policy.eventline with parameters of type ITimeSpan
 ICommand DefaultEditEventlineObjectPolicy.getChangeTimeSpanCommand(java.lang.Object eventlineObject, IEventlineModel model, ITimeSpan span)
           
 ICommand IEditEventlineObjectPolicy.getChangeTimeSpanCommand(java.lang.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.
 

Uses of ITimeSpan in com.dlsc.flexgantt.policy.gantt
 

Methods in com.dlsc.flexgantt.policy.gantt with parameters of type ITimeSpan
 java.lang.String IStatusBarPolicy.getTimeSpanString(IDatelineModel model, ITimeSpan span)
          Returns a string representing the given time span.
 java.lang.String TimeGranularityStatusBarPolicy.getTimeSpanString(IDatelineModel model, ITimeSpan span)
           
 java.lang.String SimpleGranularityStatusBarPolicy.getTimeSpanString(IDatelineModel model, ITimeSpan span)
           
 

Uses of ITimeSpan in com.dlsc.flexgantt.policy.layer
 

Methods in com.dlsc.flexgantt.policy.layer that return ITimeSpan
 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.
 

Methods in com.dlsc.flexgantt.policy.layer with parameters of type ITimeSpan
 ICommand IEditTimelineObjectPolicy.getChangeTimeSpanCommand(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, ILayer layer, ITimeSpan span, int dropAction)
          Returns a command object that will perform the actual change of the timeline object's time span.
 ICommand DefaultEditTimelineObjectPolicy.getChangeTimeSpanCommand(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, ILayer layer, ITimeSpan span, int dropAction)
           
 ICommand IEditTimelineObjectPolicy.getCreateCommand(java.lang.Object node, IGanttChartModel model, ILayer layer, ITimeSpan span, int lineIndex)
          Returns a command object that will perform the creation of a new timeline object.
 ICommand DefaultEditTimelineObjectPolicy.getCreateCommand(java.lang.Object node, IGanttChartModel model, ILayer layer, ITimeSpan span, int lineIndex)
           
 java.lang.Object IDragInfoPolicy.getDragInfo(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, java.lang.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).
 java.lang.Object DefaultDragInfoPolicy.getDragInfo(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, java.lang.Object dropNode, ITimeSpan dropSpan)
           
 java.lang.Object TimeGranularityDragInfoPolicy.getDragInfo(java.lang.Object node, java.lang.Object timelineObject, IGanttChartModel model, java.lang.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 IEditTimelineObjectPolicy.isCreatable(java.lang.Object node, IGanttChartModel model, ITimeSpan span)
          Decides whether the timeline object may be deleted.
 boolean DefaultEditTimelineObjectPolicy.isCreatable(java.lang.Object node, IGanttChartModel model, ITimeSpan span)
           
 boolean ISelectionPolicy.isSelectable(java.lang.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(java.lang.Object node, ITimeSpan span, IGanttChartModel model)
           
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing
 

Methods in com.dlsc.flexgantt.swing that return ITimeSpan
 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.
 

Methods in com.dlsc.flexgantt.swing with parameters of type ITimeSpan
protected  java.lang.String GanttChartStatusBar.format(ITimeSpan span)
          Formats the given time span with the Gantt chart's status bar policy.
 void GanttChart.print(boolean preview, ITimeSpan span)
           
 void DualGanttChart.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.
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing.layer
 

Methods in com.dlsc.flexgantt.swing.layer that return ITimeSpan
 ITimeSpan AbstractLayer.getTimeSpanUsed()
          Returns the time span that is used by the layer.
 ITimeSpan LayerContainer.getTimeSpanUsed()
          Returns the time span used by the layer container.
 

Methods in com.dlsc.flexgantt.swing.layer that return types with arguments of type ITimeSpan
 java.util.Iterator<ITimeSpan> DefaultLayerContainerSelectionModel.getSelectedTimeSpans(java.lang.Object owner, ITimeSpan span)
           
 java.util.Iterator<ITimeSpan> ILayerContainerSelectionModel.getSelectedTimeSpans(java.lang.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.
 java.util.List<ITimeSpan> TimeSpanSelectionEvent.getTimeSpans()
          Returns the added / removed time spans.
 

Methods in com.dlsc.flexgantt.swing.layer with parameters of type ITimeSpan
 void DefaultLayerContainerSelectionModel.addSelectedTimeSpan(java.lang.Object node, ITimeSpan span)
           
 void ILayerContainerSelectionModel.addSelectedTimeSpan(java.lang.Object node, ITimeSpan span)
          Adds a time span to the list of selected time spans of the given tree table node object.
 java.util.Iterator<ITimeSpan> DefaultLayerContainerSelectionModel.getSelectedTimeSpans(java.lang.Object owner, ITimeSpan span)
           
 java.util.Iterator<ITimeSpan> ILayerContainerSelectionModel.getSelectedTimeSpans(java.lang.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(java.lang.Object node, ITimeSpan span)
           
 boolean ILayerContainerSelectionModel.isSelected(java.lang.Object node, ITimeSpan span)
          Returns TRUE if the given time span is currently selected on the given tree table node.
 void DefaultLayerContainerSelectionModel.removeSelectedTimeSpan(java.lang.Object node, ITimeSpan removedSpan)
           
 void ILayerContainerSelectionModel.removeSelectedTimeSpan(java.lang.Object node, ITimeSpan span)
          Removes a time span from the list of selected time spans of the given tree table node object.
 

Method parameters in com.dlsc.flexgantt.swing.layer with type arguments of type ITimeSpan
protected  void DefaultLayerContainerSelectionModel.fireTimeSpansAdded(java.lang.Object node, java.util.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(java.lang.Object node, java.util.List<ITimeSpan> spans)
          Sends a TimeSpanSelectionEvent to all listeners informing them that time spans have been removed from the selection model.
 

Constructor parameters in com.dlsc.flexgantt.swing.layer with type arguments of type ITimeSpan
TimeSpanSelectionEvent(ILayerContainerSelectionModel model, java.lang.Object node, java.util.List<ITimeSpan> timeSpans)
          Constructs a new event.
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing.layer.system
 

Methods in com.dlsc.flexgantt.swing.layer.system that return ITimeSpan
protected  ITimeSpan DefaultRowRenderer.getTimeSpan()
          Returns the time span that is currently being drawn by the renderer.
protected  ITimeSpan DefaultDragRowRenderer.getTimeSpan()
          Returns the time span where the dragged timeline object would be dropped.
 ITimeSpan DragLayerEvent.getTimeSpan()
          Returns the time span to which the dragged object has been moved (or resized) by the user.
 

Methods in com.dlsc.flexgantt.swing.layer.system with parameters of type ITimeSpan
 java.awt.Component IDragInfoRenderer.getDragInfoRendererComponent(DragLayer layer, java.lang.Object node, java.lang.Object timelineObject, java.lang.Object dragInfo, ITimeSpan span, int dndAction)
          Returns a component that will be used to render the drag information.
 java.awt.Component DefaultDragInfoRenderer.getDragInfoRendererComponent(DragLayer layer, java.lang.Object node, java.lang.Object timelineObject, java.lang.Object dragInfo, ITimeSpan span, int dragAction)
           
 java.awt.Component DefaultDragRowRenderer.getDragRowRendererComponent(DragLayer layer, java.lang.Object node, java.lang.Object dragNode, java.lang.Object draggedTimelineObject, ITimeSpan span, int userDropAction)
           
 java.awt.Component IDragRowRenderer.getDragRowRendererComponent(DragLayer layer, java.lang.Object node, java.lang.Object dragNode, java.lang.Object draggedTimelineObject, ITimeSpan span, int userDropAction)
          Returns a component that will be used to render the row specific drag and drop information.
 java.awt.Component DefaultResourceRowRenderer.getRowRendererComponent(RowLayer layer, java.lang.Object node, boolean selected, int row, ITimeSpan span, boolean hasFocus)
           
 java.awt.Component DefaultRowRenderer.getRowRendererComponent(RowLayer layer, java.lang.Object node, boolean selected, int row, ITimeSpan span, boolean hasFocus)
           
 java.awt.Component IRowRenderer.getRowRendererComponent(RowLayer layer, java.lang.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).
 

Constructors in com.dlsc.flexgantt.swing.layer.system with parameters of type ITimeSpan
DragLayerEvent(DragLayer layer, DragLayerEvent.ID id, java.lang.Object draggedObject, ITimeSpan span, int dropAction)
          Constructs a new event object.
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing.layer.timeline
 

Methods in com.dlsc.flexgantt.swing.layer.timeline that return ITimeSpan
 ITimeSpan TimelineObjectLayer.getTimeSpanUsed()
           
 

Methods in com.dlsc.flexgantt.swing.layer.timeline with parameters of type ITimeSpan
 java.util.Iterator<TimelineObjectPath> DefaultTimelineObjectLayerSelectionModel.getSelection(javax.swing.tree.TreePath path, ITimeSpan span)
           
 java.util.Iterator<TimelineObjectPath> ITimelineObjectLayerSelectionModel.getSelection(javax.swing.tree.TreePath path, ITimeSpan span)
          Returns all timeline objects for the given node and time span that are currently selected.
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing.print
 

Methods in com.dlsc.flexgantt.swing.print that return ITimeSpan
 ITimeSpan PrintContext.getTimeSpan()
          Returns the time span that needs to be printed.
 

Methods in com.dlsc.flexgantt.swing.print with parameters of type ITimeSpan
protected  void PrintGanttChart.copySettings(Dateline from, Dateline to, ITimeSpan span)
          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.
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing.timeline
 

Methods in com.dlsc.flexgantt.swing.timeline that return ITimeSpan
 ITimeSpan Dateline.getFocusedTimeSpan()
          Returns the currently focused time span.
 ITimeSpan Dateline.getSelectedTimeSpan()
          Returns the selected time span.
abstract  ITimeSpan AbstractTimelineControlPanel.getTimeSpan()
          Returns the time span shown by the panel (not the timeline)
 ITimeSpan AbstractDatelineRenderer.getTimeSpan()
          Returns the time span that is currently being rendered.
 ITimeSpan TimeGranularityTimelineControlPanel.getTimeSpan()
           
 ITimeSpan Dateline.getTimeSpan()
          Returns the time span represented by the dateline.
 ITimeSpan SimpleGranularityTimelineControlPanel.getTimeSpan()
           
 ITimeSpan EventlineObjectPanel.getTimeSpan()
          Returns the time span entered inside the panel.
 ITimeSpan Dateline.getTimeSpanAt(int x, boolean major)
          Returns the time span in which the given x-coordinate is located.
 ITimeSpan SimpleGranularityDatelineModel.getTimeSpanAt(int x, boolean major)
           
 ITimeSpan TimeGranularityDatelineModel.getTimeSpanAt(int x, boolean major)
           
 ITimeSpan Dateline.getVisibleTimeSpan()
          Returns the currently visible time span.
 

Methods in com.dlsc.flexgantt.swing.timeline with parameters of type ITimeSpan
 java.awt.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.
 java.awt.Component TimeGranularityDatelineRenderer.getDatelineRendererComponent(Dateline dateline, T model, ITimeSpan timeSpan, boolean major, boolean focus)
           
 java.awt.Component SimpleGranularityDatelineRenderer.getDatelineRendererComponent(Dateline dateline, T model, ITimeSpan timeSpan, boolean major, boolean focus)
           
 java.awt.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.
 javax.swing.JPopupMenu IDatelineMenuProvider.getPopupMenu(Dateline eventline, java.awt.event.MouseEvent e, boolean major, long timePoint, ITimeSpan span)
          Returns a popup menu for the given eventline.
 javax.swing.JPopupMenu DefaultDatelineMenuProvider.getPopupMenu(Dateline dateline, java.awt.event.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(java.awt.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(java.awt.Graphics g, java.lang.Object obj, ITimeSpan objSpan)
          Draws an eventline object with the given time span.
 void Dateline.requestVisibleTimeSpan(ITimeSpan span)
          Requests that the given time span will be made visible.
 void SimpleGranularityDatelineModel.requestVisibleTimeSpan(ITimeSpan span)
           
 void TimeGranularityDatelineModel.requestVisibleTimeSpan(ITimeSpan span)
           
 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 abstract  void AbstractTimelineControlPanel.setTimeSpan(ITimeSpan span)
          Sets the time span shown by the panel (not on the timeline, updates the start and end spinner).
protected  void TimeGranularityTimelineControlPanel.setTimeSpan(ITimeSpan span)
           
 void Dateline.setTimeSpan(ITimeSpan span)
          Sets the time span represented by the dateline.
protected  void SimpleGranularityTimelineControlPanel.setTimeSpan(ITimeSpan span)
           
 void EventlineObjectPanel.setTimeSpan(ITimeSpan span)
          Sets the time span that will be displayed by the panel.
 

Constructors in com.dlsc.flexgantt.swing.timeline with parameters of type ITimeSpan
SimpleGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, SimpleGranularity sg)
          Constructs a new dateline model.
SimpleGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, SimpleGranularity sg, java.util.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, java.util.TimeZone zone)
          Constructs a new dateline model.
TimeGranularityDatelineModel(Dateline dateline, ITimeSpan timeSpan, java.util.TimeZone zone)
          Constructs a new dateline model.
 

Uses of ITimeSpan in com.dlsc.flexgantt.swing.treetable
 

Methods in com.dlsc.flexgantt.swing.treetable with parameters of type ITimeSpan
 void TreeTableContainer.print(boolean preview, ITimeSpan span)