|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.swtchart.internal.Grid
public class Grid
A grid.
| Constructor Summary | |
|---|---|
Grid(Axis axis)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grid(Axis axis)
axis - the axis| Method Detail |
|---|
public Color getForeground()
IGrid
getForeground in interface IGridpublic void setForeground(Color color)
IGrid
setForeground in interface IGridcolor - the foreground colorpublic LineStyle getStyle()
IGrid
getStyle in interface IGridpublic void setStyle(LineStyle style)
IGrid
setStyle in interface IGridstyle - the line style
protected void draw(GC gc,
int width,
int height)
gc - the graphics contextwidth - the width to draw gridheight - the height to draw grid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||