public final class LegendLabels extends FontItem
| Modifier and Type | Method and Description |
|---|---|
int |
getBoxWidth()
Returns the width of coloured box.
|
int |
getPadding()
Returns the padding to apply around labels.
|
boolean |
isUsePointStyle()
Returns if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).
|
void |
setBoxWidth(int boxWidth)
Sets the width of coloured box.
|
void |
setPadding(int padding)
Sets the padding to apply around labels.
|
void |
setUsePointStyle(boolean usePointStyle)
Sets if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).
|
getFontColor, getFontColorAsString, getFontFamily, getFontSize, getFontStyle, setFontColor, setFontColor, setFontFamily, setFontSize, setFontStylecheckAndAddToParent, hasPropertycheckAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic void setUsePointStyle(boolean usePointStyle)
usePointStyle - if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this case).public boolean isUsePointStyle()
public void setBoxWidth(int boxWidth)
boxWidth - width of coloured box.public int getBoxWidth()
public void setPadding(int padding)
padding - Padding to apply around labels. Only top and bottom are implemented.public int getPadding()