Package org.meteoinfo.chart.plot
Class GridLine
- java.lang.Object
-
- org.meteoinfo.chart.plot.GridLine
-
public class GridLine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GridLine()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetColor()Get colorfloatgetSize()Get sizeLineStylesgetStyle()Get stylebooleanisDrawXLine()Get if draw x grid linesbooleanisDrawYLine()Get if draw y grid linesbooleanisTop()Return if the grid draw on the top of the graphvoidsetColor(java.awt.Color value)Set colorvoidsetDrawXLine(boolean value)Set if draw x grid linesvoidsetDrawYLine(boolean value)Set if draw y grid linesvoidsetSize(float value)Set sizevoidsetStyle(LineStyles value)Set stylevoidsetTop(boolean value)Set if the grid draw on the top of the graph
-
-
-
Method Detail
-
getColor
public java.awt.Color getColor()
Get color- Returns:
- Color
-
setColor
public void setColor(java.awt.Color value)
Set color- Parameters:
value- Color
-
getSize
public float getSize()
Get size- Returns:
- Size
-
setSize
public void setSize(float value)
Set size- Parameters:
value- Size
-
getStyle
public LineStyles getStyle()
Get style- Returns:
- Style
-
setStyle
public void setStyle(LineStyles value)
Set style- Parameters:
value- Style
-
isDrawXLine
public boolean isDrawXLine()
Get if draw x grid lines- Returns:
- Boolean
-
setDrawXLine
public void setDrawXLine(boolean value)
Set if draw x grid lines- Parameters:
value- Boolean
-
isDrawYLine
public boolean isDrawYLine()
Get if draw y grid lines- Returns:
- Boolean
-
setDrawYLine
public void setDrawYLine(boolean value)
Set if draw y grid lines- Parameters:
value- Boolean
-
isTop
public boolean isTop()
Return if the grid draw on the top of the graph- Returns:
- Boolean
-
setTop
public void setTop(boolean value)
Set if the grid draw on the top of the graph- Parameters:
value- Boolean
-
-