public class CIMMaplexLabelStackingProperties extends CIMObject
| Constructor and Description |
|---|
CIMMaplexLabelStackingProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMMaplexLabelStackingProperties |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
int |
getMaximumNumberOfCharsPerLine()
Gets the maximum number of characters per line.
|
int |
getMaximumNumberOfLines()
Gets the maximum number of lines.
|
int |
getMinimumNumberOfCharsPerLine()
Gets the minimum number of characters per line.
|
boolean |
getPreferToStackLongLabels()
Gets a value indicating whether to prefer to stack long labels.
|
CIMMaplexStackingSeparator[] |
getSeparators()
Gets the stacking separators.
|
MaplexStackingAlignment |
getStackAlignment()
Gets the stacking alignment.
|
boolean |
getTrimStackingSeparators()
Gets a value indicating whether leading and trailing stacking separators are trimmed from the label string.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setMaximumNumberOfCharsPerLine(int maximumNumberOfCharsPerLine)
Sets the maximum number of characters per line.
|
void |
setMaximumNumberOfLines(int maximumNumberOfLines)
Sets the maximum number of lines.
|
void |
setMinimumNumberOfCharsPerLine(int minimumNumberOfCharsPerLine)
Sets the minimum number of characters per line.
|
void |
setPreferToStackLongLabels(boolean preferToStackLongLabels)
Sets a value indicating whether to prefer to stack long labels.
|
void |
setSeparators(CIMMaplexStackingSeparator[] separators)
Sets the stacking separators.
|
void |
setStackAlignment(MaplexStackingAlignment stackAlignment)
Sets the stacking alignment.
|
void |
setTrimStackingSeparators(boolean trimStackingSeparators)
Sets a value indicating whether leading and trailing stacking separators are trimmed from the label string.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public MaplexStackingAlignment getStackAlignment()
public void setStackAlignment(MaplexStackingAlignment stackAlignment)
public int getMaximumNumberOfLines()
public void setMaximumNumberOfLines(int maximumNumberOfLines)
public int getMinimumNumberOfCharsPerLine()
public void setMinimumNumberOfCharsPerLine(int minimumNumberOfCharsPerLine)
public int getMaximumNumberOfCharsPerLine()
public void setMaximumNumberOfCharsPerLine(int maximumNumberOfCharsPerLine)
public CIMMaplexStackingSeparator[] getSeparators()
public void setSeparators(CIMMaplexStackingSeparator[] separators)
public boolean getTrimStackingSeparators()
public void setTrimStackingSeparators(boolean trimStackingSeparators)
public boolean getPreferToStackLongLabels()
public void setPreferToStackLongLabels(boolean preferToStackLongLabels)
public static CIMMaplexLabelStackingProperties 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)