类 SeriesLegend
- java.lang.Object
-
- org.meteoinfo.chart.plot.SeriesLegend
-
public class SeriesLegend extends java.lang.Object- 作者:
- wyq
-
-
构造器概要
构造器 构造器 说明 SeriesLegend()ConstructorSeriesLegend(int n)ConstructorSeriesLegend(ColorBreak cb)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddLegendBreak(ColorBreak cb)Add a legend breakintgetBreakNum()Get legend break numberjava.awt.ColorgetErrorColor()Get error colorColorBreakgetLegendBreak()Get a legend breakColorBreakgetLegendBreak(int idx)Get a legend breakChartPlotMethodgetPlotMethod()Get plot methodbooleanisLine()Get if the legend is PolylineBreakbooleanisMutiple()Get if if mutiple legend breaksbooleanisPoint()Get if the legend is PointBreakbooleanisPolygon()Get if the legend is PolygonBreakvoidsetErrorColor(java.awt.Color value)Set error colorvoidsetLegendBreak(int idx, ColorBreak cb)Set legend breakvoidsetLegendBreak(ColorBreak cb)Set legend breakvoidsetPlotMethod(ChartPlotMethod value)Set plot method
-
-
-
构造器详细资料
-
SeriesLegend
public SeriesLegend()
Constructor
-
SeriesLegend
public SeriesLegend(ColorBreak cb)
Constructor- 参数:
cb- ColorBreak
-
SeriesLegend
public SeriesLegend(int n)
Constructor- 参数:
n- Break number
-
-
方法详细资料
-
getPlotMethod
public ChartPlotMethod getPlotMethod()
Get plot method- 返回:
- Plot method
-
setPlotMethod
public void setPlotMethod(ChartPlotMethod value)
Set plot method- 参数:
value- Plot method
-
isPoint
public boolean isPoint()
Get if the legend is PointBreak- 返回:
- Boolean
-
isLine
public boolean isLine()
Get if the legend is PolylineBreak- 返回:
- Boolean
-
isPolygon
public boolean isPolygon()
Get if the legend is PolygonBreak- 返回:
- Boolean
-
isMutiple
public boolean isMutiple()
Get if if mutiple legend breaks- 返回:
- Boolean
-
getLegendBreak
public ColorBreak getLegendBreak()
Get a legend break- 返回:
- Legend break
-
setLegendBreak
public void setLegendBreak(ColorBreak cb)
Set legend break- 参数:
cb- Legend break
-
getLegendBreak
public ColorBreak getLegendBreak(int idx)
Get a legend break- 参数:
idx- Index- 返回:
- Legend break
-
setLegendBreak
public void setLegendBreak(int idx, ColorBreak cb)Set legend break- 参数:
idx- Indexcb- Legend break
-
getErrorColor
public java.awt.Color getErrorColor()
Get error color- 返回:
- Error color
-
setErrorColor
public void setErrorColor(java.awt.Color value)
Set error color- 参数:
value- Error color
-
addLegendBreak
public void addLegendBreak(ColorBreak cb)
Add a legend break- 参数:
cb- Legend break
-
getBreakNum
public int getBreakNum()
Get legend break number- 返回:
- Legend break number
-
-