| java.lang.Object org.deegree.graphics.legend.LegendFactory
LegendFactory | public class LegendFactory (Code) | | factory class for creating legend elements/images to be used with WMS GetLegendGraphic request
version: $Revision: 9340 $ author: $author$ |
createLegendElement | public LegendElement createLegendElement(BufferedImage legendImage)(Code) | | creates a LegendElement using the passed BufferedImage
LegendElement |
createLegendElement | public LegendElement createLegendElement(AbstractStyle style, int width, int height, String title) throws LegendException(Code) | | creates a LegendElement from a SLD Style. Depending on the
Style the returned LegendElement may is a
LegendElementCollection.
LegendElement |
createLegendElementCollection | public LegendElementCollection createLegendElementCollection()(Code) | | creates an empty LegendElementCollection
LegendElementCollection |
createLegendElementCollection | public LegendElementCollection createLegendElementCollection(LegendElement[] legendElements)(Code) | | creates a LegendElementCollection and fills it with the passed
LegendElements.
LegendElementCollection |
getLabel | public String getLabel()(Code) | | returns the label set to LegendElement. If no label is set, the method returns
null
label of the LegendElement or null |
setLabel | public void setLabel(String label)(Code) | | sets the label of the LegendElement
Parameters: label - label of the LegendElement |
|
|