public class CIMTextMargin extends CIMObject
| Constructor and Description |
|---|
CIMTextMargin() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMTextMargin |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getBottom()
Gets the bottom margin.
|
double |
getLeft()
Gets the left margin.
|
double |
getRight()
Gets the right margin.
|
double |
getTop()
Gets the top margin.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setBottom(double bottom)
Sets the bottom margin.
|
void |
setLeft(double left)
Sets the left margin.
|
void |
setRight(double right)
Sets the right margin.
|
void |
setTop(double top)
Sets the top margin.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public double getLeft()
public void setLeft(double left)
public double getRight()
public void setRight(double right)
public double getTop()
public void setTop(double top)
public double getBottom()
public void setBottom(double bottom)
public static CIMTextMargin 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)