|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractStyleFactory
org.geotools.styling.StyleFactoryImpl
public class StyleFactoryImpl
Factory for creating Styles. All style elements are returned as Interfaces from org.geotools.core as opposed to Implementations from org.geotools.defaultcore.
Constructor Summary | |
---|---|
|
StyleFactoryImpl()
|
protected |
StyleFactoryImpl(FilterFactory factory)
|
Method Summary | |
---|---|
AnchorPoint |
createAnchorPoint(Expression x,
Expression y)
|
ChannelSelection |
createChannelSelection(SelectedChannelType[] channels)
|
ColorMap |
createColorMap()
|
ColorMapEntry |
createColorMapEntry()
|
ContrastEnhancement |
createContrastEnhancement()
|
ContrastEnhancement |
createContrastEnhancement(Expression gammaValue)
|
Graphic |
createDefaultGraphic()
|
Displacement |
createDisplacement(Expression x,
Expression y)
|
Extent |
createExtent(String name,
String value)
|
ExternalGraphic |
createExternalGraphic(String uri,
String format)
|
ExternalGraphic |
createExternalGraphic(URL url,
String format)
|
FeatureTypeConstraint |
createFeatureTypeConstraint(String featureTypeName,
Filter filter,
Extent[] extents)
|
FeatureTypeStyle |
createFeatureTypeStyle()
|
FeatureTypeStyle |
createFeatureTypeStyle(Rule[] rules)
|
Fill |
createFill(Expression color)
|
Fill |
createFill(Expression color,
Expression opacity)
|
Fill |
createFill(Expression color,
Expression backgroundColor,
Expression opacity,
Graphic graphicFill)
|
Font |
createFont(Expression fontFamily,
Expression fontStyle,
Expression fontWeight,
Expression fontSize)
|
Graphic |
createGraphic(ExternalGraphic[] externalGraphics,
Mark[] marks,
Symbol[] symbols,
Expression opacity,
Expression size,
Expression rotation)
|
Halo |
createHalo(Fill fill,
Expression radius)
|
ImageOutline |
createImageOutline(Symbolizer symbolizer)
|
LayerFeatureConstraints |
createLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
|
LinePlacement |
createLinePlacement(Expression offset)
|
LineSymbolizer |
createLineSymbolizer()
|
LineSymbolizer |
createLineSymbolizer(Stroke stroke,
String geometryPropertyName)
|
Mark |
createMark()
|
Mark |
createMark(Expression wellKnownName,
Stroke stroke,
Fill fill,
Expression size,
Expression rotation)
|
NamedLayer |
createNamedLayer()
|
NamedStyle |
createNamedStyle()
|
PointPlacement |
createPointPlacement(AnchorPoint anchorPoint,
Displacement displacement,
Expression rotation)
|
PointSymbolizer |
createPointSymbolizer()
|
PointSymbolizer |
createPointSymbolizer(Graphic graphic,
String geometryPropertyName)
|
PolygonSymbolizer |
createPolygonSymbolizer()
|
PolygonSymbolizer |
createPolygonSymbolizer(Stroke stroke,
Fill fill,
String geometryPropertyName)
|
RasterSymbolizer |
createRasterSymbolizer()
|
RasterSymbolizer |
createRasterSymbolizer(String geometryPropertyName,
Expression opacity,
ChannelSelection channel,
Expression overlap,
ColorMap colorMap,
ContrastEnhancement cenhancement,
ShadedRelief relief,
Symbolizer outline)
|
RemoteOWS |
createRemoteOWS(String service,
String onlineResource)
|
Rule |
createRule()
|
SelectedChannelType |
createSelectedChannelType(String name,
ContrastEnhancement enhancement)
|
SelectedChannelType |
createSelectedChannelType(String name,
Expression gammaValue)
|
ShadedRelief |
createShadedRelief(Expression reliefFactor)
|
Stroke |
createStroke(Expression color,
Expression width)
A convienice method to make a simple stroke |
Stroke |
createStroke(Expression color,
Expression width,
Expression opacity)
A convienice method to make a simple stroke |
Stroke |
createStroke(Expression color,
Expression width,
Expression opacity,
Expression lineJoin,
Expression lineCap,
float[] dashArray,
Expression dashOffset,
Graphic graphicFill,
Graphic graphicStroke)
creates a stroke |
Style |
createStyle()
|
StyledLayerDescriptor |
createStyledLayerDescriptor()
|
TextSymbolizer |
createTextSymbolizer()
|
TextSymbolizer |
createTextSymbolizer(Fill fill,
Font[] fonts,
Halo halo,
Expression label,
LabelPlacement labelPlacement,
String geometryPropertyName)
|
TextSymbolizer2 |
createTextSymbolizer(Fill fill,
Font[] fonts,
Halo halo,
Expression label,
LabelPlacement labelPlacement,
String geometryPropertyName,
Graphic graphic)
|
UserLayer |
createUserLayer()
|
Mark |
getCircleMark()
|
Mark |
getCrossMark()
|
Fill |
getDefaultFill()
|
Font |
getDefaultFont()
Creates a defaultFont which is valid on all machines. |
Graphic |
getDefaultGraphic()
|
LineSymbolizer |
getDefaultLineSymbolizer()
|
Mark |
getDefaultMark()
|
PointPlacement |
getDefaultPointPlacement()
returns a default PointPlacement with a 0,0 anchorPoint and a displacement of 0,0 and a rotation of 0 |
PointSymbolizer |
getDefaultPointSymbolizer()
|
PolygonSymbolizer |
getDefaultPolygonSymbolizer()
|
RasterSymbolizer |
getDefaultRasterSymbolizer()
|
Stroke |
getDefaultStroke()
|
Style |
getDefaultStyle()
|
TextSymbolizer |
getDefaultTextSymbolizer()
Creates a default Text Symbolizer, using the defaultFill, defaultFont and defaultPointPlacement, Sets the geometry attribute name to be geometry:text. |
Mark |
getSquareMark()
|
Mark |
getStarMark()
|
Mark |
getTriangleMark()
|
Mark |
getXMark()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleFactoryImpl()
protected StyleFactoryImpl(FilterFactory factory)
Method Detail |
---|
public Style createStyle()
public NamedStyle createNamedStyle()
public PointSymbolizer createPointSymbolizer()
public PointSymbolizer createPointSymbolizer(Graphic graphic, String geometryPropertyName)
public PolygonSymbolizer createPolygonSymbolizer()
public PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, String geometryPropertyName)
public LineSymbolizer createLineSymbolizer()
public LineSymbolizer createLineSymbolizer(Stroke stroke, String geometryPropertyName)
public TextSymbolizer createTextSymbolizer()
public TextSymbolizer createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName)
public TextSymbolizer2 createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, String geometryPropertyName, Graphic graphic)
public Extent createExtent(String name, String value)
public FeatureTypeConstraint createFeatureTypeConstraint(String featureTypeName, Filter filter, Extent[] extents)
public LayerFeatureConstraints createLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
public FeatureTypeStyle createFeatureTypeStyle()
public FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)
public Rule createRule()
public ImageOutline createImageOutline(Symbolizer symbolizer)
public Stroke createStroke(Expression color, Expression width)
color
- the color of the linewidth
- the width of the line
org.geotools.stroke
public Stroke createStroke(Expression color, Expression width, Expression opacity)
color
- the color of the linewidth
- The width of the lineopacity
- The opacity of the line
org.geotools.stroke
public Stroke createStroke(Expression color, Expression width, Expression opacity, Expression lineJoin, Expression lineCap, float[] dashArray, Expression dashOffset, Graphic graphicFill, Graphic graphicStroke)
color
- The color of the linewidth
- The width of the lineopacity
- The opacity of the linelineJoin
- - the type of Line jointlineCap
- - the type of line capdashArray
- - an array of floats describing the dashes in the linedashOffset
- - where in the dash array to start drawing fromgraphicFill
- - a graphic object to fill the line withgraphicStroke
- - a graphic object to draw the line with
IllegalArgumentException
- DOCUMENT ME!org.geotools.stroke
public Fill createFill(Expression color, Expression backgroundColor, Expression opacity, Graphic graphicFill)
public Fill createFill(Expression color, Expression opacity)
public Fill createFill(Expression color)
public Mark createMark(Expression wellKnownName, Stroke stroke, Fill fill, Expression size, Expression rotation)
public Mark getSquareMark()
public Mark getCircleMark()
public Mark getCrossMark()
public Mark getXMark()
public Mark getTriangleMark()
public Mark getStarMark()
public Mark createMark()
public Graphic createGraphic(ExternalGraphic[] externalGraphics, Mark[] marks, Symbol[] symbols, Expression opacity, Expression size, Expression rotation)
public ExternalGraphic createExternalGraphic(String uri, String format)
public ExternalGraphic createExternalGraphic(URL url, String format)
public Font createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
public LinePlacement createLinePlacement(Expression offset)
public PointPlacement createPointPlacement(AnchorPoint anchorPoint, Displacement displacement, Expression rotation)
public AnchorPoint createAnchorPoint(Expression x, Expression y)
public Displacement createDisplacement(Expression x, Expression y)
public Halo createHalo(Fill fill, Expression radius)
public Fill getDefaultFill()
public LineSymbolizer getDefaultLineSymbolizer()
public Mark getDefaultMark()
public PointSymbolizer getDefaultPointSymbolizer()
public PolygonSymbolizer getDefaultPolygonSymbolizer()
public Stroke getDefaultStroke()
public Style getDefaultStyle()
public TextSymbolizer getDefaultTextSymbolizer()
public Font getDefaultFont()
RuntimeException
- DOCUMENT ME!public Graphic createDefaultGraphic()
public Graphic getDefaultGraphic()
public PointPlacement getDefaultPointPlacement()
public RasterSymbolizer createRasterSymbolizer()
public RasterSymbolizer createRasterSymbolizer(String geometryPropertyName, Expression opacity, ChannelSelection channel, Expression overlap, ColorMap colorMap, ContrastEnhancement cenhancement, ShadedRelief relief, Symbolizer outline)
public RasterSymbolizer getDefaultRasterSymbolizer()
public ChannelSelection createChannelSelection(SelectedChannelType[] channels)
public ColorMap createColorMap()
public ColorMapEntry createColorMapEntry()
public ContrastEnhancement createContrastEnhancement()
public ContrastEnhancement createContrastEnhancement(Expression gammaValue)
public SelectedChannelType createSelectedChannelType(String name, ContrastEnhancement enhancement)
public SelectedChannelType createSelectedChannelType(String name, Expression gammaValue)
public StyledLayerDescriptor createStyledLayerDescriptor()
public UserLayer createUserLayer()
public NamedLayer createNamedLayer()
public RemoteOWS createRemoteOWS(String service, String onlineResource)
public ShadedRelief createShadedRelief(Expression reliefFactor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |