public class ItemIcon extends AbstractObject implements Cloneable
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:
| Modifier and Type | Field and Description |
|---|---|
protected String |
href
|
protected List<AbstractObject> |
itemIconObjectExtension
|
protected List<Object> |
itemIconSimpleExtension |
protected List<ItemIconState> |
state
|
id, objectSimpleExtension, targetId| Constructor and Description |
|---|
ItemIcon() |
| Modifier and Type | Method and Description |
|---|---|
ItemIcon |
addToItemIconObjectExtension(AbstractObject itemIconObjectExtension)
add a value to the itemIconObjectExtension property collection
|
ItemIcon |
addToItemIconSimpleExtension(Object itemIconSimpleExtension)
add a value to the itemIconSimpleExtension property collection
|
ItemIcon |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
ItemIcon |
addToState(ItemIconState state)
add a value to the state property collection
|
ItemIcon |
clone() |
boolean |
equals(Object obj) |
String |
getHref() |
List<AbstractObject> |
getItemIconObjectExtension() |
List<Object> |
getItemIconSimpleExtension() |
List<ItemIconState> |
getState() |
int |
hashCode() |
void |
setHref(String value) |
void |
setItemIconObjectExtension(List<AbstractObject> itemIconObjectExtension) |
void |
setItemIconSimpleExtension(List<Object> itemIconSimpleExtension) |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
void |
setState(List<ItemIconState> state) |
ItemIcon |
withHref(String href)
fluent setter
|
ItemIcon |
withId(String id)
fluent setter
|
ItemIcon |
withItemIconObjectExtension(List<AbstractObject> itemIconObjectExtension)
fluent setter
|
ItemIcon |
withItemIconSimpleExtension(List<Object> itemIconSimpleExtension)
fluent setter
|
ItemIcon |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
ItemIcon |
withState(List<ItemIconState> state)
fluent setter
|
ItemIcon |
withTargetId(String targetId)
fluent setter
|
getId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected List<ItemIconState> state
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).
protected String href
A URL (either an HTTP address or a local file specification). When the parent of
is a NetworkLink,
An HTTP address or a local file specification used to load an icon.
Specifies the URI of the image used in the List View for the Feature.
protected List<AbstractObject> itemIconObjectExtension
public List<ItemIconState> getState()
statepublic List<Object> getItemIconSimpleExtension()
itemIconSimpleExtensionpublic List<AbstractObject> getItemIconObjectExtension()
itemIconObjectExtensionpublic int hashCode()
hashCode in class AbstractObjectpublic boolean equals(Object obj)
equals in class AbstractObjectpublic void setState(List<ItemIconState> state)
state - statepublic ItemIcon addToState(ItemIconState state)
state - Objects of the following type are allowed in the list: ItemIconStatepublic void setItemIconSimpleExtension(List<Object> itemIconSimpleExtension)
itemIconSimpleExtension - itemIconSimpleExtensionpublic ItemIcon addToItemIconSimpleExtension(Object itemIconSimpleExtension)
itemIconSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setItemIconObjectExtension(List<AbstractObject> itemIconObjectExtension)
itemIconObjectExtension - itemIconObjectExtensionpublic ItemIcon addToItemIconObjectExtension(AbstractObject itemIconObjectExtension)
itemIconObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class AbstractObjectobjectSimpleExtensionpublic ItemIcon addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic ItemIcon withState(List<ItemIconState> state)
state - required parameter#setState(List) public ItemIcon withHref(String href)
href - required parametersetHref(String)public ItemIcon withItemIconSimpleExtension(List<Object> itemIconSimpleExtension)
itemIconSimpleExtension - required parameter#setItemIconSimpleExtension(Listpublic ItemIcon withItemIconObjectExtension(List<AbstractObject> itemIconObjectExtension)
itemIconObjectExtension - required parameter#setItemIconObjectExtension(List) public ItemIcon withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic ItemIcon withId(String id)
AbstractObjectwithId in class AbstractObjectid - required parameterAbstractObject.setId(String)public ItemIcon withTargetId(String targetId)
AbstractObjectwithTargetId in class AbstractObjecttargetId - required parameterAbstractObject.setTargetId(String)public ItemIcon clone()
clone in class AbstractObjectCopyright © 2014 Micromata GmbH. All rights reserved.