com.extjs.gxt.charts.client.model.charts
Class BarChart.Bar

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.BarChart.Bar
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable
Direct Known Subclasses:
CylinderBarChart.Bar, FilledBarChart.Bar
Enclosing class:
BarChart

public static class BarChart.Bar
extends DataConfig

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
BarChart.Bar(java.lang.Number top)
          Creates a new bar.
BarChart.Bar(java.lang.Number top, java.lang.Number bottom)
          Creates a new bar.
BarChart.Bar(java.lang.Number top, java.lang.Number bottom, java.lang.String colour)
          Creates a new bar.
BarChart.Bar(java.lang.Number top, java.lang.String colour)
          Creates a new bar.
 
Method Summary
 java.lang.Number getBottom()
          Gets the bottom.
 java.lang.String getColour()
          Gets the colour.
 java.lang.String getTooltip()
          Gets the tooltip.
 java.lang.Number getTop()
          Gets the top.
 void setBottom(java.lang.Number bottom)
          Sets the bottom.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff)
 void setTooltip(java.lang.String tooltip)
          Sets the tooltip.
 void setTop(java.lang.Number top)
          Sets the top.
 
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

BarChart.Bar

public BarChart.Bar(java.lang.Number top)
Creates a new bar.

Parameters:
top - the top

BarChart.Bar

public BarChart.Bar(java.lang.Number top,
                    java.lang.Number bottom)
Creates a new bar.

Parameters:
top - the top
bottom - the bottom

BarChart.Bar

public BarChart.Bar(java.lang.Number top,
                    java.lang.Number bottom,
                    java.lang.String colour)
Creates a new bar.

Parameters:
top - the top
bottom - the bottom
colour - the colour

BarChart.Bar

public BarChart.Bar(java.lang.Number top,
                    java.lang.String colour)
Creates a new bar.

Parameters:
top - the top
colour - the colour
Method Detail

getBottom

public java.lang.Number getBottom()
Gets the bottom.

Returns:
the bottom

getColour

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

Returns:
the colour

getTooltip

public java.lang.String getTooltip()
Gets the tooltip.

Returns:
the tooltip

getTop

public java.lang.Number getTop()
Gets the top.

Returns:
the top

setBottom

public void setBottom(java.lang.Number bottom)
Sets the bottom.

Parameters:
bottom - the new bottom

setColour

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

Parameters:
colour - the new colour

setTooltip

public void setTooltip(java.lang.String tooltip)
Sets the tooltip.

Parameters:
tooltip - the new tooltip

setTop

public void setTop(java.lang.Number top)
Sets the top.

Parameters:
top - the new top