public class UniqueSymbolPoint extends ConstantFormPoint implements IUniqueSymbolArea
PointSymbolize :
MarkGraphic instance, used with a well-known
name rather than an external Graphic.PenStroke with a
SolidFill of fixed colour and width.SolidFill of fixed colour and opacity.ViewBox are constant.| Constructor and Description |
|---|
UniqueSymbolPoint()
Build a new
UniqueSymbolPoint from scratch. |
UniqueSymbolPoint(PointParameters pp)
Builds a new
UniqueSymbolPoint using the configuration given in argument |
UniqueSymbolPoint(PointSymbolizer pointSymbolizer)
Tries to build an instance of
UniqueSymbolPoint using the given
PointSymbolizer. |
UniqueSymbolPoint(PointSymbolizer symbolizer,
ConstantWKNLegend markGraphic)
Create a new
UniqueSymbolPoint. |
| Modifier and Type | Method and Description |
|---|---|
ConstantSolidFill |
getFillLegend()
Gets the Fill analysis embedded in this
IUniqueSymbolArea. |
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.
|
ConstantFormWKN |
getMarkGraphic()
Gets the
MarkGraphicLegend that must be associated to the inner PointSymbolizer. |
ConstantPenStroke |
getPenStroke()
Gets the analysis associated to the inner
PenStroke. |
PointParameters |
getPointParameters()
Gets the configuration defining this point, uom excluded, as a
PointParameters instance. |
Double |
getViewBoxHeight()
Get the height of the
ViewBox we are going to draw our symbol in. |
Double |
getViewBoxWidth()
Get the width of the
ViewBox we are going to draw our symbol in. |
void |
setFillLegend(ConstantSolidFill csf)
Sets the Fill analysis embedded in this
IUniqueSymbolArea. |
void |
setPenStroke(ConstantPenStroke cpsl)
Sets the analysis associated to the inner
PenStroke. |
void |
setViewBoxHeight(Double d)
Set the height of the
ViewBox we are going to draw our symbol in. |
void |
setViewBoxWidth(Double d)
Set the width of the
ViewBox we are going to draw our symbol in. |
getStrokeUom, getSymbolizer, getSymbolUom, getWellKnownName, isOnVertex, setOnInterior, setOnVertex, setStrokeUom, setSymbolUom, setWellKnownNamegetMaxScale, 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 UniqueSymbolPoint()
UniqueSymbolPoint from scratch. It will instanciate
the inner symbolizer as needed, as well as the underlying LegendStructure
structure.
We basically instanciate a new default PointSymbolizer, and
use it to compute our LegendStructure structure. That means we know
everything but the colour about the Symbolizer. And we can be
sure it is a constant.
public UniqueSymbolPoint(PointSymbolizer pointSymbolizer)
UniqueSymbolPoint using the given
PointSymbolizer.pointSymbolizer - The original symbolizerIllegalArgumentException - If pointSymbolizer can't be recognized as a valid UniqueSymbolPoint.public UniqueSymbolPoint(PointParameters pp)
UniqueSymbolPoint using the configuration given in argumentpp - The point configuration with all parameters gathered in a PointParameters instance.public UniqueSymbolPoint(PointSymbolizer symbolizer, ConstantWKNLegend markGraphic)
UniqueSymbolPoint. As the associated analysis is
given in parameter, it is up to the calling method to be sure thatsymbolizer - the original symbolizermarkGraphic - its associated legendpublic ConstantFormWKN getMarkGraphic()
ConstantFormPointMarkGraphicLegend that must be associated to the inner PointSymbolizer.getMarkGraphic in class ConstantFormPointMarkGraphicLegend.public ConstantSolidFill getFillLegend()
IUniqueSymbolAreaIUniqueSymbolArea.getFillLegend in interface IUniqueSymbolAreapublic void setFillLegend(ConstantSolidFill csf)
IUniqueSymbolAreaIUniqueSymbolArea.setFillLegend in interface IUniqueSymbolAreapublic ConstantPenStroke getPenStroke()
IUniqueSymbolLinePenStroke.getPenStroke in interface IUniqueSymbolLinepublic void setPenStroke(ConstantPenStroke cpsl)
IUniqueSymbolLinePenStroke.setPenStroke in interface IUniqueSymbolLinepublic Double getViewBoxWidth()
ViewBox we are going to draw our symbol in.Double that can be null. A ViewBox can be defined with
only one dimension set.public Double getViewBoxHeight()
ViewBox we are going to draw our symbol in.Double that can be null. A ViewBox can be defined with
only one dimension set.public void setViewBoxHeight(Double d)
ViewBox we are going to draw our symbol in.d - A Double that can be null. A ViewBox can be defined with
only one dimension set.public void setViewBoxWidth(Double d)
ViewBox we are going to draw our symbol in.d - A Double that can be null. A ViewBox can be defined with
only one dimension set.public String getLegendTypeName()
LegendgetLegendTypeName in interface Legendpublic String getLegendTypeId()
LegendgetLegendTypeId in interface LegendgetLegendTypeId in class SymbolizerLegendpublic PointParameters getPointParameters()
PointParameters instance.PointParameters.Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.