|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 StyleFactorypublic abstract PointSymbolizer createPointSymbolizer()
createPointSymbolizer in interface StyleFactory
public abstract Mark createMark(Expression wellKnownName,
Stroke stroke,
Fill fill,
Expression size,
Expression rotation)
createMark in interface StyleFactorypublic abstract Mark getCircleMark()
getCircleMark in interface StyleFactorypublic abstract Mark getXMark()
getXMark in interface StyleFactorypublic abstract Mark getStarMark()
getStarMark in interface StyleFactorypublic abstract Mark getSquareMark()
getSquareMark in interface StyleFactorypublic abstract Mark getCrossMark()
getCrossMark in interface StyleFactorypublic abstract Mark getTriangleMark()
getTriangleMark in interface StyleFactorypublic abstract FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)
createFeatureTypeStyle in interface StyleFactorypublic abstract LinePlacement createLinePlacement(Expression offset)
createLinePlacement in interface StyleFactorypublic 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 StyleFactorypublic abstract LineSymbolizer createLineSymbolizer()
createLineSymbolizer in interface StyleFactory
public abstract PointSymbolizer createPointSymbolizer(Graphic graphic,
java.lang.String geometryPropertyName)
createPointSymbolizer in interface StyleFactorypublic abstract Style createStyle()
createStyle in interface StyleFactorypublic abstract NamedStyle createNamedStyle()
createNamedStyle in interface StyleFactory
public abstract Fill createFill(Expression color,
Expression opacity)
createFill in interface StyleFactorypublic abstract Fill createFill(Expression color)
createFill in interface StyleFactorypublic 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 StyleFactorycolor - 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 StyleFactorycolor - 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 StyleFactorycolor - 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.strokepublic abstract Rule createRule()
createRule in interface StyleFactory
public abstract LineSymbolizer createLineSymbolizer(Stroke stroke,
java.lang.String geometryPropertyName)
createLineSymbolizer in interface StyleFactorypublic 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 StyleFactorypublic 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 StyleFactorypublic abstract RasterSymbolizer getDefaultRasterSymbolizer()
getDefaultRasterSymbolizer in interface StyleFactorypublic abstract ChannelSelection createChannelSelection(SelectedChannelType[] channels)
createChannelSelection in interface StyleFactory
public abstract SelectedChannelType createSelectedChannelType(java.lang.String name,
Expression enhancement)
createSelectedChannelType in interface StyleFactorypublic abstract ColorMap createColorMap()
createColorMap in interface StyleFactorypublic abstract ColorMapEntry createColorMapEntry()
createColorMapEntry in interface StyleFactorypublic abstract Style getDefaultStyle()
getDefaultStyle in interface StyleFactorypublic abstract Stroke getDefaultStroke()
getDefaultStroke in interface StyleFactorypublic abstract Fill getDefaultFill()
getDefaultFill in interface StyleFactorypublic abstract Mark getDefaultMark()
getDefaultMark in interface StyleFactorypublic abstract PointSymbolizer getDefaultPointSymbolizer()
getDefaultPointSymbolizer in interface StyleFactorypublic abstract PolygonSymbolizer getDefaultPolygonSymbolizer()
getDefaultPolygonSymbolizer in interface StyleFactorypublic abstract LineSymbolizer getDefaultLineSymbolizer()
getDefaultLineSymbolizer in interface StyleFactorypublic abstract TextSymbolizer getDefaultTextSymbolizer()
getDefaultTextSymbolizer in interface StyleFactorypublic abstract Graphic getDefaultGraphic()
getDefaultGraphic in interface StyleFactorypublic abstract Font getDefaultFont()
getDefaultFont in interface StyleFactorypublic abstract PointPlacement getDefaultPointPlacement()
getDefaultPointPlacement in interface StyleFactorypublic java.util.Map getImplementationHints()
getImplementationHints in interface Factory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||