com.extjs.gxt.charts.client.model.charts
Class StackedBarChart.StackValue

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelData
      extended by com.extjs.gxt.ui.client.data.BaseModel
          extended by com.extjs.gxt.charts.client.model.charts.DataConfig
              extended by com.extjs.gxt.charts.client.model.charts.StackedBarChart.StackValue
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable
Direct Known Subclasses:
HorizontalStackedBarChart.StackValue
Enclosing class:
StackedBarChart

public static class StackedBarChart.StackValue
extends DataConfig

Base class for OFC stack bar chart values

See Also:
Serialized Form

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
StackedBarChart.StackValue(java.lang.Number value)
          Creates a new stack value.
StackedBarChart.StackValue(java.lang.Number value, java.lang.String colour)
          Creates a new stack value.
StackedBarChart.StackValue(java.lang.Number value, java.lang.String colour, java.lang.String text)
          Creates a new stack value.
 
Method Summary
 java.lang.String getColour()
          Gets the colour.
 java.lang.String getText()
          Gets the text.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff)
 void setText(java.lang.String text)
          Sets the text
 
Methods inherited from class com.extjs.gxt.charts.client.model.charts.DataConfig
getFirstValue, getSecondValue, getValue, setValue
 
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

StackedBarChart.StackValue

public StackedBarChart.StackValue(java.lang.Number value)
Creates a new stack value.

Parameters:
value - the value

StackedBarChart.StackValue

public StackedBarChart.StackValue(java.lang.Number value,
                                  java.lang.String colour)
Creates a new stack value.

Parameters:
value - the value
colour - the colour

StackedBarChart.StackValue

public StackedBarChart.StackValue(java.lang.Number value,
                                  java.lang.String colour,
                                  java.lang.String text)
Creates a new stack value.

Parameters:
value - the value
colour - the colour
text - the text
Method Detail

getColour

public java.lang.String getColour()
Gets the colour.

Returns:
the colour

getText

public java.lang.String getText()
Gets the text.

Returns:
the text

setColour

public void setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff)

Parameters:
colour - the new colour

setText

public void setText(java.lang.String text)
Sets the text

Parameters:
text - the new text