|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.data.BaseModel
com.extjs.gxt.charts.client.model.axis.Label
public class Label
Base class for an OFC label.
Field Summary |
---|
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModel |
---|
changeEventSupport |
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
allowNestedValues, map |
Fields inherited from interface com.extjs.gxt.ui.client.data.ChangeEventSource |
---|
Add, Remove, Update |
Constructor Summary | |
---|---|
Label()
Creates a new label. |
|
Label(java.lang.String text)
Creates a new label. |
|
Label(java.lang.String text,
int angle)
Creates a new label. |
Method Summary | |
---|---|
java.lang.String |
getColour()
Returns the colour. |
int |
getRotationAngle()
Returns the rotation. |
int |
getSize()
Returns the size. |
java.lang.String |
getText()
Returns the text. |
boolean |
isVisible()
Returns whether the label is visible. |
void |
setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff). |
void |
setRotationAngle(int angle)
Sets the rotation in degrees (ie 45 = diagonal, 90 = vertical). |
void |
setSize(int size)
Sets the size. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setVisible(boolean visible)
Sets the visible. |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModel |
---|
addChangeListener, addChangeListener, fireEvent, fireEvent, isSilent, notify, notifyPropertyChanged, remove, removeChangeListener, removeChangeListeners, set, setSilent |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
get, get, getProperties, getPropertyNames, isAllowNestedValues, setAllowNestedValues, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData |
---|
get, getProperties, getPropertyNames |
Constructor Detail |
---|
public Label()
public Label(java.lang.String text)
text
- the textpublic Label(java.lang.String text, int angle)
text
- the textangle
- the rotation angleMethod Detail |
---|
public java.lang.String getColour()
public int getRotationAngle()
public int getSize()
public java.lang.String getText()
public boolean isVisible()
public void setColour(java.lang.String colour)
colour
- the colourpublic void setRotationAngle(int angle)
angle
- the rotate anglepublic void setSize(int size)
size
- the sizepublic void setText(java.lang.String text)
text
- the textpublic void setVisible(boolean visible)
visible
- the visible
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |