Package | Description |
---|---|
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 |
---|---|
ObjectBounds |
LayerContainer.getObjectBounds(TimelineObjectPath path)
Returns the object bounds for the given timeline object path.
|
ObjectBounds |
LayerContainer.getObjectBoundsAt(int x,
int y)
Searches for and returns object bounds for the given coordinates.
|
ObjectBounds |
LayerContainer.getObjectBoundsAt(int x,
int y,
int proximity)
Searches for and returns object bounds for the given coordinates.
|
ObjectBounds |
LayerContainer.getObjectBoundsAt(MouseEvent evt)
Searches for and returns object bounds for the coordinates of the given
mouse event.
|
Modifier and Type | Method and Description |
---|---|
Collection<ObjectBounds> |
LayerContainer.getAllObjectBoundsAt(int x,
int y)
Searches for and returns all object bounds for the given coordinates.
|
Collection<ObjectBounds> |
LayerContainer.getAllObjectBoundsAt(MouseEvent evt)
Searches for and returns all object bounds for the coordinates of the
given mouse event.
|
Modifier and Type | Method and Description |
---|---|
ObjectBounds |
DragLayerEvent.getDraggedObjectBounds()
Returns the bounds of the object that is being dragged around (or
resized) by the user.
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
LinkLayer.calculateBox(ObjectBounds bounds,
boolean source,
boolean left)
Calculates the "hot spots" for the given object bounds (timeline object).
|
protected Image |
DragLayer.createDragImage(ObjectBounds bounds)
Creates an image that will be shown in combination with the drag cursor
during drag & drop operations.
|
IEditModeController.EditMode |
CapacityObjectEditModeController.getEditMode(DragLayer layer,
ObjectBounds bounds,
MouseEvent evt) |
IEditModeController.EditMode |
IEditModeController.getEditMode(DragLayer layer,
ObjectBounds bounds,
MouseEvent evt)
Returns an edit mode based on the given bounds and mouse event.
|
IEditModeController.EditMode |
DefaultEditModeController.getEditMode(DragLayer layer,
ObjectBounds bounds,
MouseEvent e) |
IEditModeController.EditMode |
ActivityObjectEditModeController.getEditMode(DragLayer layer,
ObjectBounds bounds,
MouseEvent evt) |
protected Icon |
LinkLayer.getHandleIcon(ObjectBounds bounds,
boolean source,
boolean left,
boolean focus)
Returns the icon to be shown as a handle depending on various parameters.
|
protected boolean |
CapacityObjectEditModeController.isChangeCapacityLocation(ObjectBounds bounds,
MouseEvent evt)
Returns TRUE if the given location is valid for changing the capacity of
the timeline object.
|
protected boolean |
DefaultEditModeController.isChangeEndTimeLocation(ObjectBounds bounds,
MouseEvent evt,
IEditTimelineObjectPolicy editPolicy)
Returns TRUE if the given location is valid for changing the end time of
the timeline object.
|
protected boolean |
ActivityObjectEditModeController.isChangePercentageLocation(ObjectBounds bounds,
MouseEvent evt)
Returns TRUE if the given location is valid for changing the percentage
complete value of the timeline object.
|
protected boolean |
DefaultEditModeController.isChangeStartTimeLocation(ObjectBounds bounds,
MouseEvent evt,
IEditTimelineObjectPolicy editPolicy)
Returns TRUE if the given location is valid for changing the start time
of the timeline object.
|
protected boolean |
ActivityObjectEditModeController.isChangeStartTimeLocation(ObjectBounds bounds,
MouseEvent evt,
IEditTimelineObjectPolicy editPolicy) |
protected boolean |
DefaultEditModeController.isDragLocation(ObjectBounds bounds,
MouseEvent evt,
IEditTimelineObjectPolicy editPolicy)
Returns TRUE if the given location is a valid location within the
object's bounds for initiating a drag operation.
|
protected void |
LinkLayer.paintHandle(Graphics g,
Rectangle r,
ObjectBounds bounds,
boolean source,
boolean left,
boolean focus)
Performs the actual drawing of a handle icon.
|
Constructor and Description |
---|
DragLayerEvent(DragLayer layer,
DragLayerEvent.ID id,
ObjectBounds draggedObjectBounds,
ITimeSpan span,
int dropAction)
Constructs a new event object.
|
Modifier and Type | Method and Description |
---|---|
ObjectBounds |
TimelineObjectLayer.getObjectBounds(TimelineObjectPath path)
Returns the object bounds for the given timeline object (path).
|
ObjectBounds |
TimelineObjectLayer.getObjectBoundsAt(int x,
int y)
Returns the object bounds for the timeline object found at the given
coordinate.
|
ObjectBounds |
TimelineObjectLayer.getObjectBoundsAt(int x,
int y,
int proximity)
Returns the object bounds for the timeline object found at the given
coordinate.
|
ObjectBounds |
TimelineObjectLayer.getObjectBoundsAt(MouseEvent evt)
Returns the object bounds for the timeline object found at the location
of the given mouse event.
|
ObjectBounds |
TimelineObjectLayer.getObjectBoundsAt(Point p)
Returns the object bounds for the timeline object found at the given
location.
|
Modifier and Type | Method and Description |
---|---|
Collection<ObjectBounds> |
TimelineObjectLayer.getAllObjectBoundsAt(int x,
int y)
Returns the object bounds for all timeline objects found at the
given coordinate.
|
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.