|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.legend.LegendFactory
Field Summary | |
private java.lang.String |
label
|
private java.lang.String |
legendtitle
|
private java.lang.String |
legendtitlefilterproperty
|
Constructor Summary | |
LegendFactory()
|
Method Summary | |
java.awt.image.BufferedImage[] |
createAllThumbnails(StyledLayerDescriptor sld,
int width,
int height)
|
LegendElement |
createLegendElement(java.awt.image.BufferedImage legendImage)
creates a LegendElement using the passed BufferedImage |
LegendElement |
createLegendElement(Style style,
int width,
int height,
java.lang.String title)
creates a LegendElement from a SLD Style. |
LegendElementCollection |
createLegendElementCollection()
creates an empty LegendElementCollection |
LegendElementCollection |
createLegendElementCollection(LegendElement[] legendElements)
creates a LegendElementCollection and fills it with the passed LegendElements. |
static LegendView |
createLegendView(LegendElementCollection[] collection)
|
java.lang.String |
getLabel()
returns the label set to LegendElement. |
protected java.lang.String |
getLegendTitle()
|
private java.lang.String |
getOperationString(int operationID)
|
private java.lang.String |
getPropertyNameFromFilter(Filter filter)
gets the property-names for creating the legend text |
private java.lang.String |
getPropertyNameFromOperation(Operation operation)
|
void |
setLabel(java.lang.String label)
sets the label of the LegendElement |
private void |
setLegendTitle(java.lang.String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String label
private java.lang.String legendtitle
private java.lang.String legendtitlefilterproperty
Constructor Detail |
public LegendFactory()
Method Detail |
public LegendElement createLegendElement(java.awt.image.BufferedImage legendImage)
public LegendElement createLegendElement(Style style, int width, int height, java.lang.String title) throws LegendException
LegendException
public LegendElementCollection createLegendElementCollection()
public LegendElementCollection createLegendElementCollection(LegendElement[] legendElements)
public static LegendView createLegendView(LegendElementCollection[] collection)
public java.awt.image.BufferedImage[] createAllThumbnails(StyledLayerDescriptor sld, int width, int height) throws LegendException
sld
- width
- height
-
LegendException
private java.lang.String getPropertyNameFromFilter(Filter filter) throws LegendException
LegendException
private java.lang.String getPropertyNameFromOperation(Operation operation) throws LegendException
operation
-
LegendException
private java.lang.String getOperationString(int operationID)
operationID
-
public void setLabel(java.lang.String label)
label
- label of the LegendElementpublic java.lang.String getLabel()
protected java.lang.String getLegendTitle()
private void setLegendTitle(java.lang.String string)
string
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |