GeoAPI 2.0
Build 2005-06-08

org.opengis.go.display.style
Class DashArray

Object
  extended by CodeList
      extended by SimpleEnumerationType
          extended by LinePattern
              extended by DashArray
All Implemented Interfaces:
Serializable, Comparable

public class DashArray
extends LinePattern

Indicates the various enumerations of drawing a pattern line. An implementor can create a DashArray by passing a float array in the constructor that would indicate the dash pattern to be drawn.

Version:
$Revision: 1.4 $, $Date: 2005/05/16 10:54:57 $
See Also:
Serialized Form

Field Summary
static DashArray NONE
           
 
Fields inherited from class LinePattern
DASHED, DOT_DASHED, DOTTED, LONG_DASHED, LONG_DOT_DASHED
 
Constructor Summary
DashArray(String name, String description, float[] pattern)
          Construct an enumeration using the specified pattern.
 
Method Summary
 float[] getDashPattern()
          Returns the dash pattern.
 
Methods inherited from class LinePattern
family, values
 
Methods inherited from class SimpleEnumerationType
getDescription, getIcon, getNullIcon, loadIconResource, toString
 
Methods inherited from class CodeList
compareTo, name, ordinal, readResolve
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final DashArray NONE
Constructor Detail

DashArray

public DashArray(String name,
                 String description,
                 float[] pattern)
Construct an enumeration using the specified pattern.

Method Detail

getDashPattern

public float[] getDashPattern()
Returns the dash pattern.


REVISIT OPEN ISSUE (a GeoAPI comment)
Should clone the array in order to protect the enum from change.

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium