|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimelineObjectRenderer
A renderer that will be used for rendering timeline objects. Timeline objects
are drawn below the timeline inside a TimelineObjectLayer
. The Gantt
chart configuration object allows the application to map different renderers
to different object types.
LayerContainer.setTimelineObjectRenderer(Class, ITimelineObjectRenderer)
Method Summary | |
---|---|
java.awt.Component |
getTimelineObjectRendererComponent(TimelineObjectLayer layer,
java.lang.Object treeNode,
java.lang.Object timelineObject,
boolean selected,
boolean focus,
boolean highlighted,
int row)
Returns a component that will be used to renderer the given timeline object. |
java.awt.Insets |
getTimelineObjectRendererInsets(int x,
int y,
int width,
int height)
Returns the insets of the object renderer. |
Method Detail |
---|
java.awt.Component getTimelineObjectRendererComponent(TimelineObjectLayer layer, java.lang.Object treeNode, java.lang.Object timelineObject, boolean selected, boolean focus, boolean highlighted, int row)
layer
- the layer in which the timeline object will be renderedtreeNode
- the tree node that 'owns' the timeline objecttimelineObject
- the actual timeline object that requires visualizationselected
- if TRUE the object is currently selected and the rendering
needs to express thatfocus
- if TRUE the focus is currently on the timeline object and the
rendering needs to express thathighlighted
- if TRUE the timeline object is highlighted and its appearance
needs to vary from its normal appearance (causing a blinking
effect)row
- the row in which the object gets drawn
java.awt.Insets getTimelineObjectRendererInsets(int x, int y, int width, int height)
DefaultActivityObjectRenderer
).
x
- the x-coordinate of the bounds that will be assigned to the
renderer componenty
- the y-coordinate of the bounds that will be assigned to the
renderer componentwidth
- the width of the bounds that will be assigned to the renderer
componentheight
- the height of the bounds that will be assigned to the renderer
component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |