|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.styling.AbstractStyleFactory org.geotools.styling.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()
|
Methods inherited from class org.geotools.styling.AbstractStyleFactory |
getImplementationHints |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.factory.Factory |
getImplementationHints |
Constructor Detail |
public StyleFactoryImpl()
Method Detail |
public Style createStyle()
createStyle
in interface StyleFactory
createStyle
in class AbstractStyleFactory
public NamedStyle createNamedStyle()
createNamedStyle
in interface StyleFactory
createNamedStyle
in class AbstractStyleFactory
public PointSymbolizer createPointSymbolizer()
createPointSymbolizer
in interface StyleFactory
createPointSymbolizer
in class AbstractStyleFactory
public PointSymbolizer createPointSymbolizer(Graphic graphic, java.lang.String geometryPropertyName)
createPointSymbolizer
in interface StyleFactory
createPointSymbolizer
in class AbstractStyleFactory
public PolygonSymbolizer createPolygonSymbolizer()
createPolygonSymbolizer
in interface StyleFactory
createPolygonSymbolizer
in class AbstractStyleFactory
public PolygonSymbolizer createPolygonSymbolizer(Stroke stroke, Fill fill, java.lang.String geometryPropertyName)
createPolygonSymbolizer
in interface StyleFactory
createPolygonSymbolizer
in class AbstractStyleFactory
public LineSymbolizer createLineSymbolizer()
createLineSymbolizer
in interface StyleFactory
createLineSymbolizer
in class AbstractStyleFactory
public LineSymbolizer createLineSymbolizer(Stroke stroke, java.lang.String geometryPropertyName)
createLineSymbolizer
in interface StyleFactory
createLineSymbolizer
in class AbstractStyleFactory
public TextSymbolizer createTextSymbolizer()
createTextSymbolizer
in interface StyleFactory
createTextSymbolizer
in class AbstractStyleFactory
public TextSymbolizer createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, java.lang.String geometryPropertyName)
createTextSymbolizer
in interface StyleFactory
createTextSymbolizer
in class AbstractStyleFactory
public TextSymbolizer2 createTextSymbolizer(Fill fill, Font[] fonts, Halo halo, Expression label, LabelPlacement labelPlacement, java.lang.String geometryPropertyName, Graphic graphic)
StyleFactory2
createTextSymbolizer
in interface StyleFactory2
fill
- Fillfonts
- Font information (CSS)halo
- Describes Halolabel
- Expression for labellabelPlacement
- Captures label positiongeometryPropertyName
- With respect to this geometrygraphic
- Used to draw a backdrop behind label
public Extent createExtent(java.lang.String name, java.lang.String value)
StyleFactory
createExtent
in interface StyleFactory
name
- The name of the extent.value
- The value of the extent.
public FeatureTypeConstraint createFeatureTypeConstraint(java.lang.String featureTypeName, Filter filter, Extent[] extents)
StyleFactory
createFeatureTypeConstraint
in interface StyleFactory
featureTypeName
- The feature type name.filter
- The filter.extents
- The extents.
public LayerFeatureConstraints createLayerFeatureConstraints(FeatureTypeConstraint[] featureTypeConstraints)
createLayerFeatureConstraints
in interface StyleFactory
public FeatureTypeStyle createFeatureTypeStyle()
createFeatureTypeStyle
in interface StyleFactory
createFeatureTypeStyle
in class AbstractStyleFactory
public FeatureTypeStyle createFeatureTypeStyle(Rule[] rules)
createFeatureTypeStyle
in interface StyleFactory
createFeatureTypeStyle
in class AbstractStyleFactory
public Rule createRule()
createRule
in interface StyleFactory
createRule
in class AbstractStyleFactory
public ImageOutline createImageOutline(Symbolizer symbolizer)
StyleFactory
createImageOutline
in interface StyleFactory
symbolizer
- A line or polygon symbolizer.
public Stroke createStroke(Expression color, Expression width)
createStroke
in interface StyleFactory
createStroke
in class AbstractStyleFactory
color
- the color of the linewidth
- the width of the line
org.geotools.stroke
public Stroke createStroke(Expression color, Expression width, Expression opacity)
createStroke
in interface StyleFactory
createStroke
in class AbstractStyleFactory
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)
createStroke
in interface StyleFactory
createStroke
in class AbstractStyleFactory
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
java.lang.IllegalArgumentException
- DOCUMENT ME!org.geotools.stroke
public Fill createFill(Expression color, Expression backgroundColor, Expression opacity, Graphic graphicFill)
createFill
in interface StyleFactory
createFill
in class AbstractStyleFactory
public Fill createFill(Expression color, Expression opacity)
createFill
in interface StyleFactory
createFill
in class AbstractStyleFactory
public Fill createFill(Expression color)
createFill
in interface StyleFactory
createFill
in class AbstractStyleFactory
public Mark createMark(Expression wellKnownName, Stroke stroke, Fill fill, Expression size, Expression rotation)
createMark
in interface StyleFactory
createMark
in class AbstractStyleFactory
public Mark getSquareMark()
StyleFactory
getSquareMark
in interface StyleFactory
getSquareMark
in class AbstractStyleFactory
public Mark getCircleMark()
StyleFactory
getCircleMark
in interface StyleFactory
getCircleMark
in class AbstractStyleFactory
public Mark getCrossMark()
StyleFactory
getCrossMark
in interface StyleFactory
getCrossMark
in class AbstractStyleFactory
public Mark getXMark()
StyleFactory
getXMark
in interface StyleFactory
getXMark
in class AbstractStyleFactory
public Mark getTriangleMark()
StyleFactory
getTriangleMark
in interface StyleFactory
getTriangleMark
in class AbstractStyleFactory
public Mark getStarMark()
StyleFactory
getStarMark
in interface StyleFactory
getStarMark
in class AbstractStyleFactory
public Mark createMark()
createMark
in interface StyleFactory
createMark
in class AbstractStyleFactory
public Graphic createGraphic(ExternalGraphic[] externalGraphics, Mark[] marks, Symbol[] symbols, Expression opacity, Expression size, Expression rotation)
createGraphic
in interface StyleFactory
createGraphic
in class AbstractStyleFactory
public ExternalGraphic createExternalGraphic(java.lang.String uri, java.lang.String format)
createExternalGraphic
in interface StyleFactory
createExternalGraphic
in class AbstractStyleFactory
public ExternalGraphic createExternalGraphic(java.net.URL url, java.lang.String format)
createExternalGraphic
in interface StyleFactory
createExternalGraphic
in class AbstractStyleFactory
public Font createFont(Expression fontFamily, Expression fontStyle, Expression fontWeight, Expression fontSize)
createFont
in interface StyleFactory
createFont
in class AbstractStyleFactory
public LinePlacement createLinePlacement(Expression offset)
createLinePlacement
in interface StyleFactory
createLinePlacement
in class AbstractStyleFactory
public PointPlacement createPointPlacement(AnchorPoint anchorPoint, Displacement displacement, Expression rotation)
createPointPlacement
in interface StyleFactory
createPointPlacement
in class AbstractStyleFactory
public AnchorPoint createAnchorPoint(Expression x, Expression y)
createAnchorPoint
in interface StyleFactory
createAnchorPoint
in class AbstractStyleFactory
public Displacement createDisplacement(Expression x, Expression y)
createDisplacement
in interface StyleFactory
createDisplacement
in class AbstractStyleFactory
public Halo createHalo(Fill fill, Expression radius)
createHalo
in interface StyleFactory
createHalo
in class AbstractStyleFactory
public Fill getDefaultFill()
getDefaultFill
in interface StyleFactory
getDefaultFill
in class AbstractStyleFactory
public LineSymbolizer getDefaultLineSymbolizer()
getDefaultLineSymbolizer
in interface StyleFactory
getDefaultLineSymbolizer
in class AbstractStyleFactory
public Mark getDefaultMark()
getDefaultMark
in interface StyleFactory
getDefaultMark
in class AbstractStyleFactory
public PointSymbolizer getDefaultPointSymbolizer()
getDefaultPointSymbolizer
in interface StyleFactory
getDefaultPointSymbolizer
in class AbstractStyleFactory
public PolygonSymbolizer getDefaultPolygonSymbolizer()
getDefaultPolygonSymbolizer
in interface StyleFactory
getDefaultPolygonSymbolizer
in class AbstractStyleFactory
public Stroke getDefaultStroke()
getDefaultStroke
in interface StyleFactory
getDefaultStroke
in class AbstractStyleFactory
public Style getDefaultStyle()
getDefaultStyle
in interface StyleFactory
getDefaultStyle
in class AbstractStyleFactory
public TextSymbolizer getDefaultTextSymbolizer()
getDefaultTextSymbolizer
in interface StyleFactory
getDefaultTextSymbolizer
in class AbstractStyleFactory
public Font getDefaultFont()
getDefaultFont
in interface StyleFactory
getDefaultFont
in class AbstractStyleFactory
java.lang.RuntimeException
- DOCUMENT ME!public Graphic createDefaultGraphic()
createDefaultGraphic
in interface StyleFactory
public Graphic getDefaultGraphic()
getDefaultGraphic
in interface StyleFactory
getDefaultGraphic
in class AbstractStyleFactory
public PointPlacement getDefaultPointPlacement()
getDefaultPointPlacement
in interface StyleFactory
getDefaultPointPlacement
in class AbstractStyleFactory
public RasterSymbolizer createRasterSymbolizer()
createRasterSymbolizer
in interface StyleFactory
public RasterSymbolizer createRasterSymbolizer(java.lang.String geometryPropertyName, Expression opacity, ChannelSelection channel, Expression overlap, ColorMap colorMap, ContrastEnhancement cenhancement, ShadedRelief relief, Symbolizer outline)
createRasterSymbolizer
in interface StyleFactory
createRasterSymbolizer
in class AbstractStyleFactory
public RasterSymbolizer getDefaultRasterSymbolizer()
getDefaultRasterSymbolizer
in interface StyleFactory
getDefaultRasterSymbolizer
in class AbstractStyleFactory
public ChannelSelection createChannelSelection(SelectedChannelType[] channels)
createChannelSelection
in interface StyleFactory
createChannelSelection
in class AbstractStyleFactory
public ColorMap createColorMap()
createColorMap
in interface StyleFactory
createColorMap
in class AbstractStyleFactory
public ColorMapEntry createColorMapEntry()
createColorMapEntry
in interface StyleFactory
createColorMapEntry
in class AbstractStyleFactory
public ContrastEnhancement createContrastEnhancement()
createContrastEnhancement
in interface StyleFactory
public ContrastEnhancement createContrastEnhancement(Expression gammaValue)
createContrastEnhancement
in interface StyleFactory
public SelectedChannelType createSelectedChannelType(java.lang.String name, ContrastEnhancement enhancement)
createSelectedChannelType
in interface StyleFactory
public SelectedChannelType createSelectedChannelType(java.lang.String name, Expression gammaValue)
createSelectedChannelType
in interface StyleFactory
createSelectedChannelType
in class AbstractStyleFactory
public StyledLayerDescriptor createStyledLayerDescriptor()
createStyledLayerDescriptor
in interface StyleFactory
public UserLayer createUserLayer()
createUserLayer
in interface StyleFactory
public NamedLayer createNamedLayer()
createNamedLayer
in interface StyleFactory
public RemoteOWS createRemoteOWS(java.lang.String service, java.lang.String onlineResource)
createRemoteOWS
in interface StyleFactory
public ShadedRelief createShadedRelief(Expression reliefFactor)
createShadedRelief
in interface StyleFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |