com.extjs.gxt.charts.client.model.charts
Class HorizontalBarChart.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.HorizontalBarChart.Bar
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable
Enclosing class:
HorizontalBarChart

public static class HorizontalBarChart.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
HorizontalBarChart.Bar(java.lang.Number right)
          Creates a new bar.
HorizontalBarChart.Bar(java.lang.Number left, java.lang.Number right)
          Creates a new bar.
HorizontalBarChart.Bar(java.lang.Number left, java.lang.Number right, java.lang.String colour)
          Creates a new bar.
HorizontalBarChart.Bar(java.lang.Number right, java.lang.String colour)
          Creates a new bar.
 
Method Summary
 java.lang.String getColour()
          Gets the colour.
 java.lang.Number getLeft()
          Gets the left.
 java.lang.Number getRight()
          Gets the right.
 java.lang.String getTooltip()
          Gets the tooltip.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff).
 void setLeft(java.lang.Number left)
          Sets the left.
 void setRight(java.lang.Number right)
          Sets the right.
 void setTooltip(java.lang.String tooltip)
          Sets the tooltip.
 
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

HorizontalBarChart.Bar

public HorizontalBarChart.Bar(java.lang.Number right)
Creates a new bar.

Parameters:
right - the right

HorizontalBarChart.Bar

public HorizontalBarChart.Bar(java.lang.Number left,
                              java.lang.Number right)
Creates a new bar.

Parameters:
left - the left
right - the right

HorizontalBarChart.Bar

public HorizontalBarChart.Bar(java.lang.Number right,
                              java.lang.String colour)
Creates a new bar.

Parameters:
right - the right
colour - the colour

HorizontalBarChart.Bar

public HorizontalBarChart.Bar(java.lang.Number left,
                              java.lang.Number right,
                              java.lang.String colour)
Creates a new bar.

Parameters:
left - the left
right - the right
colour - the colour
Method Detail

getColour

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

Returns:
the colour

getLeft

public java.lang.Number getLeft()
Gets the left.

Returns:
the left

getRight

public java.lang.Number getRight()
Gets the right.

Returns:
the right

getTooltip

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

Returns:
the tooltip

setColour

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

Parameters:
colour - the new colour

setLeft

public void setLeft(java.lang.Number left)
Sets the left.

Parameters:
left - the new left

setRight

public void setRight(java.lang.Number right)
Sets the right.

Parameters:
right - the new right

setTooltip

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

Parameters:
tooltip - the new tooltip