|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the operations required to implement a visualiser drawing style.
Method Summary | |
int |
getColumnHeaderHeight()
The space required for headers of each columns |
int |
getMarginSize()
The padding to be used around the edges of the visualiser |
int |
getSpacing()
The space in-between columns |
void |
paintColumn(org.eclipse.swt.graphics.GC gc,
IMember m,
int x,
int y,
int colWidth,
int colHeight,
boolean affected)
Paint the actual column (but not any stripes) |
void |
paintColumnHeader(org.eclipse.swt.graphics.GC gc,
IMember m,
int x,
int colWidth)
Paint the title of a column, typically the name of the given IMember |
Method Detail |
public int getSpacing()
public int getColumnHeaderHeight()
public int getMarginSize()
public void paintColumnHeader(org.eclipse.swt.graphics.GC gc, IMember m, int x, int colWidth)
gc
- the graphics context to paint tom
- the IMember for this columnx
- the horizontal coordinate for the start of this columncolWidth
- the width of the columnpublic void paintColumn(org.eclipse.swt.graphics.GC gc, IMember m, int x, int y, int colWidth, int colHeight, boolean affected)
gc
- the graphics context to paint tom
- the IMember for this columnx
- y
- colWidth
- colHeight
- affected
- indicates whether this column is affected by any stripes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |