Package | Description |
---|---|
com.dlsc.flexgantt.command.layer |
Contains layer-specific commands.
|
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.scheduling |
Contains supporting classes for basic scheduling operations
and constraint resolutions.
|
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.
|
Modifier and Type | Method and Description |
---|---|
TimelineObjectPath |
DefaultCreateRelationshipCommand.getSourcePath()
The path to the timeline object that will be used as the source of the
relationship.
|
TimelineObjectPath |
DefaultCreateConstraintCommand.getSourcePath()
The path to the timeline object that will be used as the source of the
constraint.
|
TimelineObjectPath |
DefaultCreateRelationshipCommand.getTargetPath()
The path to the timeline object that will be used as the target of the
relationship.
|
TimelineObjectPath |
DefaultCreateConstraintCommand.getTargetPath()
The path to the timeline object that will be used as the target of the
constraint.
|
Modifier and Type | Method and Description |
---|---|
protected IConstraint |
DefaultCreateConstraintCommand.createConstraint(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath)
Creates the constraint object, which stores the source and the target
path.
|
protected IConstraint |
DefaultCreateConstraintCommand.createConstraint(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath)
Creates the constraint object, which stores the source and the target
path.
|
protected IRelationship |
DefaultCreateRelationshipCommand.createRelationship(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath)
Creates the relationship object, which stores the source and the target
path.
|
protected IRelationship |
DefaultCreateRelationshipCommand.createRelationship(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath)
Creates the relationship object, which stores the source and the target
path.
|
Constructor and Description |
---|
DefaultCreateConstraintCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
DefaultGanttChartModel model)
Constructs a new command.
|
DefaultCreateConstraintCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
DefaultGanttChartModel model)
Constructs a new command.
|
DefaultCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
DefaultGanttChartModel model)
Constructs a new command.
|
DefaultCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
DefaultGanttChartModel model)
Constructs a new command.
|
Constructor and Description |
---|
DefaultChangeMultipleTimelineObjectsTimeSpanCommand(DefaultGanttChartModel model,
List<TimelineObjectPath> timelineObjects,
List<ITimeSpan> timeSpans,
int dropAction)
Constructs a new command.
|
DefaultDeleteMultipleTimelineObjectsCommand(DefaultGanttChartModel model,
Collection<TimelineObjectPath> timelineObjects)
Constructs a new command.
|
Modifier and Type | Method and Description |
---|---|
TimelineObjectPath<T> |
IRelationship.getSourcePath()
Returns the tree path information that can be used to locate the row on
which the source timeline object is displayed.
|
TimelineObjectPath<T> |
DefaultRelationship.getSourcePath() |
TimelineObjectPath<T> |
IRelationship.getTargetPath()
Returns the tree path information that can be used to locate the row on
which the target timeline object is displayed.
|
TimelineObjectPath<T> |
DefaultRelationship.getTargetPath() |
TimelineObjectPath |
DefaultGanttChartModel.getTimelineObjectPath(T node,
S timelineObject,
ILayer layer)
Returns a timeline object path for the given node and object.
|
TimelineObjectPath[] |
GanttChartModelEvent.getTimelineObjectPaths()
Returns the timeline objects that were affected by the change.
|
Modifier and Type | Method and Description |
---|---|
void |
IRelationship.setSourcePath(TimelineObjectPath<T> path)
Sets a new tree path that can be used to locate the row on which the
source timeline object is displayed.
|
void |
DefaultRelationship.setSourcePath(TimelineObjectPath<T> path) |
void |
IRelationship.setTargetPath(TimelineObjectPath<T> path)
Sets a new tree path that can be used to locate the row on which the
target timeline object is displayed.
|
void |
DefaultRelationship.setTargetPath(TimelineObjectPath<T> path) |
Constructor and Description |
---|
DefaultRelationship(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new relationship object.
|
DefaultRelationship(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new relationship object.
|
DefaultRelationship(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new relationship object.
|
DefaultRelationship(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new relationship object.
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
Object node,
ILayer layer,
TimelineObjectPath[] timelineObjects)
Constructs a new model event.
|
GanttChartModelEvent(IGanttChartModel model,
GanttChartModelEvent.ID id,
TimelineObjectPath path)
Constructs a new model event.
|
Constructor and Description |
---|
AbstractConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new constraint.
|
AbstractConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new constraint.
|
AbstractConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new constraint.
|
AbstractConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new constraint.
|
ConstraintViolationMessage(IConstraint constraint,
Violation violation,
IModelValidator modelValidator,
String text,
Object details,
TimelineObjectPath path)
Constructs a new constraint violation message.
|
ConstraintViolationMessage(IConstraint constraint,
Violation violation,
IModelValidator modelValidator,
String text,
TimelineObjectPath path)
Constructs a new constraint violation message.
|
ConstraintViolationMessage(IConstraint constraint,
Violation violation,
MessageTypeId id,
IModelValidator modelValidator,
String text,
Date time,
TimelineObjectPath path)
Constructs a new constraint violation message.
|
ConstraintViolationMessage(IConstraint constraint,
Violation violation,
MessageTypeId id,
IModelValidator modelValidator,
String text,
Object details,
Date time,
TimelineObjectPath path)
Constructs a new constraint violation message.
|
ConstraintViolationMessage(IConstraint constraint,
Violation violation,
MessageTypeId id,
IModelValidator modelValidator,
String text,
Object details,
TimelineObjectPath path)
Constructs a new constraint violation message.
|
ConstraintViolationMessage(IConstraint constraint,
Violation violation,
MessageTypeId id,
IModelValidator modelValidator,
String text,
TimelineObjectPath path)
Constructs a new constraint violation message.
|
SimpleGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new constraint.
|
SimpleGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new constraint.
|
SimpleGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new constraint.
|
SimpleGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new constraint.
|
TimeGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new constraint.
|
TimeGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new constraint.
|
TimeGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new constraint.
|
TimeGranularityConstraint(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath,
RelationshipType type)
Constructs a new constraint.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
DefaultEditCapacityObjectPolicy.getChangeCapacityCommand(TimelineObjectPath path,
IGanttChartModel model,
double newPercentage) |
ICommand |
IEditCapacityObjectPolicy.getChangeCapacityCommand(TimelineObjectPath path,
IGanttChartModel model,
double newCapacityUsed)
Returns a command object that will perform the actual change of the
capacity used value.
|
ICommand |
DefaultEditActivityObjectPolicy.getChangePercentageCommand(TimelineObjectPath path,
IGanttChartModel model,
double percentage) |
ICommand |
IEditActivityObjectPolicy.getChangePercentageCommand(TimelineObjectPath path,
IGanttChartModel model,
double percentage)
Returns a command object that will perform the actual change of the
percentage complete 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 |
IRelationshipPolicy.getCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
IGanttChartModel model)
Returns a command object that will perform the actual linking of the
source and target timeline objects by making the appropriate changes in
the model.
|
ICommand |
IRelationshipPolicy.getCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
IGanttChartModel model)
Returns a command object that will perform the actual linking of the
source and target timeline objects by making the appropriate changes in
the model.
|
ICommand |
DefaultConstraintPolicy.getCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
IGanttChartModel model) |
ICommand |
DefaultConstraintPolicy.getCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
IGanttChartModel model) |
ICommand |
DefaultRelationshipPolicy.getCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
IGanttChartModel model) |
ICommand |
DefaultRelationshipPolicy.getCreateRelationshipCommand(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
RelationshipType type,
IGanttChartModel model) |
int |
DefaultDragAndDropPolicy.getDragActions(TimelineObjectPath path,
IGanttChartModel model) |
int |
IDragAndDropPolicy.getDragActions(TimelineObjectPath path,
IGanttChartModel model)
Determines how the given timeline object can be dragged (copy, move, copy
or move, none).
|
ICommand |
DefaultDragAndDropPolicy.getDragAndDropCommand(TimelineObjectPath path,
IGanttChartModel model,
Object newNode,
IGanttChartModel newModel,
long newStartTime,
Object[] timelineObjects,
ILayer layer,
int dropAction) |
ICommand |
IDragAndDropPolicy.getDragAndDropCommand(TimelineObjectPath path,
IGanttChartModel model,
Object newNode,
IGanttChartModel newModel,
long newStartTime,
Object[] timelineObjects,
ILayer layer,
int dropAction)
Returns a command object that will be used to make the necessary
modifications to the models when the user dragged several timeline
objects from one row to another at the same time.
|
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) |
Object |
IDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
int rowHeight,
int y,
double capacityUsed)
Returns an object that can be used to show information while the user
interactively changes the capacity used value.
|
Object |
DefaultDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
int rowHeight,
int y,
double capacityUsed) |
Object |
IDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
long timePoint,
double percentageComplete)
Returns an object that can be used to show information while the user
interactively changes the percentage complete value.
|
Object |
DefaultDragInfoPolicy.getDragInfo(TimelineObjectPath path,
IGanttChartModel model,
long timePoint,
double percentageComplete) |
int |
DefaultDragAndDropPolicy.getDropActions(TimelineObjectPath path,
IGanttChartModel model,
Object newNode,
IGanttChartModel newModel,
long newStartTime) |
int |
IDragAndDropPolicy.getDropActions(TimelineObjectPath path,
IGanttChartModel model,
Object newNode,
IGanttChartModel newModel,
long newStartTime)
Determines whether the new location as specified by the new tree node,
new model and new time span can be used as a drop location for the given
timeline object.
|
String |
ICrosshairPolicy.getLabel(Object node,
TimelineObjectPath timelineObject,
IGanttChartModel model,
long time,
ICrosshairPolicy.LabelPosition position)
Returns a label that will be shown to the left/right and top/bottom of
the crosshair location.
|
String |
DefaultCrosshairPolicy.getLabel(Object node,
TimelineObjectPath path,
IGanttChartModel model,
long time,
ICrosshairPolicy.LabelPosition position) |
String |
DefaultLabelPolicy.getLabel(TimelineObjectPath path,
IGanttChartModel model,
LabelType type) |
String |
ILabelPolicy.getLabel(TimelineObjectPath path,
IGanttChartModel model,
LabelType type)
Returns various types of labels for a given timeline object.
|
Object |
IPopupPolicy.getPopupTitleValue(TimelineObjectPath path,
IGanttChartModel model)
Returns an object that can be utilized to provide a title for a popup of
a timeline object.
|
Object |
DefaultPopupPolicy.getPopupTitleValue(TimelineObjectPath path,
IGanttChartModel model) |
Object |
IPopupPolicy.getPopupValue(TimelineObjectPath path,
IGanttChartModel model,
boolean extended)
Returns an object that can be utilized to provide some kind of popup for
a timeline object.
|
Object |
DefaultPopupPolicy.getPopupValue(TimelineObjectPath path,
IGanttChartModel model,
boolean extended) |
RelationshipType[] |
IRelationshipPolicy.getSupportedRelationshipTypes(TimelineObjectPath path,
IGanttChartModel model)
Determines the types of relationships that are supported by the given
timeline object (end to start, start to end, start to start, end to end).
|
RelationshipType[] |
DefaultRelationshipPolicy.getSupportedRelationshipTypes(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
DefaultEditCapacityObjectPolicy.isCapacityChangeable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IEditCapacityObjectPolicy.isCapacityChangeable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether or not the capacity used value of the object can
be changed.
|
boolean |
DefaultEditTimelineObjectPolicy.isDeletable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IEditTimelineObjectPolicy.isDeletable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether the timeline object may be deleted.
|
boolean |
DefaultEditTimelineObjectPolicy.isDurationChangeable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IEditTimelineObjectPolicy.isDurationChangeable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether the duration of a timeline object may be edited /
changed.
|
boolean |
DefaultEditTimelineObjectPolicy.isInPlaceEditable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IEditTimelineObjectPolicy.isInPlaceEditable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether a timeline object can be edited with an editor where the
editor is usually an instance of
ITimelineObjectEditor . |
boolean |
DefaultLabelPolicy.isLabelTypeVisible(TimelineObjectPath path,
IGanttChartModel model,
LabelType type) |
boolean |
ILabelPolicy.isLabelTypeVisible(TimelineObjectPath path,
IGanttChartModel model,
LabelType type)
Determines whether or not a certain type of label will be shown for the
given timeline object or not.
|
boolean |
DefaultEditActivityObjectPolicy.isPercentageChangeable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IEditActivityObjectPolicy.isPercentageChangeable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether or not the percentage complete value of the given
activity object can be edited.
|
boolean |
IRelationshipPolicy.isRelationshipSource(TimelineObjectPath path,
IGanttChartModel model)
Determines whether the given timeline object can be used for creating a
relationship to another object.
|
boolean |
DefaultRelationshipPolicy.isRelationshipSource(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IRelationshipPolicy.isRelationshipTarget(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
IGanttChartModel model)
Determines whether the given source timeline object can be linked to the
given target timeline object.
|
boolean |
IRelationshipPolicy.isRelationshipTarget(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
IGanttChartModel model)
Determines whether the given source timeline object can be linked to the
given target timeline object.
|
boolean |
DefaultRelationshipPolicy.isRelationshipTarget(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
IGanttChartModel model) |
boolean |
DefaultRelationshipPolicy.isRelationshipTarget(TimelineObjectPath sourcePath,
TimelineObjectPath targetPath,
IGanttChartModel model) |
boolean |
ISelectionPolicy.isSelectable(TimelineObjectPath path,
IGanttChartModel model)
Returns TRUE if the given timeline object on the given node can be
selected by the user (or programmatically) or not.
|
boolean |
DefaultSelectionPolicy.isSelectable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
DefaultEditTimelineObjectPolicy.isStartTimeChangeable(TimelineObjectPath path,
IGanttChartModel model) |
boolean |
IEditTimelineObjectPolicy.isStartTimeChangeable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether the start time of a timeline object may be edited /
changed.
|
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.
|
ICommand |
DefaultEditTimelineObjectPolicy.getDeleteCommand(IGanttChartModel model,
Collection<TimelineObjectPath> timelineObjects) |
ICommand |
IEditTimelineObjectPolicy.getDeleteCommand(IGanttChartModel model,
Collection<TimelineObjectPath> timelineObjects)
Returns a command object that will perform the deletion of the given
timeline objects.
|
Modifier and Type | Method and Description |
---|---|
TimelineObjectPath |
ObjectBounds.getPath()
Returns a timeline object path based on the tree path, model layer, and
object stored inside the object bounds.
|
TimelineObjectPath |
TimelineObjectPathMessage.getTimelineObjectPath() |
TimelineObjectPath |
ITimelineObjectPathMessage.getTimelineObjectPath()
A path to the timeline object.
|
Constructor and Description |
---|
ObjectBounds(TimelineObjectPath path,
IGanttChartModel model,
int x,
int y,
int width,
int height,
TreeTableNode treeTableNode,
TimelineObjectLayer layer)
Constructs a new bounds object.
|
TimelineObjectPathMessage(MessageTypeId id,
String text,
Date time,
TimelineObjectPath path)
Constructs a new message.
|
TimelineObjectPathMessage(MessageTypeId id,
String text,
Object details,
Date time,
TimelineObjectPath path)
Constructs a new message.
|
TimelineObjectPathMessage(MessageTypeId id,
String text,
Object details,
TimelineObjectPath path)
Constructs a new message.
|
TimelineObjectPathMessage(MessageTypeId id,
String text,
TimelineObjectPath path)
Constructs a new message.
|
TimelineObjectPathMessage(String text,
Object details,
TimelineObjectPath path)
Constructs a new error message.
|
TimelineObjectPathMessage(String text,
TimelineObjectPath path)
Constructs a new information> message.
|
Modifier and Type | Method and Description |
---|---|
List<TimelineObjectPath> |
LayerContainer.getSelectedTimelineObjects()
Returns all timeline objects that are currently selected on the
visible timeline layers.
|
List<TimelineObjectPath> |
LayerContainer.getSelectedTimelineObjects(ILayer layer)
Returns all timeline objects that are currently selected on the given
timeline layer (independent of whether or not the layer is visible).
|
Modifier and Type | Method and Description |
---|---|
void |
LayerContainer.addHighlightedObject(TimelineObjectPath path)
Adds a single timeline object path to the set of highlighted objects.
|
ObjectBounds |
LayerContainer.getObjectBounds(TimelineObjectPath path)
Returns the object bounds for the given timeline object path.
|
JPopupMenu |
DefaultLayerContainerMenuProvider.getPopupMenu(LayerContainer lc,
MouseEvent e,
long timePoint,
TreePath treePath,
TimelineObjectPath[] paths,
IRelationship[] relationships) |
JPopupMenu |
ILayerContainerMenuProvider.getPopupMenu(LayerContainer lc,
MouseEvent e,
long timePoint,
TreePath treePath,
TimelineObjectPath[] paths,
IRelationship[] relationships)
Returns a popup menu for the given layer container.
|
boolean |
LayerContainer.isHighlighted(TimelineObjectPath path)
Determines if the timeline object specified by the given path is
currently a member of the set of highlighted objects.
|
Modifier and Type | Method and Description |
---|---|
void |
LayerContainer.addHighlightedObjects(Collection<TimelineObjectPath> paths)
Adds a collection of timeline object paths where each timeline object
referenced will be added to the set of highlighted objects.
|
void |
LayerContainer.removeHighlightedObjects(Collection<TimelineObjectPath> paths)
Removes a collection of timeline object paths where each timeline object
referenced will be removed from the set of highlighted objects
|
Modifier and Type | Method and Description |
---|---|
TimelineObjectPath |
ActionLayer.getActiveTimelineObjectPath()
Returns the path to the currently active timeline object, meaning the
object which has been selected by the user and for which action buttons
are shown.
|
protected TimelineObjectPath |
DefaultDragRowRenderer.getDraggedTimelineObjectPath()
Returns the path to the dragged timeline object.
|
TimelineObjectPath |
EditingLayer.getEditedTimelineObject()
Returns the path to the currently edited timeline object.
|
Modifier and Type | Method and Description |
---|---|
List<TimelineObjectPath> |
PopupLayer.getPinnedPopups()
Returns a list with all currently pinned popups.
|
Modifier and Type | Method and Description |
---|---|
void |
PopupLayer.addPinnedPopup(TimelineObjectPath path)
Adds a path to the layer that reference a timeline object with a pinned
popup.
|
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.
|
JComponent |
DefaultPopupRenderer.getPopupRendererComponent(PopupLayer pl,
Object titleValue,
Object popupValue,
TimelineObjectPath path,
IGanttChartModel model,
boolean pinned) |
JComponent |
AbstractPopupRenderer.getPopupRendererComponent(PopupLayer pl,
Object titleValue,
Object popupValue,
TimelineObjectPath path,
IGanttChartModel model,
boolean pinned) |
Component |
IPopupRenderer.getPopupRendererComponent(PopupLayer pl,
Object titleValue,
Object popupValue,
TimelineObjectPath path,
IGanttChartModel model,
boolean pinned)
Returns the component that will be used as a popup that provides
additional information about a timeline object.
|
List<Action> |
IActionProvider.getTimelineObjectActions(LayerContainer lc,
TimelineObjectPath path)
Returns the actions that are available for the timeline object given by
the path.
|
List<Action> |
DefaultActionProvider.getTimelineObjectActions(LayerContainer lc,
TimelineObjectPath path)
Returns the actions registered for the timeline object specified by the
given timeline object path.
|
protected Icon |
AbstractPopupRenderer.getTitleIcon(Object popupValue,
TimelineObjectPath path,
IGanttChartModel model)
Returns an icon that will be shown in the header / title of the popup.
|
protected void |
PopupLayer.paintTimelineObjectPathPopup(Graphics g,
TimelineObjectPath path,
boolean pinned)
Renders the popup for the given timeline object path.
|
void |
PopupLayer.removePinnedPopup(TimelineObjectPath path)
Removes a timeline object path from the list of pinned popups.
|
Modifier and Type | Method and Description |
---|---|
void |
PopupLayer.setPinnedPopups(List<TimelineObjectPath> paths)
Sets a list with all currently pinned popups.
|
Modifier and Type | Method and Description |
---|---|
protected TimelineObjectPath |
DefaultTimelineObjectRenderer.getTimelineObjectPath()
Returns the path to the currently rendered timeline object.
|
TimelineObjectPath |
DefaultCapacityObjectRenderer.getTimelineObjectPath()
Returns the path to the currently rendered capacity object.
|
TimelineObjectPath |
DefaultEventObjectRenderer.getTimelineObjectPath()
Returns the path to the currently rendered event object.
|
Modifier and Type | Method and Description |
---|---|
Iterator<TimelineObjectPath> |
DefaultTimelineObjectSelectionModel.getSelection() |
Iterator<TimelineObjectPath> |
ITimelineObjectSelectionModel.getSelection()
Returns all timeline objects that are currently selected.
|
Iterator<TimelineObjectPath> |
DefaultTimelineObjectSelectionModel.getSelection(TreePath node) |
Iterator<TimelineObjectPath> |
ITimelineObjectSelectionModel.getSelection(TreePath path)
Returns all timeline objects for the given node that are currently
selected.
|
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.
|
List<TimelineObjectPath> |
TimelineObjectSelectionEvent.getTimelineObjectPaths()
Returns the added / removed timeline objects.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTimelineObjectSelectionModel.addSelection(TimelineObjectPath path) |
void |
ITimelineObjectSelectionModel.addSelection(TimelineObjectPath path)
Adds a selection / a selected timeline object to the model.
|
ObjectBounds |
TimelineObjectLayer.getObjectBounds(TimelineObjectPath path)
Returns the object bounds for the given timeline object (path).
|
Component |
AbstractTimelineObjectEditor.getTimelineObjectEditorComponent(EditingLayer layer,
TimelineObjectPath path) |
Component |
DefaultTimelineObjectEditor.getTimelineObjectEditorComponent(EditingLayer layer,
TimelineObjectPath path) |
Component |
ITimelineObjectEditor.getTimelineObjectEditorComponent(EditingLayer layer,
TimelineObjectPath path)
Returns the actual editor component for the given tree node and timeline
object.
|
Component |
DefaultActivityObjectEditor.getTimelineObjectEditorComponent(EditingLayer layer,
TimelineObjectPath path) |
Component |
DefaultTimelineObjectRenderer.getTimelineObjectRendererComponent(TimelineObjectLayer layer,
TimelineObjectPath path,
boolean selected,
boolean hasFocus,
boolean highlighted,
int row) |
Component |
DefaultCapacityObjectRenderer.getTimelineObjectRendererComponent(TimelineObjectLayer layer,
TimelineObjectPath path,
boolean selected,
boolean hasFocus,
boolean highlighted,
int row) |
Component |
ITimelineObjectRenderer.getTimelineObjectRendererComponent(TimelineObjectLayer layer,
TimelineObjectPath path,
boolean selected,
boolean focus,
boolean highlighted,
int row)
Returns a component that will be used to renderer the given timeline
object.
|
Component |
DefaultEventObjectRenderer.getTimelineObjectRendererComponent(TimelineObjectLayer layer,
TimelineObjectPath path,
boolean selected,
boolean focus,
boolean highlighted,
int row) |
Component |
DefaultActivityObjectRenderer.getTimelineObjectRendererComponent(TimelineObjectLayer layer,
TimelineObjectPath path,
boolean selected,
boolean hasFocus,
boolean highlighted,
int row) |
boolean |
DefaultTimelineObjectSelectionModel.isSelected(TimelineObjectPath path) |
boolean |
ITimelineObjectSelectionModel.isSelected(TimelineObjectPath path)
Determines if the timeline object referenced by the given timeline object
path is currently selected.
|
void |
DefaultTimelineObjectSelectionModel.removeSelection(TimelineObjectPath path) |
void |
ITimelineObjectSelectionModel.removeSelection(TimelineObjectPath path)
Removes a selection / a selected timeline object from the model.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultTimelineObjectSelectionModel.addSelection(Collection<TimelineObjectPath> paths) |
void |
ITimelineObjectSelectionModel.addSelection(Collection<TimelineObjectPath> paths)
Adds several timeline objects to the selection at the same time.
|
protected void |
DefaultTimelineObjectSelectionModel.fireValueChanged(TimelineObjectSelectionEvent.ID id,
Collection<TimelineObjectPath> paths)
Fires an event with the given ID to all listeners that are currently
attached to the model.
|
void |
DefaultTimelineObjectSelectionModel.removeSelection(Collection<TimelineObjectPath> paths) |
void |
ITimelineObjectSelectionModel.removeSelection(Collection<TimelineObjectPath> paths)
Removes several timeline objects from the selection at the same time.
|
Constructor and Description |
---|
TimelineObjectSelectionEvent(ITimelineObjectSelectionModel model,
TimelineObjectSelectionEvent.ID id,
List<TimelineObjectPath> paths)
Constructs a new selection event.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.