public class RecodedPoint extends AbstractRecodedLegend<PointParameters> implements SymbolUom, EnablesStroke, OnVertexOnInterior
MappedLegend.MappedLegendEntry, MappedLegend.NumComparator| Constructor and Description |
|---|
RecodedPoint()
Default constructor : builds an empty classification based on the default
PointSymbolizer. |
RecodedPoint(PointSymbolizer symbolizer)
Builds a new
RecodedPoint considering that sym matches the configuration constraints expected
by this class. |
| Modifier and Type | Method and Description |
|---|---|
PointParameters |
get(Object objKey) |
PointParameters |
getFallbackParameters()
Gets the configuration used to draw features we can't get a value for in the map in the style .
|
org.orbisgis.legend.structure.recode.RecodedColor |
getFillColor()
Gets the wrapper that manages the color of the fill.
|
org.orbisgis.legend.structure.recode.RecodedReal |
getFillOpacity()
Gets the wrapper that manages the opacity of 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.
|
org.orbisgis.legend.structure.recode.RecodedColor |
getLineColor()
Gets the wrapper that manages the color of the line.
|
org.orbisgis.legend.structure.recode.RecodedString |
getLineDash()
Gets the wrapper that manages the dash pattern of the line.
|
org.orbisgis.legend.structure.recode.RecodedReal |
getLineOpacity()
Gets the wrapper that manages the opacity of the line.
|
org.orbisgis.legend.structure.recode.RecodedReal |
getLineWidth()
Gets the wrapper that manages the width of the line.
|
List<org.orbisgis.legend.structure.recode.RecodedLegend> |
getRecodedLegends()
Get all the instances of
RecodedLegend that are needed to configure this legend. |
Uom |
getStrokeUom()
Gets the unit of measure used to compute the form of the stroke.
|
org.orbisgis.legend.structure.recode.RecodedReal |
getSymbolHeight()
Gets the wrapper that manages height of the symbol.
|
Symbolizer |
getSymbolizer()
Gets the associated
Symbolizer. |
Uom |
getSymbolUom()
Gets the unit of measure used to size the associated
Stroke. |
org.orbisgis.legend.structure.recode.RecodedReal |
getSymbolWidth()
Gets the wrapper that manages width of the symbol.
|
org.orbisgis.legend.structure.recode.RecodedString |
getWkn()
Gets the wrapper that manages the well-known name that determines the form of the symbol.
|
int |
hashCode() |
boolean |
isOnVertex()
Gets whether symbols must be drawn on vertices or on interior point.
|
boolean |
isStrokeEnabled()
Returns true if the stroke of the associated symbolizer.
|
PointParameters |
put(String key,
PointParameters value) |
PointParameters |
remove(Object objKey) |
void |
replaceMarkHeight(SeParameter sp)
Replace the
RealParameter embedded in the inner MarkGraphic with sp. |
void |
replaceMarkWidth(SeParameter sp)
Replace the
RealParameter embedded in the inner MarkGraphic with sp. |
void |
replaceWkn(SeParameter sp)
Replace the
StringParameter embedded in the inner MarkGraphic with sp. |
void |
setFallbackParameters(PointParameters ap)
Sets the fallback configuration according to the one given in argument.
|
void |
setOnInterior()
Sets that symbols must be drawn on vertices or on interior point.
|
void |
setOnVertex()
Sets that symbols must be drawn on vertices or on interior point.
|
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.
|
void |
setSymbolUom(Uom u)
Sets the unit of measure used to size the associated
Stroke. |
applyGlobalVisitor, applyGlobalVisitor, getComparator, getNotUsedKeyclear, containsKey, containsValue, entrySet, equals, getLookupFieldName, isEmpty, keySet, putAll, setComparator, setLookupFieldName, size, valuesgetMaxScale, getMinScale, getName, setMaxScale, setMinScale, setNamepublic static final String NAME
public RecodedPoint()
PointSymbolizer.public RecodedPoint(PointSymbolizer symbolizer)
RecodedPoint considering that sym matches the configuration constraints expected
by this class. That means it must be made of a MarkGraphic containing a PenStroke and a
SolidFill and whose shape is configured with a WellKnownName
All of them them must be built with literals or recode instances containing only literals, and that the recode instances are all built with the same analysis field. Use the analyzer dedicated to area to check that automatically.
symbolizer - The base Symbolizerpublic void replaceWkn(SeParameter sp)
StringParameter embedded in the inner MarkGraphic with sp. This method is called
when a type change occurs in the associated RecodedString happens.sp - The new StringParameterClassCastException - if sp is not a StringParameterpublic void replaceMarkWidth(SeParameter sp)
RealParameter embedded in the inner MarkGraphic with sp. This method is called
when a type change occurs in the associated RecodedReal happens.sp - The new RealParameterClassCastException - if sp is not a RealParameterpublic void replaceMarkHeight(SeParameter sp)
RealParameter embedded in the inner MarkGraphic with sp. This method is called
when a type change occurs in the associated RecodedReal happens.sp - The new RealParameterClassCastException - if sp is not a RealParameterpublic Symbolizer getSymbolizer()
LegendSymbolizer.getSymbolizer in interface Legendpublic String getLegendTypeName()
LegendgetLegendTypeName in interface Legendpublic org.orbisgis.legend.structure.recode.RecodedReal getLineWidth()
public org.orbisgis.legend.structure.recode.RecodedReal getLineOpacity()
public org.orbisgis.legend.structure.recode.RecodedColor getLineColor()
public org.orbisgis.legend.structure.recode.RecodedString getLineDash()
public org.orbisgis.legend.structure.recode.RecodedReal getFillOpacity()
public org.orbisgis.legend.structure.recode.RecodedColor getFillColor()
public org.orbisgis.legend.structure.recode.RecodedString getWkn()
public org.orbisgis.legend.structure.recode.RecodedReal getSymbolWidth()
public org.orbisgis.legend.structure.recode.RecodedReal getSymbolHeight()
public Uom getStrokeUom()
StrokeUomgetStrokeUom in interface StrokeUompublic void setStrokeUom(Uom u)
StrokeUomsetStrokeUom in interface StrokeUompublic PointParameters get(Object objKey)
get in interface Map<String,PointParameters>public PointParameters put(String key, PointParameters value)
put in interface Map<String,PointParameters>public PointParameters remove(Object objKey)
remove in interface Map<String,PointParameters>public List<org.orbisgis.legend.structure.recode.RecodedLegend> getRecodedLegends()
RecodedLegendStructureRecodedLegend that are needed to configure this legend.getRecodedLegends in interface RecodedLegendStructurepublic PointParameters getFallbackParameters()
MappedLegendgetFallbackParameters in class MappedLegend<String,PointParameters>public void setFallbackParameters(PointParameters ap)
MappedLegendsetFallbackParameters in class MappedLegend<String,PointParameters>ap - The new basis for the fallback configuration.public int hashCode()
public String getLegendTypeId()
LegendgetLegendTypeId in interface LegendgetLegendTypeId in class SymbolizerLegendpublic 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 void setOnVertex()
OnVertexOnInteriorsetOnVertex in interface OnVertexOnInteriorpublic void setOnInterior()
OnVertexOnInteriorsetOnInterior in interface OnVertexOnInteriorpublic boolean isOnVertex()
OnVertexOnInteriorisOnVertex in interface OnVertexOnInteriorpublic Uom getSymbolUom()
SymbolUomStroke.getSymbolUom in interface SymbolUompublic void setSymbolUom(Uom u)
SymbolUomStroke.setSymbolUom in interface SymbolUomu - The new UomCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.