|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.contribution.visualiser.renderers.ClassicVisualiserRenderer
Implements the visualiser renderer interface to provide the classic visualiser drawing style.
| Constructor Summary | |
ClassicVisualiserRenderer()
|
|
| Method Summary | |
int |
getColumnHeaderHeight()
The space required for headers of each columns |
protected java.lang.String |
getConstrainedString(org.eclipse.swt.graphics.GC gc,
java.lang.String name,
int width)
|
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 yoff,
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassicVisualiserRenderer()
| Method Detail |
public int getSpacing()
IVisualiserRenderer
getSpacing in interface IVisualiserRendererpublic int getColumnHeaderHeight()
IVisualiserRenderer
getColumnHeaderHeight in interface IVisualiserRendererpublic int getMarginSize()
IVisualiserRenderer
getMarginSize in interface IVisualiserRenderer
public void paintColumnHeader(org.eclipse.swt.graphics.GC gc,
IMember m,
int x,
int colWidth)
IVisualiserRenderer
paintColumnHeader in interface IVisualiserRenderergc - the graphics context to paint tom - the IMember for this columnx - the horizontal coordinate for the start of this columncolWidth - the width of the column
public void paintColumn(org.eclipse.swt.graphics.GC gc,
IMember m,
int x,
int yoff,
int colWidth,
int colHeight,
boolean affected)
IVisualiserRenderer
paintColumn in interface IVisualiserRenderergc - the graphics context to paint tom - the IMember for this columnx - yoff - colWidth - colHeight - affected - indicates whether this column is affected by any stripes
protected java.lang.String getConstrainedString(org.eclipse.swt.graphics.GC gc,
java.lang.String name,
int width)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||