public class Label extends AbstractChartObject
Constructor and Description |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
Align |
getAlign() |
java.lang.Double |
getAlpha() |
java.lang.Boolean |
getBold() |
Color |
getColor() |
java.lang.String |
getId() |
java.lang.Integer |
getRotation() |
java.lang.Integer |
getSize() |
java.lang.Integer |
getTabIndex() |
java.lang.String |
getText() |
java.lang.String |
getUrl() |
java.lang.String |
getX()
Gets the X position of the label.
|
java.lang.String |
getY()
Gets the Y position of the label.
|
Label |
setAlign(Align align)
Sets align to the label.
|
Label |
setAlpha(java.lang.Double alpha)
Sets opacity of the label
|
Label |
setBold(java.lang.Boolean bold)
Set bold to true if label should be bold.
|
Label |
setColor(Color color)
Sets color of a label.
|
Label |
setId(java.lang.String id)
Sets unique id of the label.
|
Label |
setRotation(java.lang.Integer rotation)
Sets rotation angle.
|
Label |
setSize(java.lang.Integer size)
Sets text size.
|
Label |
setTabIndex(java.lang.Integer tabIndex)
Sets tab index.
|
Label |
setText(java.lang.String text)
Sets text of the label.
|
Label |
setUrl(java.lang.String url)
Sets the URL which will be access if user clicks on a label.
|
Label |
setX(java.lang.String x)
Sets the X position of the label.
|
Label |
setY(java.lang.String y)
Sets the Y position of the label.
|
public Align getAlign()
public java.lang.Double getAlpha()
public Label setAlpha(java.lang.Double alpha)
alpha
- opacitypublic java.lang.Boolean getBold()
public Label setBold(java.lang.Boolean bold)
bold
- bold optionpublic Color getColor()
public java.lang.Integer getRotation()
public Label setRotation(java.lang.Integer rotation)
rotation
- anglepublic java.lang.Integer getSize()
public Label setSize(java.lang.Integer size)
size
- sizepublic java.lang.String getText()
public Label setText(java.lang.String text)
text
- textpublic java.lang.String getUrl()
public Label setUrl(java.lang.String url)
url
- the URLpublic java.lang.String getX()
public Label setX(java.lang.String x)
x
- double or double with "%"public java.lang.String getY()
public Label setY(java.lang.String y)
y
- double or double with "%"public java.lang.String getId()
public Label setId(java.lang.String id)
id
- idpublic java.lang.Integer getTabIndex()
public Label setTabIndex(java.lang.Integer tabIndex)
tabIndex
- tab index