public class CIMBalloonCallout extends CIMCallout
| Constructor and Description |
|---|
CIMBalloonCallout() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMBalloonCallout |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
CIMPolygonSymbol |
getBackgroundSymbol()
Gets the symbol used to draw the background.
|
BalloonCalloutStyle |
getBalloonStyle()
Gets the balloon style.
|
CIMPolygonSymbol |
getDartSymbol()
Gets a symbol used to draw the dart.
|
double |
getFixedDartWidth()
Gets the dart width.
|
CIMTextMargin |
getMargin()
Gets the text margin defining the space around the text that is accounted for in balloon creation.
|
boolean |
getUseDartSymbol()
Gets a value indicating whether the dart symbol is drawn differently to the background symbol.
|
boolean |
getUseFixedDartWidth()
Gets a value indicating whether to use a fixed size when drawing the dart symbol.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setBackgroundSymbol(CIMPolygonSymbol backgroundSymbol)
Sets the symbol used to draw the background.
|
void |
setBalloonStyle(BalloonCalloutStyle balloonStyle)
Sets the balloon style.
|
void |
setDartSymbol(CIMPolygonSymbol dartSymbol)
Sets a symbol used to draw the dart.
|
void |
setFixedDartWidth(double fixedDartWidth)
Sets the dart width.
|
void |
setMargin(CIMTextMargin margin)
Sets the text margin defining the space around the text that is accounted for in balloon creation.
|
void |
setUseDartSymbol(boolean useDartSymbol)
Sets a value indicating whether the dart symbol is drawn differently to the background symbol.
|
void |
setUseFixedDartWidth(boolean useFixedDartWidth)
Sets a value indicating whether to use a fixed size when drawing the dart symbol.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getLeaderOffset, getLeaderTolerance, setLeaderOffset, setLeaderTolerancepublic BalloonCalloutStyle getBalloonStyle()
public void setBalloonStyle(BalloonCalloutStyle balloonStyle)
public CIMPolygonSymbol getBackgroundSymbol()
public void setBackgroundSymbol(CIMPolygonSymbol backgroundSymbol)
public CIMTextMargin getMargin()
public void setMargin(CIMTextMargin margin)
public boolean getUseFixedDartWidth()
public void setUseFixedDartWidth(boolean useFixedDartWidth)
public double getFixedDartWidth()
public void setFixedDartWidth(double fixedDartWidth)
public boolean getUseDartSymbol()
public void setUseDartSymbol(boolean useDartSymbol)
public CIMPolygonSymbol getDartSymbol()
public void setDartSymbol(CIMPolygonSymbol dartSymbol)
public static CIMBalloonCallout fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMCalloutCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMCallout