public class CIMMarkerGraphic extends CIMObject
| Constructor and Description |
|---|
CIMMarkerGraphic() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMarkerGraphic |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
IGeometry |
getGeometry()
Gets the geometry of the marker.
|
java.lang.String |
getPrimitiveName()
Gets the primitive name.
|
CIMSymbol |
getSymbol()
Gets the symbol used to draw the marker graphic, can be a point, line, polygon, or text symbol.
|
java.lang.String |
getTextString()
Gets the text that is defined within the marker if drawn with a text symbol.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setGeometry(IGeometry geometry)
Sets the geometry of the marker.
|
void |
setPrimitiveName(java.lang.String primitiveName)
Sets the primitive name.
|
void |
setSymbol(CIMSymbol symbol)
Sets the symbol used to draw the marker graphic, can be a point, line, polygon, or text symbol.
|
void |
setTextString(java.lang.String textString)
Sets the text that is defined within the marker if drawn with a text symbol.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public IGeometry getGeometry()
public void setGeometry(IGeometry geometry)
public CIMSymbol getSymbol()
public void setSymbol(CIMSymbol symbol)
public java.lang.String getTextString()
public void setTextString(java.lang.String textString)
public java.lang.String getPrimitiveName()
public void setPrimitiveName(java.lang.String primitiveName)
public static CIMMarkerGraphic fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)