public class SimpleData extends Object implements Cloneable
Here is an example of defining two custom data elements:
This element assigns a value to the custom data field identified by the name attribute.
The type and name of this custom data field are declared in the
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
|
protected String |
value
|
| Constructor and Description |
|---|
SimpleData(String name)
Value constructor with only mandatory fields
|
protected String value
Value of the data pair.
protected String name
User-defined text displayed in the 3D viewer as the label for the object (for example, for a Placemark, Folder, or NetworkLink).
public SimpleData(String name)
name - required parameterpublic void setValue(String value)
value - allowed object is
Stringvaluepublic SimpleData withValue(String value)
value - required parametersetValue(String)public SimpleData clone()
Copyright © 2014 Micromata GmbH. All rights reserved.