Package org.meteoinfo.layout
Class LayoutLegend.LayoutLegendBean
- java.lang.Object
-
- org.meteoinfo.layout.LayoutLegend.LayoutLegendBean
-
- Enclosing class:
- LayoutLegend
public class LayoutLegend.LayoutLegendBean extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetBackColor()Get background colorfloatgetBarWidth()Get bar widthintgetColumnNumber()Get column numberjava.awt.FontgetFont()Get fontjava.awt.ColorgetForeColor()Get foreground colorintgetHeight()Get heightjava.lang.StringgetLayerName()Get legend layer namejava.lang.StringgetLayerUpdateType()Get layer update type stringLayoutMapgetLayoutMap()Get layout mapintgetLeft()Get leftMapLayergetLegendLayer()Get legend layerjava.lang.StringgetLegendStyle()Get legend style stringjava.awt.ColorgetNeatLineColor()Get neat line colorfloatgetNeatLineSize()Get neat line sizejava.lang.StringgetTitle()Get titleintgetTop()Get topintgetWidth()Get widthbooleanisDrawBackColor()Get is draw backcolorbooleanisDrawChartBreaks()Get is draw chart breaksbooleanisDrawNeatLine()Get if draw neat linebooleanisForceDrawOutline()Get if force to draw polygon outline - for normal legendvoidsetBackColor(java.awt.Color c)Set background colorvoidsetBarWidth(float value)Set bar widthvoidsetColumnNumber(int value)Set column numbervoidsetDrawBackColor(boolean value)Set is draw backcolorvoidsetDrawChartBreaks(boolean value)Set if draw chart breaksvoidsetDrawNeatLine(boolean istrue)Set if draw neat linevoidsetFont(java.awt.Font font)Set fontvoidsetForceDrawOutline(boolean value)Set if force to draw polygon outline - for normal legendvoidsetForeColor(java.awt.Color c)Set foreground colorvoidsetHeight(int value)Set heightvoidsetLayerName(java.lang.String name)Set legend layer namevoidsetLayerUpdateType(java.lang.String typeStr)Set layer update typevoidsetLeft(int left)Set leftvoidsetLegendLayer(MapLayer layer)Set legend layervoidsetLegendStyle(java.lang.String style)Set legend stylevoidsetNeatLineColor(java.awt.Color color)Set neat line colorvoidsetNeatLineSize(float size)Set neat line sizevoidsetTitle(java.lang.String title)Set titlevoidsetTop(int top)Set topvoidsetWidth(int value)Set width
-
-
-
Method Detail
-
getLayoutMap
public LayoutMap getLayoutMap()
Get layout map- Returns:
- The layout map
-
getLegendLayer
public MapLayer getLegendLayer()
Get legend layer- Returns:
- The legend alyer
-
setLegendLayer
public void setLegendLayer(MapLayer layer)
Set legend layer- Parameters:
layer- The legend layer
-
getLayerName
public java.lang.String getLayerName()
Get legend layer name- Returns:
- Legend layer name
-
setLayerName
public void setLayerName(java.lang.String name)
Set legend layer name- Parameters:
name- Layer name
-
isForceDrawOutline
public boolean isForceDrawOutline()
Get if force to draw polygon outline - for normal legend- Returns:
- Boolean
-
setForceDrawOutline
public void setForceDrawOutline(boolean value)
Set if force to draw polygon outline - for normal legend- Parameters:
value- Boolean
-
getLayerUpdateType
public java.lang.String getLayerUpdateType()
Get layer update type string- Returns:
- Layer update type string
-
setLayerUpdateType
public void setLayerUpdateType(java.lang.String typeStr)
Set layer update type- Parameters:
typeStr- Layer update type string
-
getLegendStyle
public java.lang.String getLegendStyle()
Get legend style string- Returns:
- Legend style string
-
setLegendStyle
public void setLegendStyle(java.lang.String style)
Set legend style- Parameters:
style- Legend style string
-
getTitle
public java.lang.String getTitle()
Get title- Returns:
- The title
-
setTitle
public void setTitle(java.lang.String title)
Set title- Parameters:
title- The title
-
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
-
getFont
public java.awt.Font getFont()
Get font- Returns:
- The font
-
setFont
public void setFont(java.awt.Font font)
Set font- Parameters:
font- The font
-
getColumnNumber
public int getColumnNumber()
Get column number- Returns:
- Column number
-
setColumnNumber
public void setColumnNumber(int value)
Set column number- Parameters:
value- Column number
-
isDrawChartBreaks
public boolean isDrawChartBreaks()
Get is draw chart breaks- Returns:
- Boolean
-
setDrawChartBreaks
public void setDrawChartBreaks(boolean value)
Set if draw chart breaks- Parameters:
value- Boolean
-
isDrawBackColor
public boolean isDrawBackColor()
Get is draw backcolor- Returns:
- Boolean
-
setDrawBackColor
public void setDrawBackColor(boolean value)
Set is draw backcolor- Parameters:
value- Boolean
-
getBackColor
public java.awt.Color getBackColor()
Get background color- Returns:
- Background color
-
setBackColor
public void setBackColor(java.awt.Color c)
Set background color- Parameters:
c- Background color
-
getForeColor
public java.awt.Color getForeColor()
Get foreground color- Returns:
- Foreground color
-
setForeColor
public void setForeColor(java.awt.Color c)
Set foreground color- Parameters:
c- Foreground color
-
getLeft
public int getLeft()
Get left- Returns:
- Left
-
setLeft
public void setLeft(int left)
Set left- Parameters:
left- Left
-
getTop
public int getTop()
Get top- Returns:
- Top
-
setTop
public void setTop(int top)
Set top- Parameters:
top- Top
-
getWidth
public int getWidth()
Get width- Returns:
- Width
-
setWidth
public void setWidth(int value)
Set width- Parameters:
value- Width
-
getHeight
public int getHeight()
Get height- Returns:
- Height
-
setHeight
public void setHeight(int value)
Set height- Parameters:
value- Height
-
getBarWidth
public float getBarWidth()
Get bar width- Returns:
- Bar width
-
setBarWidth
public void setBarWidth(float value)
Set bar width- Parameters:
value- Bar width
-
-