public class Legend extends Object implements Element
| Constructor and Description |
|---|
Legend()
Instantiates a new legend.
|
Legend(boolean show,
Location location)
Instantiates a new legend.
|
Legend(String options)
Instantiates a new legend.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBackground()
Gets the background.
|
String |
getBorder()
Gets the border.
|
Boolean |
getEscapeHtml()
Gets the escape html.
|
String |
getFontFamily()
Gets the font family.
|
String[] |
getLables()
Gets the lables.
|
Location |
getLocation()
Gets the location.
|
String |
getMarginBottom()
Gets the margin bottom.
|
String |
getMarginLeft()
Gets the margin left.
|
String |
getMarginRight()
Gets the margin right.
|
String |
getMarginTop()
Gets the margin top.
|
String |
getOptions()
Gets the options.
|
String |
getPlacement()
Gets the placement.
|
Boolean |
getPreDraw()
Gets the pre draw.
|
JqPlotResources |
getRenderer()
Gets the renderer.
|
LegendRenderer |
getRendererOptions()
Gets the
RendererOptions |
Boolean |
getShow()
Gets the show.
|
Boolean |
getShowLables()
Gets the show lables.
|
Boolean |
getShowSwatches()
Gets the show swatches.
|
Double |
getXoffset()
Gets the xoffset.
|
Double |
getYoffset()
Gets the yoffset.
|
void |
setBackground(String background)
Sets the background.
|
void |
setBorder(String border)
Sets the border.
|
void |
setEscapeHtml(Boolean escapeHtml)
Sets the escape html.
|
void |
setFontFamily(String fontFamily)
Sets the font family.
|
void |
setLables(String[] lables)
Sets the lables.
|
void |
setLocation(Location location)
Sets the location.
|
void |
setMarginBottom(String marginBottom)
Sets the margin bottom.
|
void |
setMarginLeft(String marginLeft)
Sets the margin left.
|
void |
setMarginRight(String marginRight)
Sets the margin right.
|
void |
setMarginTop(String marginTop)
Sets the margin top.
|
void |
setOptions(String options)
Sets the options.
|
void |
setPlacement(String placement)
Sets the placement.
|
void |
setPreDraw(Boolean preDraw)
Sets the pre draw.
|
void |
setRenderer(JqPlotResources renderer)
Sets the renderer.
|
void |
setRendererOptions(LegendRenderer rendererOptions)
Sets the
RendererOptions |
void |
setShow(Boolean show)
Sets the show.
|
void |
setShowLables(Boolean showLables)
Sets the show lables.
|
void |
setShowSwatches(Boolean showSwatches)
Sets the show swatches.
|
void |
setXoffset(Double xoffset)
Sets the xoffset.
|
void |
setYoffset(Double yoffset)
Sets the yoffset.
|
public Legend()
public Legend(boolean show,
Location location)
show - the showlocation - the locationpublic Legend(String options)
options - the optionspublic String getBackground()
public void setBackground(String background)
background - the new backgroundpublic String getBorder()
public void setBorder(String border)
border - the new borderpublic Boolean getEscapeHtml()
public void setEscapeHtml(Boolean escapeHtml)
escapeHtml - the new escape htmlpublic String getFontFamily()
public void setFontFamily(String fontFamily)
fontFamily - the new font familypublic String[] getLables()
public void setLables(String[] lables)
lables - the new lablespublic Location getLocation()
public void setLocation(Location location)
location - the new locationpublic String getMarginBottom()
public void setMarginBottom(String marginBottom)
marginBottom - the new margin bottompublic String getMarginLeft()
public void setMarginLeft(String marginLeft)
marginLeft - the new margin leftpublic String getMarginRight()
public void setMarginRight(String marginRight)
marginRight - the new margin rightpublic String getMarginTop()
public void setMarginTop(String marginTop)
marginTop - the new margin toppublic String getPlacement()
public void setPlacement(String placement)
placement - the new placementpublic Boolean getPreDraw()
public void setPreDraw(Boolean preDraw)
preDraw - the new pre drawpublic JqPlotResources getRenderer()
public void setRenderer(JqPlotResources renderer)
renderer - the new rendererpublic Boolean getShow()
public void setShow(Boolean show)
show - the new showpublic Boolean getShowLables()
public void setShowLables(Boolean showLables)
showLables - the new show lablespublic Boolean getShowSwatches()
public void setShowSwatches(Boolean showSwatches)
showSwatches - the new show swatchespublic Double getXoffset()
public void setXoffset(Double xoffset)
xoffset - the new xoffsetpublic Double getYoffset()
public void setYoffset(Double yoffset)
yoffset - the new yoffsetpublic String getOptions()
public void setOptions(String options)
options - the new optionspublic LegendRenderer getRendererOptions()
RendererOptionspublic void setRendererOptions(LegendRenderer rendererOptions)
RendererOptionsrendererOptions - set the LegendRendererCopyright © 2018. All rights reserved.