public class CIMMaplexRotationProperties extends CIMObject
| Constructor and Description |
|---|
CIMMaplexRotationProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMaplexRotationProperties |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
int |
getAdditionalAngle()
Gets additional angle to add to the data value.
|
boolean |
getAlignLabelToAngle()
Gets a value indicating whether or not to align the label to the angle.
|
MaplexRotationAlignmentType |
getAlignmentType()
Gets the alignment type.
|
boolean |
getEnable()
Gets a value indicating whether to enable rotation.
|
boolean |
getPerpendicularToAngle()
Gets a value indicating whether to place the label perpendicular to the angle.
|
CIMExpressionInfo |
getRotationExpressionInfo()
Gets ExpressionInfo that contains the Arcade expression that returns rotation as a number.
|
java.lang.String |
getRotationField()
Gets the rotation field to get values from.
|
MaplexLabelRotationType |
getRotationType()
Gets the rotation type.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAdditionalAngle(int additionalAngle)
Sets additional angle to add to the data value.
|
void |
setAlignLabelToAngle(boolean alignLabelToAngle)
Sets a value indicating whether or not to align the label to the angle.
|
void |
setAlignmentType(MaplexRotationAlignmentType alignmentType)
Sets the alignment type.
|
void |
setEnable(boolean enable)
Sets a value indicating whether to enable rotation.
|
void |
setPerpendicularToAngle(boolean perpendicularToAngle)
Sets a value indicating whether to place the label perpendicular to the angle.
|
void |
setRotationExpressionInfo(CIMExpressionInfo rotationExpressionInfo)
Sets ExpressionInfo that contains the Arcade expression that returns rotation as a number.
|
void |
setRotationField(java.lang.String rotationField)
Sets the rotation field to get values from.
|
void |
setRotationType(MaplexLabelRotationType rotationType)
Sets the rotation type.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public boolean getEnable()
public void setEnable(boolean enable)
public MaplexLabelRotationType getRotationType()
public void setRotationType(MaplexLabelRotationType rotationType)
public java.lang.String getRotationField()
public void setRotationField(java.lang.String rotationField)
public boolean getPerpendicularToAngle()
public void setPerpendicularToAngle(boolean perpendicularToAngle)
public boolean getAlignLabelToAngle()
public void setAlignLabelToAngle(boolean alignLabelToAngle)
public MaplexRotationAlignmentType getAlignmentType()
public void setAlignmentType(MaplexRotationAlignmentType alignmentType)
public int getAdditionalAngle()
public void setAdditionalAngle(int additionalAngle)
public CIMExpressionInfo getRotationExpressionInfo()
public void setRotationExpressionInfo(CIMExpressionInfo rotationExpressionInfo)
public static CIMMaplexRotationProperties 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)