All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.micromata.opengis.kml.v_2_2_0.ItemIconState Maven / Gradle / Ivy

Go to download

This is JavaAPIforKMml, Micromata's library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. It is written entirely in Java and makes heavy use of JAXB.

There is a newer version: 3.0.4
Show newest version

package de.micromata.opengis.kml.v_2_2_0;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * {@code }
 * 

* {@code } 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). {@code }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: *

* * * */ @XmlType(name = "itemIconStateEnumType") @XmlEnum public enum ItemIconState { @XmlEnumValue("open") OPEN("open"), @XmlEnumValue("closed") CLOSED("closed"), @XmlEnumValue("error") ERROR("error"), @XmlEnumValue("fetching0") FETCHING_0("fetching0"), @XmlEnumValue("fetching1") FETCHING_1("fetching1"), @XmlEnumValue("fetching2") FETCHING_2("fetching2"); private final String value; ItemIconState(String v) { value = v; } public String value() { return value; } public static ItemIconState fromValue(String v) { for (ItemIconState c: ItemIconState.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy