|
|||||||||
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.charts.DataConfig
com.extjs.gxt.charts.client.model.charts.PieChart.Slice
public static class PieChart.Slice
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 | |
---|---|
PieChart.Slice(java.lang.Number value,
java.lang.String label)
Creates a new slice. |
|
PieChart.Slice(java.lang.Number value,
java.lang.String label,
java.lang.String text)
Creates a new slice. |
Method Summary | |
---|---|
protected java.lang.Number |
getFirstValue()
|
java.lang.String |
getFontSize()
Returns the font size. |
java.lang.String |
getLabel()
Returns the text. |
java.lang.String |
getLabelColour()
Returns the label colour. |
java.lang.String |
getText()
Returns the text. |
java.lang.Number |
getValue()
Returns the value. |
void |
setFontSize(java.lang.String fontSize)
Sets the font size. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setLabelColour(java.lang.String labelColour)
Sets the label colour. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setValue(java.lang.Number value)
Sets the value. |
Methods inherited from class com.extjs.gxt.charts.client.model.charts.DataConfig |
---|
getSecondValue |
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 PieChart.Slice(java.lang.Number value, java.lang.String label)
value
- the valuelabel
- the labelpublic PieChart.Slice(java.lang.Number value, java.lang.String label, java.lang.String text)
value
- the valuelabel
- the labeltext
- the textMethod Detail |
---|
public java.lang.String getFontSize()
public java.lang.String getLabel()
public java.lang.String getLabelColour()
public java.lang.String getText()
public java.lang.Number getValue()
getValue
in class DataConfig
public void setFontSize(java.lang.String fontSize)
fontSize
- the new font sizepublic void setLabel(java.lang.String label)
label
- the labelpublic void setLabelColour(java.lang.String labelColour)
labelColour
- the new label colourpublic void setText(java.lang.String text)
text
- the textpublic void setValue(java.lang.Number value)
setValue
in class DataConfig
value
- the valueprotected java.lang.Number getFirstValue()
getFirstValue
in class DataConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |