|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rednels.ofcgwt.client.model.axis.Label
public class Label
Base class for an OFC label
| Constructor Summary | |
|---|---|
Label()
Creates a new label. |
|
Label(java.lang.String text)
Creates a new label. |
|
Label(java.lang.String text,
java.lang.Integer angle)
Creates a new label. |
|
| Method Summary | |
|---|---|
com.google.gwt.json.client.JSONValue |
buildJSON()
Build (and return) a JSONObject that contains all the items of this object. |
java.lang.String |
getColour()
Gets the colour. |
java.lang.Integer |
getRotationAngle()
Gets the rotation. |
java.lang.Integer |
getSize()
Gets the size. |
java.lang.String |
getText()
Gets the text. |
java.lang.Boolean |
getVisible()
Gets the visible. |
void |
setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff) |
void |
setRotationAngle(java.lang.Integer angle)
Sets the rotation in degrees (ie 45 = diagonal, 90 = vertical). |
void |
setSize(java.lang.Integer size)
Sets the size. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setVisible(java.lang.Boolean visible)
Sets the visible. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Label()
public Label(java.lang.String text)
text - the text
public Label(java.lang.String text,
java.lang.Integer angle)
text - the textangle - the rotation angle| Method Detail |
|---|
public com.google.gwt.json.client.JSONValue buildJSON()
JSONizable
buildJSON in interface JSONizablepublic java.lang.String getColour()
public java.lang.Integer getRotationAngle()
public java.lang.Integer getSize()
public java.lang.String getText()
public java.lang.Boolean getVisible()
public void setColour(java.lang.String colour)
colour - the colourpublic void setRotationAngle(java.lang.Integer angle)
angle - the rotate anglepublic void setSize(java.lang.Integer size)
size - the sizepublic void setText(java.lang.String text)
text - the textpublic void setVisible(java.lang.Boolean visible)
visible - the visible
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||