public class Icon extends BasicLink implements Cloneable
A custom Icon. In
Defines an image associated with an Icon style or overlay.
Defines the image associated with the Overlay. The
<Icon id="ID">
<!-- specific to Icon -->
<href>...</href> <!-- anyURI -->
<refreshMode>onChange</refreshMode>
<!-- kml:refreshModeEnum: onChange, onInterval, or onExpire -->
<refreshInterval>4</refreshInterval> <!-- float -->
<viewRefreshMode>never</viewRefreshMode>
<!-- kml:viewRefreshModeEnum: never, onStop, onRequest, onRegion -->
<viewRefreshTime>4</viewRefreshTime> <!-- float -->
<viewBoundScale>1</viewBoundScale> <!-- float -->
<viewFormat>...</viewFormat> <!-- string -->
<httpQuery>...</httpQuery> <!-- string -->
</Icon>
Contained By:| Modifier and Type | Field and Description |
|---|---|
protected String |
httpQuery
|
protected List<AbstractObject> |
linkObjectExtension
|
protected List<Object> |
linkSimpleExtension |
protected double |
refreshInterval
|
protected RefreshMode |
refreshMode
RefreshMode
onChange, onInterval, onExpire
See Also:
See
|
protected double |
viewBoundScale
|
protected String |
viewFormat
|
protected ViewRefreshMode |
viewRefreshMode
ViewRefreshMode
never, onRequest, onStop, onRegion
See Also:
See
|
protected double |
viewRefreshTime
|
basicLinkObjectExtension, basicLinkSimpleExtension, hrefid, objectSimpleExtension, targetId| Constructor and Description |
|---|
Icon() |
| Modifier and Type | Method and Description |
|---|---|
Icon |
addToBasicLinkObjectExtension(AbstractObject basicLinkObjectExtension)
add a value to the basicLinkObjectExtension property collection
|
Icon |
addToBasicLinkSimpleExtension(Object basicLinkSimpleExtension)
add a value to the basicLinkSimpleExtension property collection
|
Icon |
addToLinkObjectExtension(AbstractObject linkObjectExtension)
add a value to the linkObjectExtension property collection
|
Icon |
addToLinkSimpleExtension(Object linkSimpleExtension)
add a value to the linkSimpleExtension property collection
|
Icon |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
Icon |
clone() |
boolean |
equals(Object obj) |
String |
getHttpQuery() |
List<AbstractObject> |
getLinkObjectExtension() |
List<Object> |
getLinkSimpleExtension() |
double |
getRefreshInterval() |
RefreshMode |
getRefreshMode() |
double |
getViewBoundScale() |
String |
getViewFormat() |
ViewRefreshMode |
getViewRefreshMode() |
double |
getViewRefreshTime() |
int |
hashCode() |
void |
setBasicLinkObjectExtension(List<AbstractObject> basicLinkObjectExtension)
Sets the value of the basicLinkObjectExtension property Objects of the following type(s) are allowed in the list List
|
void |
setBasicLinkSimpleExtension(List<Object> basicLinkSimpleExtension)
Sets the value of the basicLinkSimpleExtension property Objects of the following type(s) are allowed in the list List
|
void |
setHttpQuery(String value) |
void |
setLinkObjectExtension(List<AbstractObject> linkObjectExtension) |
void |
setLinkSimpleExtension(List<Object> linkSimpleExtension) |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
void |
setRefreshInterval(double value) |
void |
setRefreshMode(RefreshMode value) |
void |
setViewBoundScale(double value) |
void |
setViewFormat(String value) |
void |
setViewRefreshMode(ViewRefreshMode value) |
void |
setViewRefreshTime(double value) |
Icon |
withBasicLinkObjectExtension(List<AbstractObject> basicLinkObjectExtension)
fluent setter
|
Icon |
withBasicLinkSimpleExtension(List<Object> basicLinkSimpleExtension)
fluent setter
|
Icon |
withHref(String href)
fluent setter
|
Icon |
withHttpQuery(String httpQuery)
fluent setter
|
Icon |
withId(String id)
fluent setter
|
Icon |
withLinkObjectExtension(List<AbstractObject> linkObjectExtension)
fluent setter
|
Icon |
withLinkSimpleExtension(List<Object> linkSimpleExtension)
fluent setter
|
Icon |
withObjectSimpleExtension(List<Object> objectSimpleExtension)
fluent setter
|
Icon |
withRefreshInterval(double refreshInterval)
fluent setter
|
Icon |
withRefreshMode(RefreshMode refreshMode)
fluent setter
|
Icon |
withTargetId(String targetId)
fluent setter
|
Icon |
withViewBoundScale(double viewBoundScale)
fluent setter
|
Icon |
withViewFormat(String viewFormat)
fluent setter
|
Icon |
withViewRefreshMode(ViewRefreshMode viewRefreshMode)
fluent setter
|
Icon |
withViewRefreshTime(double viewRefreshTime)
fluent setter
|
getBasicLinkObjectExtension, getBasicLinkSimpleExtension, getHref, setHrefgetId, getObjectSimpleExtension, getTargetId, setId, setTargetIdprotected RefreshMode refreshMode
onChange, onInterval, onExpire
See Also: Seeprotected double refreshInterval
Indicates to refresh the file every n seconds.
protected ViewRefreshMode viewRefreshMode
never, onRequest, onStop, onRegion
See Also: Seeprotected double viewRefreshTime
After camera movement stops, specifies the number of seconds to wait before refreshing
the view. (See
protected double viewBoundScale
Scales the BBOX parameters before sending them to the server. A value less than 1 specifies to use less than the full view (screen). A value greater than 1 specifies to fetch an area that extends beyond the edges of the current view.
protected String viewFormat
BBOX=[bboxWest],[bboxSouth],[bboxEast],[bboxNorth]
If you specify a
If you specify an empty
Specifies the format of the query string that is appended to the Link's
This information matches the Web Map Service (WMS) bounding box specification.
You can also specify a custom set of viewing parameters to add to the query string. If you supply a format string, it is used instead of the BBOX information. If you also want the BBOX information, you need to add those parameters along with the custom parameters.
You can use any of the following parameters in your format string (and Google Earth
will substitute the appropriate current value at the time it creates the query string):
[lookatLon], [lookatLat] - longitude and latitude of the point that
protected String httpQuery
Appends information to the query string, based on the parameters specified. (Google Earth substitutes the appropriate current value at the time it creates the query string.) The following parameters are supported: [clientVersion] [kmlVersion] [clientName] [language]
protected List<AbstractObject> linkObjectExtension
public RefreshMode getRefreshMode()
RefreshModerefreshModepublic void setRefreshMode(RefreshMode value)
value - allowed object is
RefreshModerefreshModepublic double getRefreshInterval()
DoublerefreshIntervalpublic void setRefreshInterval(double value)
value - allowed object is
DoublerefreshIntervalpublic ViewRefreshMode getViewRefreshMode()
ViewRefreshModeviewRefreshModepublic void setViewRefreshMode(ViewRefreshMode value)
value - allowed object is
ViewRefreshModeviewRefreshModepublic double getViewRefreshTime()
DoubleviewRefreshTimepublic void setViewRefreshTime(double value)
value - allowed object is
DoubleviewRefreshTimepublic double getViewBoundScale()
DoubleviewBoundScalepublic void setViewBoundScale(double value)
value - allowed object is
DoubleviewBoundScalepublic void setViewFormat(String value)
value - allowed object is
StringviewFormatpublic void setHttpQuery(String value)
value - allowed object is
StringhttpQuerypublic List<AbstractObject> getLinkObjectExtension()
linkObjectExtensionpublic void setLinkSimpleExtension(List<Object> linkSimpleExtension)
linkSimpleExtension - linkSimpleExtensionpublic Icon addToLinkSimpleExtension(Object linkSimpleExtension)
linkSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setLinkObjectExtension(List<AbstractObject> linkObjectExtension)
linkObjectExtension - linkObjectExtensionpublic Icon addToLinkObjectExtension(AbstractObject linkObjectExtension)
linkObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class BasicLinkobjectSimpleExtensionpublic Icon addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class BasicLinkobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic void setBasicLinkSimpleExtension(List<Object> basicLinkSimpleExtension)
BasicLinksetBasicLinkSimpleExtension in class BasicLinkbasicLinkSimpleExtensionpublic Icon addToBasicLinkSimpleExtension(Object basicLinkSimpleExtension)
BasicLinkaddToBasicLinkSimpleExtension in class BasicLinkbasicLinkSimpleExtension - Objects of the following type are allowed in the list: <BigIntegerJAXBElement<BigIntegerJAXBElement<ObjectJAXBElement<BigIntegerJAXBElement<BigIntegerpublic void setBasicLinkObjectExtension(List<AbstractObject> basicLinkObjectExtension)
BasicLinkNote:
This method does not make use of the fluent pattern.If you would like to make it fluent, use BasicLink.withBasicLinkObjectExtension(java.util.List<de.micromata.opengis.kml.v_2_2_0.AbstractObject>) instead.
setBasicLinkObjectExtension in class BasicLinkbasicLinkObjectExtensionpublic Icon addToBasicLinkObjectExtension(AbstractObject basicLinkObjectExtension)
BasicLinkaddToBasicLinkObjectExtension in class BasicLinkbasicLinkObjectExtension - Objects of the following type are allowed in the list: AbstractObjectpublic Icon withRefreshMode(RefreshMode refreshMode)
refreshMode - required parametersetRefreshMode(RefreshMode)public Icon withRefreshInterval(double refreshInterval)
refreshInterval - required parametersetRefreshInterval(double)public Icon withViewRefreshMode(ViewRefreshMode viewRefreshMode)
viewRefreshMode - required parametersetViewRefreshMode(ViewRefreshMode)public Icon withViewRefreshTime(double viewRefreshTime)
viewRefreshTime - required parametersetViewRefreshTime(double)public Icon withViewBoundScale(double viewBoundScale)
viewBoundScale - required parametersetViewBoundScale(double)public Icon withViewFormat(String viewFormat)
viewFormat - required parametersetViewFormat(String)public Icon withHttpQuery(String httpQuery)
httpQuery - required parametersetHttpQuery(String)public Icon withLinkSimpleExtension(List<Object> linkSimpleExtension)
linkSimpleExtension - required parameter#setLinkSimpleExtension(Listpublic Icon withLinkObjectExtension(List<AbstractObject> linkObjectExtension)
linkObjectExtension - required parameter#setLinkObjectExtension(List) public Icon withObjectSimpleExtension(List<Object> objectSimpleExtension)
AbstractObjectwithObjectSimpleExtension in class BasicLinkobjectSimpleExtension - required parameter#setObjectSimpleExtension(Listpublic Icon withId(String id)
AbstractObjectwithId in class BasicLinkid - required parameterAbstractObject.setId(String)public Icon withTargetId(String targetId)
AbstractObjectwithTargetId in class BasicLinktargetId - required parameterAbstractObject.setTargetId(String)public Icon withHref(String href)
BasicLinkwithHref in class BasicLinkhref - required parameterBasicLink.setHref(String)public Icon withBasicLinkSimpleExtension(List<Object> basicLinkSimpleExtension)
BasicLinkwithBasicLinkSimpleExtension in class BasicLinkbasicLinkSimpleExtension - required parameter#setBasicLinkSimpleExtension(Listpublic Icon withBasicLinkObjectExtension(List<AbstractObject> basicLinkObjectExtension)
BasicLinkwithBasicLinkObjectExtension in class BasicLinkbasicLinkObjectExtension - required parameter#setBasicLinkObjectExtension(List) Copyright © 2014 Micromata GmbH. All rights reserved.