|
|||||||||
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 axisMethod Detail |
---|
public Color getForeground()
IGrid
getForeground
in interface IGrid
public void setForeground(Color color)
IGrid
setForeground
in interface IGrid
color
- the foreground colorpublic LineStyle getStyle()
IGrid
getStyle
in interface IGrid
public void setStyle(LineStyle style)
IGrid
setStyle
in interface IGrid
style
- the line styleprotected 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 |