|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for annotations that can take care of their own visible representation.
Field Summary | |
static int |
DEFAULT_LAYER
The default annotation layer. |
Method Summary | |
int |
getLayer()
Returns the annotations drawing layer. |
void |
paint(GC gc,
Canvas canvas,
Rectangle bounds)
Implement this method to draw a graphical representation of this annotation within the given bounds. |
Field Detail |
public static final int DEFAULT_LAYER
Method Detail |
public int getLayer()
public void paint(GC gc, Canvas canvas, Rectangle bounds)
gc
- the drawing GCcanvas
- the canvas to draw onbounds
- the bounds inside the canvas to draw on
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.