Package org.meteoinfo.chart
Class ChartLegend.LayoutLegendBean
- java.lang.Object
-
- org.meteoinfo.chart.ChartLegend.LayoutLegendBean
-
- Enclosing class:
- ChartLegend
public class ChartLegend.LayoutLegendBean extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetBackground()Get background colorintgetColumnNumber()Get column numberjava.awt.ColorgetNeatLineColor()Get neat line colorfloatgetNeatLineSize()Get neat line sizejava.awt.FontgetTickLabelFont()Get tick label fontbooleanisDrawBackground()Get is draw backgroundbooleanisDrawNeatLine()Get if draw neat linevoidsetBackground(java.awt.Color c)Set background colorvoidsetColumnNumber(int value)Set column numbervoidsetDrawBackground(boolean value)Set is draw backgroundvoidsetDrawNeatLine(boolean istrue)Set if draw neat linevoidsetNeatLineColor(java.awt.Color color)Set neat line colorvoidsetNeatLineSize(float size)Set neat line sizevoidsetTickLabelFont(java.awt.Font font)Set tick label font
-
-
-
Method Detail
-
isDrawNeatLine
public boolean isDrawNeatLine()
Get if draw neat line- Returns:
- If draw neat line
-
setDrawNeatLine
public void setDrawNeatLine(boolean istrue)
Set if draw neat line- Parameters:
istrue- If draw neat line
-
getNeatLineColor
public java.awt.Color getNeatLineColor()
Get neat line color- Returns:
- Neat line color
-
setNeatLineColor
public void setNeatLineColor(java.awt.Color color)
Set neat line color- Parameters:
color- Neat line color
-
getNeatLineSize
public float getNeatLineSize()
Get neat line size- Returns:
- Neat line size
-
setNeatLineSize
public void setNeatLineSize(float size)
Set neat line size- Parameters:
size- Neat line size
-
getTickLabelFont
public java.awt.Font getTickLabelFont()
Get tick label font- Returns:
- The tick label font
-
setTickLabelFont
public void setTickLabelFont(java.awt.Font font)
Set tick label font- Parameters:
font- The tick label font
-
getColumnNumber
public int getColumnNumber()
Get column number- Returns:
- Column number
-
setColumnNumber
public void setColumnNumber(int value)
Set column number- Parameters:
value- Column number
-
isDrawBackground
public boolean isDrawBackground()
Get is draw background- Returns:
- Boolean
-
setDrawBackground
public void setDrawBackground(boolean value)
Set is draw background- Parameters:
value- Boolean
-
getBackground
public java.awt.Color getBackground()
Get background color- Returns:
- Background color
-
setBackground
public void setBackground(java.awt.Color c)
Set background color- Parameters:
c- Background color
-
-