public class CIMStandardLineLabelPosition extends CIMObject
| Constructor and Description |
|---|
CIMStandardLineLabelPosition() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMStandardLineLabelPosition |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
boolean |
getAbove()
Gets a value indicating whether or not to allow placement above lines.
|
boolean |
getAtEnd()
Gets a value indicating whether or not to allow placement at the end of lines.
|
boolean |
getAtStart()
Gets a value indicating whether or not to allow placement at the start of lines.
|
boolean |
getBelow()
Gets a value indicating whether or not to allow placement below lines.
|
boolean |
getHorizontal()
Gets a value indicating whether or not to allow placement horizontally.
|
boolean |
getInLine()
Gets a value indicating whether or not to allow along lines at the best position.
|
boolean |
getLeft()
Gets a value indicating whether or not to allow placement to the left of the line.
|
double |
getOffset()
Gets the offset from the line.
|
boolean |
getOnTop()
Gets a value indicating whether or not to allow placement on top of lines.
|
boolean |
getParallel()
Gets a value indicating whether or not to allow placement parallel to lines.
|
boolean |
getPerpendicular()
Gets a value indicating whether or not to allow placement perpendicular to lines.
|
boolean |
getProduceCurvedLabels()
Gets a value indicating whether or not to produce curved labels.
|
boolean |
getRight()
Gets a value indicating whether or not to allow placement to the right of the line.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setAbove(boolean above)
Sets a value indicating whether or not to allow placement above lines.
|
void |
setAtEnd(boolean atEnd)
Sets a value indicating whether or not to allow placement at the end of lines.
|
void |
setAtStart(boolean atStart)
Sets a value indicating whether or not to allow placement at the start of lines.
|
void |
setBelow(boolean below)
Sets a value indicating whether or not to allow placement below lines.
|
void |
setHorizontal(boolean horizontal)
Sets a value indicating whether or not to allow placement horizontally.
|
void |
setInLine(boolean inLine)
Sets a value indicating whether or not to allow along lines at the best position.
|
void |
setLeft(boolean left)
Sets a value indicating whether or not to allow placement to the left of the line.
|
void |
setOffset(double offset)
Sets the offset from the line.
|
void |
setOnTop(boolean onTop)
Sets a value indicating whether or not to allow placement on top of lines.
|
void |
setParallel(boolean parallel)
Sets a value indicating whether or not to allow placement parallel to lines.
|
void |
setPerpendicular(boolean perpendicular)
Sets a value indicating whether or not to allow placement perpendicular to lines.
|
void |
setProduceCurvedLabels(boolean produceCurvedLabels)
Sets a value indicating whether or not to produce curved labels.
|
void |
setRight(boolean right)
Sets a value indicating whether or not to allow placement to the right of the line.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public boolean getProduceCurvedLabels()
public void setProduceCurvedLabels(boolean produceCurvedLabels)
public boolean getAbove()
public void setAbove(boolean above)
public boolean getBelow()
public void setBelow(boolean below)
public boolean getOnTop()
public void setOnTop(boolean onTop)
public boolean getLeft()
public void setLeft(boolean left)
public boolean getRight()
public void setRight(boolean right)
public boolean getInLine()
public void setInLine(boolean inLine)
public boolean getAtStart()
public void setAtStart(boolean atStart)
public boolean getAtEnd()
public void setAtEnd(boolean atEnd)
public boolean getParallel()
public void setParallel(boolean parallel)
public boolean getPerpendicular()
public void setPerpendicular(boolean perpendicular)
public boolean getHorizontal()
public void setHorizontal(boolean horizontal)
public double getOffset()
public void setOffset(double offset)
public static CIMStandardLineLabelPosition 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)