public class CIMLabelClass extends CIMObject
| Constructor and Description |
|---|
CIMLabelClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMLabelClass |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
java.lang.String |
getExpression()
Gets the label expression.
|
LabelExpressionEngine |
getExpressionEngine()
Gets the label expression engine (the language the expression is written in).
|
java.lang.String |
getExpressionTitle()
Gets the human readable text title that describes the label expression.
|
FeaturesToLabel |
getFeaturesToLabel()
Gets a parameter indicating which features to label.
|
int |
getID()
Gets the ID of the label class.
|
CIMMaplexLabelPlacementProperties |
getMaplexLabelPlacementProperties()
Gets the Maplex placement properties which are used when the map uses the Maplex label engine.
|
double |
getMaximumScale()
Gets the maximum scale for labeling (set as the denominator of the scale's representative fraction).
|
double |
getMinimumScale()
Gets the minimum scale for labeling (set as the denominator of the scale's representative fraction).
|
java.lang.String |
getName()
Gets the name of the label class.
|
int |
getPriority()
Gets the priority of the label class.
|
CIMStandardLabelPlacementProperties |
getStandardLabelPlacementProperties()
Gets the standard placement properties which are used when the map uses the standard label engine.
|
CIMSymbolReference |
getTextSymbol()
Gets the text symbol of the label class.
|
boolean |
getUseCodedValue()
Gets a value indicating whether or not to use coded value domain descriptions when labeling.
|
boolean |
getVisibility()
Gets a value indicating whether this label class is visible.
|
java.lang.String |
getWhereClause()
Gets the SQL where clause of which features to label with this label class.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setExpression(java.lang.String expression)
Sets the label expression.
|
void |
setExpressionEngine(LabelExpressionEngine expressionEngine)
Sets the label expression engine (the language the expression is written in).
|
void |
setExpressionTitle(java.lang.String expressionTitle)
Sets the human readable text title that describes the label expression.
|
void |
setFeaturesToLabel(FeaturesToLabel featuresToLabel)
Sets a parameter indicating which features to label.
|
void |
setID(int iD)
Sets the ID of the label class.
|
void |
setMaplexLabelPlacementProperties(CIMMaplexLabelPlacementProperties maplexLabelPlacementProperties)
Sets the Maplex placement properties which are used when the map uses the Maplex label engine.
|
void |
setMaximumScale(double maximumScale)
Sets the maximum scale for labeling (set as the denominator of the scale's representative fraction).
|
void |
setMinimumScale(double minimumScale)
Sets the minimum scale for labeling (set as the denominator of the scale's representative fraction).
|
void |
setName(java.lang.String name)
Sets the name of the label class.
|
void |
setPriority(int priority)
Sets the priority of the label class.
|
void |
setStandardLabelPlacementProperties(CIMStandardLabelPlacementProperties standardLabelPlacementProperties)
Sets the standard placement properties which are used when the map uses the standard label engine.
|
void |
setTextSymbol(CIMSymbolReference textSymbol)
Sets the text symbol of the label class.
|
void |
setUseCodedValue(boolean useCodedValue)
Sets a value indicating whether or not to use coded value domain descriptions when labeling.
|
void |
setVisibility(boolean visibility)
Sets a value indicating whether this label class is visible.
|
void |
setWhereClause(java.lang.String whereClause)
Sets the SQL where clause of which features to label with this label class.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public java.lang.String getExpressionTitle()
public void setExpressionTitle(java.lang.String expressionTitle)
public java.lang.String getExpression()
public void setExpression(java.lang.String expression)
public LabelExpressionEngine getExpressionEngine()
public void setExpressionEngine(LabelExpressionEngine expressionEngine)
public FeaturesToLabel getFeaturesToLabel()
public void setFeaturesToLabel(FeaturesToLabel featuresToLabel)
public CIMMaplexLabelPlacementProperties getMaplexLabelPlacementProperties()
public void setMaplexLabelPlacementProperties(CIMMaplexLabelPlacementProperties maplexLabelPlacementProperties)
public double getMaximumScale()
public void setMaximumScale(double maximumScale)
public double getMinimumScale()
public void setMinimumScale(double minimumScale)
public java.lang.String getName()
public void setName(java.lang.String name)
public int getPriority()
public void setPriority(int priority)
public CIMStandardLabelPlacementProperties getStandardLabelPlacementProperties()
public void setStandardLabelPlacementProperties(CIMStandardLabelPlacementProperties standardLabelPlacementProperties)
public CIMSymbolReference getTextSymbol()
public void setTextSymbol(CIMSymbolReference textSymbol)
public boolean getUseCodedValue()
public void setUseCodedValue(boolean useCodedValue)
public java.lang.String getWhereClause()
public void setWhereClause(java.lang.String whereClause)
public boolean getVisibility()
public void setVisibility(boolean visibility)
public int getID()
public void setID(int iD)
public static CIMLabelClass 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)