|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SLD>
net.refractions.udig.style.sld.SLD
public enum SLD
The different kinds of content that can be rendered with Style Layer Descriptor.
| Enum Constant Summary | |
|---|---|
LINE
|
|
POINT
|
|
POLYGON
|
|
RASTER
|
|
TEXT
|
|
| Method Summary | ||
|---|---|---|
java.lang.Object |
createDefault()
|
|
static
|
createDefault(java.lang.Class<T> theClass)
|
|
ImageDescriptor |
createDisabledImageDescriptor()
|
|
static ImageDescriptor |
createDisabledImageDescriptor(java.lang.Class theClass)
|
|
ImageDescriptor |
createImageDescriptor()
|
|
static ImageDescriptor |
createImageDescriptor(java.lang.Class theClass)
|
|
static java.util.List<java.lang.Class> |
getSupportedTypes(ILayer layer)
Returns the types of SLD style components that support the specified feature type. |
|
static boolean |
isLine(SimpleFeatureType featureType)
|
|
static boolean |
isPoint(SimpleFeatureType featureType)
|
|
static boolean |
isPolygon(SimpleFeatureType featureType)
|
|
boolean |
supports(ILayer layer)
Determines if the style component supports the specified feature type. |
|
static SLD |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
|
static SLD[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SLD POINT
public static final SLD LINE
public static final SLD POLYGON
public static final SLD TEXT
public static final SLD RASTER
| Method Detail |
|---|
public static final SLD[] values()
for(SLD c : SLD.values())
System.out.println(c);
public static SLD valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic ImageDescriptor createImageDescriptor()
public ImageDescriptor createDisabledImageDescriptor()
public java.lang.Object createDefault()
public boolean supports(ILayer layer)
layer - SimpleFeature type, must not be null and must have a valid geometry type attribute.
public static <T> T createDefault(java.lang.Class<T> theClass)
public static ImageDescriptor createImageDescriptor(java.lang.Class theClass)
public static ImageDescriptor createDisabledImageDescriptor(java.lang.Class theClass)
public static java.util.List<java.lang.Class> getSupportedTypes(ILayer layer)
layer - the layer.
public static final boolean isPolygon(SimpleFeatureType featureType)
public static final boolean isLine(SimpleFeatureType featureType)
public static final boolean isPoint(SimpleFeatureType featureType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||