net.refractions.udig.mapgraphic.grid
Class GridStyle

java.lang.Object
  extended by net.refractions.udig.mapgraphic.grid.GridStyle

public class GridStyle
extends java.lang.Object

Style for the GridMapGraphic.

Since:
1.1.0
Author:
Jesse

Nested Class Summary
static class GridStyle.Type
           
 
Field Summary
static GridStyle DEFAULT_STYLE
           
static java.lang.String ID
           
 
Constructor Summary
GridStyle(GridStyle.Type type, double dx, double dy, java.awt.Color color, int lineStyle, int lineWidth)
           
GridStyle(GridStyle oldStyle)
           
 
Method Summary
 java.awt.Color getColor()
           
 double[] getGridSize()
           
 int getLineStyle()
           
 int getLineWidth()
           
 GridStyle.Type getType()
           
 void setColor(java.awt.Color color)
           
 void setGridSize(double dx, double dy)
           
 void setLineStyle(int lineStyle)
           
 void setLineWidth(int lineWidth)
           
 void setType(GridStyle.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

DEFAULT_STYLE

public static final GridStyle DEFAULT_STYLE
Constructor Detail

GridStyle

public GridStyle(GridStyle.Type type,
                 double dx,
                 double dy,
                 java.awt.Color color,
                 int lineStyle,
                 int lineWidth)

GridStyle

public GridStyle(GridStyle oldStyle)
Method Detail

getGridSize

public double[] getGridSize()

getType

public GridStyle.Type getType()

setType

public void setType(GridStyle.Type type)

setGridSize

public void setGridSize(double dx,
                        double dy)

getColor

public java.awt.Color getColor()

setColor

public void setColor(java.awt.Color color)

getLineStyle

public int getLineStyle()

setLineStyle

public void setLineStyle(int lineStyle)

getLineWidth

public int getLineWidth()

setLineWidth

public void setLineWidth(int lineWidth)