|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.styling.AbstractStyleFactory
Abstract base class for implementing style factories.
Constructor Summary | |
AbstractStyleFactory()
|
Method Summary | |
abstract AnchorPoint |
createAnchorPoint(Expression x,
Expression y)
|
abstract ChannelSelection |
createChannelSelection(SelectedChannelType[] channels)
|
abstract ColorMap |
createColorMap()
|
abstract ColorMapEntry |
createColorMapEntry()
|
abstract Displacement |
createDisplacement(Expression x,
Expression y)
|
abstract ExternalGraphic |
createExternalGraphic(java.lang.String uri,
java.lang.String format)
|
abstract ExternalGraphic |
createExternalGraphic(java.net.URL url,
java.lang.String format)
|
abstract FeatureTypeStyle |
createFeatureTypeStyle()
|
abstract FeatureTypeStyle |
createFeatureTypeStyle(Rule[] rules)
|
abstract Fill |
createFill(Expression color)
|
abstract Fill |
createFill(Expression color,
Expression opacity)
|
abstract Fill |
createFill(Expression color,
Expression backgroundColor,
Expression opacity,
Graphic graphicFill)
|
abstract Font |
createFont(Expression fontFamily,
Expression fontStyle,
Expression fontWeight,
Expression fontSize)
|
abstract Graphic |
createGraphic(ExternalGraphic[] externalGraphics,
Mark[] marks,
Symbol[] symbols,
Expression opacity,
Expression size,
Expression rotation)
|
abstract Halo |
createHalo(Fill fill,
Expression radius)
|
abstract LinePlacement |
createLinePlacement(Expression offset)
|
abstract LineSymbolizer |
createLineSymbolizer()
|
abstract LineSymbolizer |
createLineSymbolizer(Stroke stroke,
java.lang.String geometryPropertyName)
|
abstract Mark |
createMark()
|
abstract Mark |
createMark(Expression wellKnownName,
Stroke stroke,
Fill fill,
Expression size,
Expression rotation)
|
abstract NamedStyle |
createNamedStyle()
|
abstract PointPlacement |
createPointPlacement(AnchorPoint anchorPoint,
Displacement displacement,
Expression rotation)
|
abstract PointSymbolizer |
createPointSymbolizer()
|
abstract PointSymbolizer |
createPointSymbolizer(Graphic graphic,
java.lang.String geometryPropertyName)
|
abstract PolygonSymbolizer |
createPolygonSymbolizer()
|
abstract PolygonSymbolizer |
createPolygonSymbolizer(Stroke stroke,
Fill fill,
java.lang.String geometryPropertyName)
|
abstract RasterSymbolizer |
createRasterSymbolizer(java.lang.String geometryPropertyName,
Expression opacity,
ChannelSelection channel,
Expression overlap,
ColorMap colorMap,
ContrastEnhancement ce,
ShadedRelief relief,
Symbolizer outline)
|
abstract Rule |
createRule()
|
abstract SelectedChannelType |
createSelectedChannelType(java.lang.String name,
Expression enhancement)
|
abstract Stroke |
createStroke(Expression color,
Expression width)
A convienice method to make a simple stroke |
abstract Stroke |
createStroke(Expression color,
Expression width,
Expression opacity)
A convienice method to make a simple stroke |
abstract Stroke |
createStroke(Expression color,
Expression width,
Expression opacity,
Expression lineJoin,
Expression lineCap,
float[] dashArray,
Expression dashOffset,
Graphic graphicFill,
Graphic graphicStroke)
creates a stroke |
abstract Style |
createStyle()
|
abstract TextSymbolizer |
createTextSymbolizer()
|
abstract TextSymbolizer |
createTextSymbolizer(Fill fill,
Font[] fonts,
Halo halo,
Expression label,
LabelPlacement labelPlacement,
java.lang.String geometryPropertyName)
|
abstract Mark |
getCircleMark()
Convinence method for obtaining a mark of a fixed shape |
abstract Mark |
getCrossMark()
Convinence method for obtaining a mark of a fixed shape |
abstract Fill |
getDefaultFill()
|
abstract Font |
getDefaultFont()
|
abstract Graphic |
getDefaultGraphic()
|
abstract LineSymbolizer |
getDefaultLineSymbolizer()
|
abstract Mark |
getDefaultMark()
|
abstract PointPlacement |
getDefaultPointPlacement()
|
abstract PointSymbolizer |
getDefaultPointSymbolizer()
|
abstract PolygonSymbolizer |
getDefaultPolygonSymbolizer()
|
abstract RasterSymbolizer |
getDefaultRasterSymbolizer()
|
abstract Stroke |
getDefaultStroke()
|
abstract Style |
getDefaultStyle()
|
abstract TextSymbolizer |
getDefaultTextSymbolizer()
Creates a default Text Symbolizer, using the defaultFill, defaultFont and defaultPointPlacement, Sets the geometry attribute name to be geometry:text. |
java.util.Map |
getImplementationHints()
Returns implementation hints for this factory. |
abstract Mark |
getSquareMark()
Convinence method for obtaining a mark of a fixed shape |
abstract Mark |
getStarMark()
Convinence method for obtaining a mark of a fixed shape |
abstract Mark |
getTriangleMark()
Convinence method for obtaining a mark of a fixed shape |
abstract Mark |
getXMark()
Convinence method for obtaining a mark of a fixed shape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.styling.StyleFactory |
createContrastEnhancement, createContrastEnhancement, createDefaultGraphic, createExtent, createFeatureTypeConstraint, createImageOutline, createLayerFeatureConstraints, createNamedLayer, createRasterSymbolizer, createRemoteOWS, createSelectedChannelType, createShadedRelief, createStyledLayerDescriptor, createUserLayer |
Constructor Detail |
public AbstractStyleFactory()
Method Detail |
public abstract TextSymbolizer createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, java.lang.String geometryPropertyName)
createTextSymbolizer
in interface StyleFactory
public abstract ExternalGraphic createExternalGraphic(java.net.URL url, java.lang.String format)
createExternalGraphic
in interface StyleFactory
public abstract ExternalGraphic createExternalGraphic(java.lang.String uri, java.lang.String format)
createExternalGraphic
in interface StyleFactory
public abstract AnchorPoint createAnchorPoint(Expression x, Expression y)
createAnchorPoint
in interface StyleFactory
public abstract Displacement createDisplacement(Expression x, Expression y)
createDisplacement
in interface StyleFactory
public abstract PointSymbolizer createPointSymbolizer()
createPointSymbolizer
in interface StyleFactory
public abstract Mark createMark(Expression wellKnownName, Stroke stroke, Fill fill, Expression size, Expression rotation)
createMark
in interface StyleFactory
public abstract Mark getCircleMark()
getCircleMark
in interface StyleFactory
public abstract Mark getXMark()
getXMark
in interface StyleFactory
public abstract Mark getStarMark()
getStarMark
in interface StyleFactory
public abstract Mark getSquareMark()
getSquareMark
in interface StyleFactory
public abstract Mark getCrossMark()
getCrossMark
in interface StyleFactory
public abstract Mark getTriangleMark()
getTriangleMark
in interface StyleFactory
public abstract FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)
createFeatureTypeStyle
in interface StyleFactory
public abstract LinePlacement createLinePlacement(Expression offset)
createLinePlacement
in interface StyleFactory
public abstract PolygonSymbolizer createPolygonSymbolizer()
createPolygonSymbolizer
in interface StyleFactory
public abstract Halo createHalo(Fill fill, Expression radius)
createHalo
in interface StyleFactory
public abstract Fill createFill(Expression color, Expression backgroundColor, Expression opacity, Graphic graphicFill)
createFill
in interface StyleFactory
public abstract LineSymbolizer createLineSymbolizer()
createLineSymbolizer
in interface StyleFactory
public abstract PointSymbolizer createPointSymbolizer(Graphic graphic, java.lang.String geometryPropertyName)
createPointSymbolizer
in interface StyleFactory
public abstract Style createStyle()
createStyle
in interface StyleFactory
public abstract NamedStyle createNamedStyle()
createNamedStyle
in interface StyleFactory
public abstract Fill createFill(Expression color, Expression opacity)
createFill
in interface StyleFactory
public abstract Fill createFill(Expression color)
createFill
in interface StyleFactory
public abstract TextSymbolizer createTextSymbolizer()
createTextSymbolizer
in interface StyleFactory
public abstract PointPlacement createPointPlacement(AnchorPoint anchorPoint, Displacement displacement, Expression rotation)
createPointPlacement
in interface StyleFactory
public abstract Stroke createStroke(Expression color, Expression width)
createStroke
in interface StyleFactory
color
- the color of the linewidth
- the width of the line
org.geotools.stroke
public abstract Stroke createStroke(Expression color, Expression width, Expression opacity)
createStroke
in interface StyleFactory
color
- the color of the linewidth
- The width of the lineopacity
- The opacity of the line
org.geotools.stroke
public abstract Stroke createStroke(Expression color, Expression width, Expression opacity, Expression lineJoin, Expression lineCap, float[] dashArray, Expression dashOffset, Graphic graphicFill, Graphic graphicStroke)
createStroke
in interface StyleFactory
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
org.geotools.stroke
public abstract Rule createRule()
createRule
in interface StyleFactory
public abstract LineSymbolizer createLineSymbolizer(Stroke stroke, java.lang.String geometryPropertyName)
createLineSymbolizer
in interface StyleFactory
public abstract FeatureTypeStyle createFeatureTypeStyle()
createFeatureTypeStyle
in interface StyleFactory
public abstract Graphic createGraphic(ExternalGraphic[] externalGraphics, Mark[] marks, Symbol[] symbols, Expression opacity, Expression size, Expression rotation)
createGraphic
in interface StyleFactory
public abstract Font createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
createFont
in interface StyleFactory
public abstract Mark createMark()
createMark
in interface StyleFactory
public abstract PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, java.lang.String geometryPropertyName)
createPolygonSymbolizer
in interface StyleFactory
public abstract RasterSymbolizer createRasterSymbolizer(java.lang.String geometryPropertyName, Expression opacity, ChannelSelection channel, Expression overlap, ColorMap colorMap, ContrastEnhancement ce, ShadedRelief relief, Symbolizer outline)
createRasterSymbolizer
in interface StyleFactory
public abstract RasterSymbolizer getDefaultRasterSymbolizer()
getDefaultRasterSymbolizer
in interface StyleFactory
public abstract ChannelSelection createChannelSelection(SelectedChannelType[] channels)
createChannelSelection
in interface StyleFactory
public abstract SelectedChannelType createSelectedChannelType(java.lang.String name, Expression enhancement)
createSelectedChannelType
in interface StyleFactory
public abstract ColorMap createColorMap()
createColorMap
in interface StyleFactory
public abstract ColorMapEntry createColorMapEntry()
createColorMapEntry
in interface StyleFactory
public abstract Style getDefaultStyle()
getDefaultStyle
in interface StyleFactory
public abstract Stroke getDefaultStroke()
getDefaultStroke
in interface StyleFactory
public abstract Fill getDefaultFill()
getDefaultFill
in interface StyleFactory
public abstract Mark getDefaultMark()
getDefaultMark
in interface StyleFactory
public abstract PointSymbolizer getDefaultPointSymbolizer()
getDefaultPointSymbolizer
in interface StyleFactory
public abstract PolygonSymbolizer getDefaultPolygonSymbolizer()
getDefaultPolygonSymbolizer
in interface StyleFactory
public abstract LineSymbolizer getDefaultLineSymbolizer()
getDefaultLineSymbolizer
in interface StyleFactory
public abstract TextSymbolizer getDefaultTextSymbolizer()
getDefaultTextSymbolizer
in interface StyleFactory
public abstract Graphic getDefaultGraphic()
getDefaultGraphic
in interface StyleFactory
public abstract Font getDefaultFont()
getDefaultFont
in interface StyleFactory
public abstract PointPlacement getDefaultPointPlacement()
getDefaultPointPlacement
in interface StyleFactory
public java.util.Map getImplementationHints()
getImplementationHints
in interface Factory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |