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

de.micromata.opengis.kml.v_2_2_0.ListItemType 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 }
 * 

* Specifies how a Feature is displayed in the list view. Possible values are: check * (default) - The Feature's visibility is tied to its item's checkbox. radioFolder * - When specified for a Container, only one of the Container's items is visible at * a time checkOffOnly - When specified for a Container or Network Link, prevents all * items from being made visible at once—that is, the user can turn everything in the * Container or Network Link off but cannot turn everything on at the same time. This * setting is useful for Containers or Network Links containing large amounts of data. * checkHideChildren - Use a normal checkbox for visibility but do not display the * Container or Network Link's children in the list view. A checkbox allows the user * to toggle visibility of the child objects in the viewer. *

* * * */ @XmlType(name = "listItemTypeEnumType") @XmlEnum public enum ListItemType { @XmlEnumValue("radioFolder") RADIO_FOLDER("radioFolder"), @XmlEnumValue("check") CHECK("check"), @XmlEnumValue("checkHideChildren") CHECK_HIDE_CHILDREN("checkHideChildren"), @XmlEnumValue("checkOffOnly") CHECK_OFF_ONLY("checkOffOnly"); private final String value; ListItemType(String v) { value = v; } public String value() { return value; } public static ListItemType fromValue(String v) { for (ListItemType c: ListItemType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy