public class ObjectBounds extends Rectangle
Rectangle2D.Double, Rectangle2D.Float
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObject) |
ILayer |
getLayer()
Returns the layer for which the timeline object was returned from the
data model.
|
TimelineObjectLayer |
getLayerUI()
Returns the layer user interface component on which the timeline object
was rendered.
|
IGanttChartModel |
getModel()
Returns the model from which the timeline object originated.
|
Object |
getNode()
Returns the tree table node to which the timeline object belongs.
|
Object |
getObject()
Returns the timeline object.
|
TimelineObjectPath |
getPath()
Returns a timeline object path based on the tree path, model layer, and
object stored inside the object bounds.
|
ITimeSpan |
getTimeSpan()
Returns the time span of the timeline object.
|
TreeTableNode |
getTreeTableNode()
Returns the (tree table internal) representation of the tree node.
|
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
finalize, getClass, notify, notifyAll, wait, wait, wait
contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
public ObjectBounds(TimelineObjectPath path, IGanttChartModel model, int x, int y, int width, int height, TreeTableNode treeTableNode, TimelineObjectLayer layer)
path
- the path to the actual timeline objectmodel
- the data source that returned the objectx
- the x-coordinate of the boundsy
- the y-coordinate of the boundswidth
- the width of the boundsheight
- the height of the boundstreeTableNode
- the (tree table internal) representation of the tree node
objectlayer
- the timeline layer that rendered the timeline objectpublic IGanttChartModel getModel()
public ILayer getLayer()
public TimelineObjectLayer getLayerUI()
public Object getNode()
public Object getObject()
public ITimeSpan getTimeSpan()
public TreeTableNode getTreeTableNode()
public TimelineObjectPath getPath()
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.