| Modifier and Type | Method | Description |
|---|---|---|
protected void |
draw(GC gc,
int width,
int height) |
Draws grid.
|
Color |
getForeground() |
Gets the foreground color.
|
LineStyle |
getStyle() |
Gets the line style.
|
void |
setForeground(Color color) |
Sets the foreground color.
|
void |
setStyle(LineStyle style) |
Sets the line style.
|
public Grid(Axis axis)
axis - the axispublic Color getForeground()
IGridgetForeground in interface IGridpublic void setForeground(Color color)
IGridsetForeground in interface IGridcolor - the foreground colorpublic void setStyle(LineStyle style)
IGridprotected void draw(GC gc,
int width,
int height)
gc - the graphics contextwidth - the width to draw gridheight - the height to draw grid