public class CategorizedArea extends AbstractCategorizedLegend<AreaParameters> implements EnablesStroke
AreaSymbolizer instances that are made
of literal or categorized parameters.MappedLegend.MappedLegendEntry, MappedLegend.NumComparator| Constructor and Description |
|---|
CategorizedArea()
Builds a new, empty,
CategorizedArea. |
CategorizedArea(AreaSymbolizer as)
Build a new CategorizedArea from the given AreaSymbolizer.
|
| Modifier and Type | Method and Description |
|---|---|
AreaParameters |
get(Object o) |
List<CategorizedLegend> |
getCategorizedLegend()
Gets all the legends that are used to configure this Categorized symbol
|
AreaParameters |
getFallbackParameters()
Gets the configuration used to draw features we can't get a value for in the map in the style .
|
String |
getLegendTypeId()
Returns an Id that will be used to check that a Legend can be edited
with a given edition panel.
|
String |
getLegendTypeName()
Returns a string that describes - for human - the nature of the
thematic analysis made in this Legend.
|
Uom |
getStrokeUom()
Gets the unit of measure used to compute the form of the stroke.
|
Symbolizer |
getSymbolizer()
Gets the associated
Symbolizer. |
boolean |
isStrokeEnabled()
Returns true if the stroke of the associated symbolizer.
|
AreaParameters |
put(Double d,
AreaParameters ap) |
AreaParameters |
remove(Object o) |
void |
setFallbackParameters(AreaParameters fallback)
Sets the fallback configuration according to the one given in argument.
|
void |
setStrokeEnabled(boolean enable)
Enables or disables the usage of a stroke for the drawn geometries.
|
void |
setStrokeUom(Uom u)
Sets the unit of measure used to compute the form of the stroke.
|
applyGlobalVisitor, applyGlobalVisitor, getNextThreshold, getNotUsedKeyclear, containsKey, containsValue, entrySet, equals, getLookupFieldName, isEmpty, keySet, putAll, setComparator, setLookupFieldName, size, valuesgetMaxScale, getMinScale, getName, setMaxScale, setMinScale, setNamepublic static final String NAME
public CategorizedArea()
CategorizedArea.public CategorizedArea(AreaSymbolizer as)
as - The input AreaSymbolizerIllegalArgumentException - If the input symbolizer cannot be recognized as a CategorizedArea.public List<CategorizedLegend> getCategorizedLegend()
AbstractCategorizedLegendgetCategorizedLegend in class AbstractCategorizedLegend<AreaParameters>public Symbolizer getSymbolizer()
LegendSymbolizer.getSymbolizer in interface Legendpublic String getLegendTypeName()
LegendgetLegendTypeName in interface Legendpublic AreaParameters get(Object o)
get in interface Map<Double,AreaParameters>public AreaParameters put(Double d, AreaParameters ap)
put in interface Map<Double,AreaParameters>public AreaParameters remove(Object o)
remove in interface Map<Double,AreaParameters>public void setFallbackParameters(AreaParameters fallback)
MappedLegendsetFallbackParameters in class MappedLegend<Double,AreaParameters>fallback - The new basis for the fallback configuration.public AreaParameters getFallbackParameters()
MappedLegendgetFallbackParameters in class MappedLegend<Double,AreaParameters>public boolean isStrokeEnabled()
EnablesStrokeisStrokeEnabled in interface EnablesStrokePenStroke is not null.public void setStrokeEnabled(boolean enable)
EnablesStrokesetStrokeEnabled in interface EnablesStrokeenable - If true, the stroke will be drawn. If false, it won't be
drawn.public Uom getStrokeUom()
StrokeUomgetStrokeUom in interface StrokeUompublic void setStrokeUom(Uom u)
StrokeUomsetStrokeUom in interface StrokeUompublic String getLegendTypeId()
LegendgetLegendTypeId in interface LegendgetLegendTypeId in class SymbolizerLegendCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.