|
||||||||||
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 | |
---|---|
IRelationRenderer |
createPrintRenderer(org.eclipse.swt.printing.Printer printer)
Create a renderer suitable for printing. |
void |
dispose()
Dispose resources the renderer might have aquired. |
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,
org.eclipse.swt.graphics.GC gc,
boolean printing)
Do the complete relation rendering. |
Method Detail |
---|
void renderRelations(TimeBarViewerDelegate delegate, org.eclipse.swt.graphics.GC gc, boolean printing)
delegate
- the delegategc
- GC to paint onprinting
- true
when used throughout printingjava.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 displayedIRelationRenderer createPrintRenderer(org.eclipse.swt.printing.Printer printer)
printer
- printer device
void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |