Follow us on GitHub

com.google.gwt.maps.client.layers
Class KmlFeatureData

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.layers.KmlFeatureData

public class KmlFeatureData
extends JavaScriptObject

Data for a single KML feature in JSON format, returned when a KML feature is clicked. The data contained in this object mirrors that associated with the feature in the KML or GeoRSS markup in which it is declared.


Constructor Summary
protected KmlFeatureData()
          This is created from an event.
 
Method Summary
 KmlAuthor getAuthor()
          The feature's , extracted from the layer markup (if specified).
 String getDescription()
          The feature's , extracted from the layer markup.
 String getId()
          The feature's , extracted from the layer markup.
 String getInfoWindowHtml()
          The feature's balloon styled text, if set.
 String getName()
          The feature's , extracted from the layer markup.
 String getSnippet()
          The feature's , extracted from the layer markup.
 String getToString()
          get to this object json string
static KmlFeatureData newInstance()
          this is created from an event
 void setAuthor(KmlAuthor author)
          The feature's , extracted from the layer markup (if specified).
 void setDescription(String description)
          The feature's , extracted from the layer markup.
 void setId(String id)
          The feature's , extracted from the layer markup.
 void setInfoWindowHtml(String infoWindowHtml)
          The feature's balloon styled text, if set.
 void setName(String name)
          The feature's , extracted from the layer markup.
 void setSnippet(String snippet)
          The feature's , extracted from the layer markup.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KmlFeatureData

protected KmlFeatureData()
This is created from an event. use newInstance();

Method Detail

newInstance

public static final KmlFeatureData newInstance()
this is created from an event


setAuthor

public final void setAuthor(KmlAuthor author)
The feature's , extracted from the layer markup (if specified).

Parameters:
author -

getAuthor

public final KmlAuthor getAuthor()
The feature's , extracted from the layer markup (if specified).


setDescription

public final void setDescription(String description)
The feature's , extracted from the layer markup.

Parameters:
description -

getDescription

public final String getDescription()
The feature's , extracted from the layer markup.


setId

public final void setId(String id)
The feature's , extracted from the layer markup. If no has been specified, a unique ID will be generated for this feature.

Parameters:
id -

getId

public final String getId()
The feature's , extracted from the layer markup. If no has been specified, a unique ID will be generated for this feature.


setInfoWindowHtml

public final void setInfoWindowHtml(String infoWindowHtml)
The feature's balloon styled text, if set.

Parameters:
infoWindowHtml -

getInfoWindowHtml

public final String getInfoWindowHtml()
The feature's balloon styled text, if set.


setName

public final void setName(String name)
The feature's , extracted from the layer markup.

Parameters:
name -

getName

public final String getName()
The feature's , extracted from the layer markup.


setSnippet

public final void setSnippet(String snippet)
The feature's , extracted from the layer markup.

Parameters:
snippet -

getSnippet

public final String getSnippet()
The feature's , extracted from the layer markup.


getToString

public final String getToString()
get to this object json string



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.