类 GridLine
- java.lang.Object
-
- org.meteoinfo.chart.plot.GridLine
-
public class GridLine extends java.lang.Object- 作者:
- yaqiang
-
-
构造器概要
构造器 构造器 说明 GridLine()Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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
-
-
-
方法详细资料
-
getColor
public java.awt.Color getColor()
Get color- 返回:
- Color
-
setColor
public void setColor(java.awt.Color value)
Set color- 参数:
value- Color
-
getSize
public float getSize()
Get size- 返回:
- Size
-
setSize
public void setSize(float value)
Set size- 参数:
value- Size
-
getStyle
public LineStyles getStyle()
Get style- 返回:
- Style
-
setStyle
public void setStyle(LineStyles value)
Set style- 参数:
value- Style
-
isDrawXLine
public boolean isDrawXLine()
Get if draw x grid lines- 返回:
- Boolean
-
setDrawXLine
public void setDrawXLine(boolean value)
Set if draw x grid lines- 参数:
value- Boolean
-
isDrawYLine
public boolean isDrawYLine()
Get if draw y grid lines- 返回:
- Boolean
-
setDrawYLine
public void setDrawYLine(boolean value)
Set if draw y grid lines- 参数:
value- Boolean
-
isTop
public boolean isTop()
Return if the grid draw on the top of the graph- 返回:
- Boolean
-
setTop
public void setTop(boolean value)
Set if the grid draw on the top of the graph- 参数:
value- Boolean
-
-