Specifies how a Feature is displayed in the list view. The list view is a hierarchy
of containers and children; in Google Earth, this is the Places panel.
Syntax:
<ListStyle id="ID">
<!-- specific to ListStyle -->
<listItemType>check</listItemType> <!-- kml:listItemTypeEnum:check,
checkOffOnly,checkHideChildren,
radioFolder -->
<bgColor>ffffffff</bgColor> <!-- kml:color -->
<ItemIcon> <!-- 0 or more ItemIcon elements -->
<state>open</state>
<!-- kml:itemIconModeEnum:open, closed, error, fetching0, fetching1, or fetching2 -->
<href>...</href> <!-- anyURI -->
</ItemIcon>
</ListStyle>
setSubStyleObjectExtension(java.util.List<AbstractObject> subStyleObjectExtension)
Sets the value of the subStyleObjectExtension property Objects of the following type(s) are allowed in the list List.
void
setSubStyleSimpleExtension(java.util.List<java.lang.Object> subStyleSimpleExtension)
Sets the value of the subStyleSimpleExtension property Objects of the following type(s) are allowed in the list List
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.
bgColor
protected java.lang.String bgColor
Background color for the Snippet. Color and opacity values are expressed in hexadecimal
notation. The range of values for any one color is 0 to 255 (00 to ff). For alpha,
00 is fully transparent and ff is fully opaque. The order of expression is aabbggrr,
where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to
ff). For example, if you want to apply a blue color with 50 percent opacity to an
overlay, you would specify the following: 7fff0000, where alpha=0x7f,
blue=0xff, green=0x00, and red=0x00.
Background color of the balloon (optional). Color and opacity (alpha) values are
expressed in hexadecimal notation. The range of values for any one color is 0 to
255 (00 to ff). The order of expression is aabbggrr, where aa=alpha (00 to ff);
bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For alpha, 00 is fully
transparent and ff is fully opaque. For example, if you want to apply a blue color
with 50 percent opacity to an overlay, you would specify the following: 7fff0000,
where alpha=0x7f, blue=0xff, green=0x00, and red=0x00. The default is opaque white
(ffffffff).
Note: The use of the element within has been deprecated.
Use instead.
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:
Creates a new instance of ItemIcon and adds it to itemIcon.
This method is a short version for:
ItemIcon itemIcon = new ItemIcon();
this.getItemIcon().add(itemIcon);
setItemIcon
public void setItemIcon(java.util.List<ItemIcon> itemIcon)