public class UniqueSymbolArea extends ConstantStrokeArea implements IUniqueSymbolArea
AreaSymbolizer whose parameters are constant, whatever
the input data are. We expect from its Stroke :
PenStroke SolidFill, and consequently with a
constant Color.Fill to be a constant SolidFill instance.| Constructor and Description |
|---|
UniqueSymbolArea()
Builds a new default
UniqueSymbolArea from scratch. |
UniqueSymbolArea(AreaParameters ap)
Builds a new
UniqueSymbolArea from the given AreaParameters. |
UniqueSymbolArea(AreaSymbolizer symbolizer)
Builds a new
UniqueSymbolArea directly from the given AreaSymbolizer. |
| Modifier and Type | Method and Description |
|---|---|
AreaParameters |
getAreaParameters()
Gets the representation of this symbol as a AreaParameters instance.
|
ConstantSolidFill |
getFillLegend()
Exposes the inner
LegendStructure that represents the analysis
made on the Fill. |
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.
|
ConstantPenStroke |
getPenStroke()
Gets the analysis associated to the inner
PenStroke. |
void |
setFillLegend(ConstantSolidFill cfl)
Sets the legend describing the structure of the fill contained in the
inner
AreaSymbolizer. |
void |
setPenStroke(ConstantPenStroke cpsl)
Sets the analysis associated to the inner
PenStroke. |
getDashArray, getLineColor, getLineWidth, getStrokeLegend, getStrokeUom, getSymbolizer, setDashArray, setLineColor, setLineWidth, setStrokeLegend, setStrokeUomgetMaxScale, getMinScale, getName, setMaxScale, setMinScale, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxScale, getMinScale, getName, getSymbolizer, setMaxScale, setMinScale, setNamepublic static final String NAME
public UniqueSymbolArea()
UniqueSymbolArea from scratch. It contains a
default AreaSymbolizer, which is consequently constant. The
associated LegendStructure structure is built during initialization.public UniqueSymbolArea(AreaSymbolizer symbolizer)
UniqueSymbolArea directly from the given AreaSymbolizer.symbolizer - The original symbolizerpublic UniqueSymbolArea(AreaParameters ap)
UniqueSymbolArea from the given AreaParameters.ap - The unique symbol configuration.public ConstantSolidFill getFillLegend()
LegendStructure that represents the analysis
made on the Fill.getFillLegend in interface IUniqueSymbolAreapublic ConstantPenStroke getPenStroke()
IUniqueSymbolLinePenStroke.getPenStroke in interface IUniqueSymbolLinepublic void setPenStroke(ConstantPenStroke cpsl)
IUniqueSymbolLinePenStroke.setPenStroke in interface IUniqueSymbolLinepublic void setFillLegend(ConstantSolidFill cfl)
AreaSymbolizer. This will update the fill of the AreaSymbolizer in question.setFillLegend in interface IUniqueSymbolAreacfl - The new fill legend that is associated to this unique symbol. Will replace the fill of the inner
symbolizer.public String getLegendTypeName()
LegendgetLegendTypeName in interface Legendpublic String getLegendTypeId()
LegendgetLegendTypeId in interface LegendgetLegendTypeId in class SymbolizerLegendpublic AreaParameters getAreaParameters()
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.