|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LegendElementCollection is a collection of LegendElements and is a LegendElement too. It can be used to group elements or to create more complex elements.
Field Summary |
Fields inherited from interface org.deegree.graphics.legend.LegendElement |
LP_BOTTOMCENTER, LP_BOTTOMLEFT, LP_BOTTOMRIGHT, LP_LEFT, LP_NOLABEL, LP_RIGHT, LP_TOPCENTER, LP_TOPLEFT, LP_TOPRIGHT |
Method Summary | |
void |
addLegendElement(LegendElement legendElement)
adds a LegendElement to the collection. |
int |
getSize()
|
java.lang.String |
getTitle()
returns the title of the LegendElement |
void |
setTitle(java.lang.String title)
sets the title of the LegendElement. |
Methods inherited from interface org.deegree.graphics.legend.LegendElement |
exportAsImage, getLabel, getLabelOrientation, getLabelPlacement, setActive, setLabel, setLabelOrientation, setLabelPlacement |
Method Detail |
public void addLegendElement(LegendElement legendElement)
legendElement
- to addpublic void setTitle(java.lang.String title)
title
- title of the LegendElementpublic java.lang.String getTitle()
public int getSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |