|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<Mode>
Mode
public enum Mode
Captures the current *mode* of the style configurator making use of a StyleViewer.
This is used to let the viewers get modey, and disable fill content when working with linestrings for example.
Enum Constant Summary | |
---|---|
ALL
ALL Mode - editing a Geometry. |
|
LINE
LINE Mode - editing a Linestring or MultiLineString. |
|
NONE
NONE Mode - content cannot be styled by SLD (like scalebar) |
|
POINT
POINT Mode - editing a Point or MultiPoint. |
|
POLYGON
POLYGON Mode - editing a Polygone or MultiPolygon. |
Method Summary | |
---|---|
static Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Mode POINT
POINT
Mode - editing a Point or MultiPoint.
public static final Mode LINE
LINE
Mode - editing a Linestring or MultiLineString.
public static final Mode POLYGON
POLYGON
Mode - editing a Polygone or MultiPolygon.
public static final Mode ALL
ALL
Mode - editing a Geometry.
public static final Mode NONE
NONE
Mode - content cannot be styled by SLD (like scalebar)
Method Detail |
---|
public static Mode[] values()
for (Mode c : Mode.values()) System.out.println(c);
public static Mode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |