Enum KmlContainer.ListItemType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<KmlContainer.ListItemType>
    Enclosing class:
    KmlContainer

    public static enum KmlContainer.ListItemType
    extends java.lang.Enum<KmlContainer.ListItemType>
    The list of KML list item types. Defines how visibility selection should work, enabling either single or multiple selection of child nodes of a document, folder, or network link.
    Since:
    100.4.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CHECK
      (default) All child nodes can be enabled for display.
      CHECK_HIDE_CHILDREN
      All child nodes should be enabled for display, but they should not be shown in the table of contents.
      CHECK_OFF_ONLY
      Everything in the container or network link can be turned off all at once.
      RADIO_FOLDER
      Only one child node can be enabled for display at any one time.
      UNKNOWN
      Unknown KML list item type.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static KmlContainer.ListItemType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static KmlContainer.ListItemType[] 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

      • CHECK

        public static final KmlContainer.ListItemType CHECK
        (default) All child nodes can be enabled for display. In a table of contents, nodes should be shown with checkboxes to enable multiple selection.
        Since:
        100.4.0
      • RADIO_FOLDER

        public static final KmlContainer.ListItemType RADIO_FOLDER
        Only one child node can be enabled for display at any one time. In a table of contents, nodes should be shown with radio buttons. When a child node is selected for display, sibling nodes will be hidden automatically.
        Since:
        100.4.0
      • CHECK_HIDE_CHILDREN

        public static final KmlContainer.ListItemType CHECK_HIDE_CHILDREN
        All child nodes should be enabled for display, but they should not be shown in the table of contents.
        Since:
        100.4.0
      • CHECK_OFF_ONLY

        public static final KmlContainer.ListItemType CHECK_OFF_ONLY
        Everything in the container or network link can be turned off all at once. Prevents nodes from becoming visible simultaneously. Child nodes must be enabled individually. This is useful if the container or network link contains a large amount of data.
        Since:
        100.12.0
    • Method Detail

      • values

        public static KmlContainer.ListItemType[] 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 (KmlContainer.ListItemType c : KmlContainer.ListItemType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KmlContainer.ListItemType 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