Class Grid
java.lang.Object
org.swtchart.internal.Grid
- All Implemented Interfaces:
IGrid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddraw(org.eclipse.swt.graphics.GC gc, int width, int height) Draws grid.org.eclipse.swt.graphics.ColorGets the foreground color.getStyle()Gets the line style.voidsetForeground(org.eclipse.swt.graphics.Color color) Sets the foreground color.voidSets the line style.
-
Constructor Details
-
Grid
-
-
Method Details
-
getForeground
public org.eclipse.swt.graphics.Color getForeground()Description copied from interface:IGridGets the foreground color.- Specified by:
getForegroundin interfaceIGrid- Returns:
- the foreground color
-
setForeground
public void setForeground(org.eclipse.swt.graphics.Color color) Description copied from interface:IGridSets the foreground color.- Specified by:
setForegroundin interfaceIGrid- Parameters:
color- the foreground color
-
getStyle
-
setStyle
-
draw
protected void draw(org.eclipse.swt.graphics.GC gc, int width, int height) Draws grid.- Parameters:
gc- the graphics contextwidth- the width to draw gridheight- the height to draw grid
-