@Api(allMethods=true) public class LabelStyleInfo extends Object implements IsInfo
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_NAME_ID
A special constant to be passed to
setLabelAttributeName(String), denoting that the id should be used as
the label text instead of a normal attribute value. |
| Constructor and Description |
|---|
LabelStyleInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Are the two objects equal?
|
FeatureStyleInfo |
getBackgroundStyle()
Get the background style for the labels.
|
String |
getCacheId()
String identifier which is guaranteed to include sufficient information to assure to be different for two
instances which could produce different result.
|
FontStyleInfo |
getFontStyle()
Get font style for label.
|
String |
getLabelAttributeName()
Get label attribute name.
|
String |
getLabelValueExpression()
Get label value expression.
|
int |
hashCode()
Calculate object hash code.
|
void |
setBackgroundStyle(FeatureStyleInfo backgroundStyle)
Set background style for labels.
|
void |
setFontStyle(FontStyleInfo fontStyle)
Set font style for label.
|
void |
setLabelAttributeName(String labelAttributeName)
Set label attribute name.
|
void |
setLabelValueExpression(String labelValueExpression)
Set label value expression.
|
String |
toString()
String representation of object.
|
public static final String ATTRIBUTE_NAME_ID
setLabelAttributeName(String), denoting that the id should be used as
the label text instead of a normal attribute value.public String getLabelAttributeName()
public void setLabelAttributeName(String labelAttributeName)
labelAttributeName - label attribute namepublic String getLabelValueExpression()
FeatureExpressionService.public void setLabelValueExpression(String labelValueExpression)
FeatureExpressionService.labelValueExpression - label value expressionpublic FontStyleInfo getFontStyle()
public void setFontStyle(FontStyleInfo fontStyle)
fontStyle - font stylepublic FeatureStyleInfo getBackgroundStyle()
public void setBackgroundStyle(FeatureStyleInfo backgroundStyle)
backgroundStyle - background style for labelpublic String getCacheId()
public String toString()
public boolean equals(Object o)
Copyright © 2015 Geosparc. All Rights Reserved.