com.moximedia.ows.wfs
Class SimplePolygonSymbolizer

java.lang.Object
  extended bycom.moximedia.ows.wfs.SimplePolygonSymbolizer
All Implemented Interfaces:
java.io.Serializable, Symbolizer, SymbolizerType

public class SimplePolygonSymbolizer
extends java.lang.Object
implements Symbolizer, SymbolizerType, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.moximedia.ows.types.SymbolizerType
SYMBOLIZER_TYPE_SIMPLE_POLYGON
 
Constructor Summary
SimplePolygonSymbolizer()
          Creates new SymbolizerSimplePolygon.
 
Method Summary
 void draw(java.awt.Graphics2D graphics, Map map, WfsLayer layer)
           
 java.awt.Color getFillColor()
           
 double getMaxScale()
          Gets the maximum scale at which the feature will be displayed.
 double getMinScale()
          Gets the minimum scale at which the feature will be displayed.
 java.awt.Color getOutlineColor()
           
 java.lang.String getPattern()
           
 java.awt.BasicStroke getStroke()
           
 int getSymbolizerType()
           
 void setFillColor(java.awt.Color color)
           
 void setMaxScale(double scale)
           
 void setMinScale(double scale)
           
 void setOutlineColor(java.awt.Color color)
           
 void setPattern(java.lang.String patternFileName)
           
 void setStroke(java.awt.BasicStroke stroke)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePolygonSymbolizer

public SimplePolygonSymbolizer()
Creates new SymbolizerSimplePolygon. The fill color is random if not subsequently set.

Method Detail

draw

public void draw(java.awt.Graphics2D graphics,
                 Map map,
                 WfsLayer layer)

getFillColor

public java.awt.Color getFillColor()

getMaxScale

public double getMaxScale()
Gets the maximum scale at which the feature will be displayed.

Returns:
The maximum scale at which the feature will be displayed.

getMinScale

public double getMinScale()
Gets the minimum scale at which the feature will be displayed.

Returns:
The minimum scale at which the feature will be displayed.

getOutlineColor

public java.awt.Color getOutlineColor()

getPattern

public java.lang.String getPattern()

getStroke

public java.awt.BasicStroke getStroke()

getSymbolizerType

public int getSymbolizerType()

setFillColor

public void setFillColor(java.awt.Color color)

setMaxScale

public void setMaxScale(double scale)

setMinScale

public void setMinScale(double scale)

setOutlineColor

public void setOutlineColor(java.awt.Color color)

setPattern

public void setPattern(java.lang.String patternFileName)

setStroke

public void setStroke(java.awt.BasicStroke stroke)


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.