de.micromata.opengis.kml.v_2_2_0
Enum ItemIconState

java.lang.Object
  extended by java.lang.Enum<ItemIconState>
      extended by de.micromata.opengis.kml.v_2_2_0.ItemIconState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ItemIconState>

public enum ItemIconState
extends java.lang.Enum<ItemIconState>

Specifies the current state of the NetworkLink or Folder. Possible values are open, closed, error, fetching0, fetching1, and fetching2. These values can be combined by inserting a space between two values (no comma). Specifies the URI of the image used in the List View for the Feature.

Icon used in the List view that reflects the state of a Folder or Link fetch. Icons associated with the open and closed modes are used for Folders and Network Links. Icons associated with the error and fetching0, fetching1, and fetching2 modes are used for Network Links. The following screen capture illustrates the Google Earth icons for these states:


Enum Constant Summary
CLOSED
           
ERROR
           
FETCHING_0
           
FETCHING_1
           
FETCHING_2
           
OPEN
           
 
Method Summary
static ItemIconState fromValue(java.lang.String v)
           
 java.lang.String value()
           
static ItemIconState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ItemIconState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OPEN

public static final ItemIconState OPEN

CLOSED

public static final ItemIconState CLOSED

ERROR

public static final ItemIconState ERROR

FETCHING_0

public static final ItemIconState FETCHING_0

FETCHING_1

public static final ItemIconState FETCHING_1

FETCHING_2

public static final ItemIconState FETCHING_2
Method Detail

values

public static ItemIconState[] 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 (ItemIconState c : ItemIconState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ItemIconState valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static ItemIconState fromValue(java.lang.String v)