|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRelationRenderer
Interface describing the rendering part for relations between intervals. The relation renderer is responsible for all the calculations to be done when rendering (so it can decide whether to paint lines for relations between intervals that are not shown). It is also responsible for supplying a hit detection for selecting of relations.
Method Summary | |
---|---|
java.util.List<IIntervalRelation> |
getRelationsForCoord(int x,
int y)
Retrieve the list of relations that are hit a the given coordinate. |
java.lang.String |
getTooltip(int x,
int y)
Supply a tooltip for a position in the diagram area. |
void |
renderRelations(TimeBarViewerDelegate delegate,
java.awt.Graphics graphics)
Do the complete relation rendering. |
Method Detail |
---|
void renderRelations(TimeBarViewerDelegate delegate, java.awt.Graphics graphics)
delegate
- the delegategraphics
- Graphics to paint onjava.util.List<IIntervalRelation> getRelationsForCoord(int x, int y)
x
- x coordinatey
- y coordinate
null
java.lang.String getTooltip(int x, int y)
x
- x coordinatey
- y coordinate
null
for no tooltip contribution or tooltip to be displayed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |