nl.cloudfarming.client.area.field.pref
Enum AreaFieldPreference
java.lang.Object
java.lang.Enum<AreaFieldPreference>
nl.cloudfarming.client.area.field.pref.AreaFieldPreference
- All Implemented Interfaces:
- Serializable, Comparable<AreaFieldPreference>
public enum AreaFieldPreference
- extends Enum<AreaFieldPreference>
utility enum for storing and retrieving preferences
( for localized text use NbBundle )
- Author:
- Timon Veenstra
LOAD_DIR
public static final AreaFieldPreference LOAD_DIR
SHAPE_FILE_ARCHIVE_DIR
public static final AreaFieldPreference SHAPE_FILE_ARCHIVE_DIR
FIELD_DATABASE_DIR
public static final AreaFieldPreference FIELD_DATABASE_DIR
LAST_SHAPE_DIR
public static final AreaFieldPreference LAST_SHAPE_DIR
SHAPE_CONTAINTS_FIELD
public static final AreaFieldPreference SHAPE_CONTAINTS_FIELD
SHAPE_CONTAINTS_PARTFIELD
public static final AreaFieldPreference SHAPE_CONTAINTS_PARTFIELD
SHAPE_ATT_POLYGON
public static final AreaFieldPreference SHAPE_ATT_POLYGON
SHAPE_ATT_NAME
public static final AreaFieldPreference SHAPE_ATT_NAME
values
public static AreaFieldPreference[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AreaFieldPreference c : AreaFieldPreference.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AreaFieldPreference valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getDefaultProperty
public String getDefaultProperty()
getPropertyName
public String getPropertyName()
getValue
public String getValue()
saveValue
public void saveValue(String value)
Copyright © 2011. All Rights Reserved.