com.extjs.gxt.charts.client.model.charts.dots
Class BaseDot

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.dots.BaseDot
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable
Direct Known Subclasses:
Anchor, Bow, Dot, HollowDot, SolidDot, Star

public abstract class BaseDot
extends DataConfig

OFC line dots

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
protected BaseDot()
           
  BaseDot(java.lang.String type, java.lang.Number value)
          Creates a new dot.
 
Method Summary
 java.lang.String getColour()
          Gets the colour.
 java.lang.Integer getHaloSize()
          Gets the halo size.
 java.lang.Integer getSize()
          Gets the size.
 java.lang.String getTooltip()
          Gets the tooltip.
 java.lang.Number getValue()
          Gets the value.
 java.lang.Number getX()
          Gets the x.
 java.lang.Number getY()
          Gets the y.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff)
 void setHaloSize(java.lang.Integer haloSize)
          Sets the halo size.
 void setSize(java.lang.Integer size)
          Sets the size.
 void setTooltip(java.lang.String tooltip)
          Sets the tooltip.
 void setValue(java.lang.Number value)
          Sets the value.
 void setXY(java.lang.Number x, java.lang.Number y)
          Sets the x.
 
Methods inherited from class com.extjs.gxt.charts.client.model.charts.DataConfig
getFirstValue, 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

BaseDot

protected BaseDot()

BaseDot

public BaseDot(java.lang.String type,
               java.lang.Number value)
Creates a new dot.

Parameters:
type - the type
value - the value
Method Detail

getColour

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

Returns:
the colour

getSize

public java.lang.Integer getSize()
Gets the size.

Returns:
the size

getHaloSize

public java.lang.Integer getHaloSize()
Gets the halo size.

Returns:
the halo size

getTooltip

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

Returns:
the tooltip

getValue

public java.lang.Number getValue()
Gets the value.

Overrides:
getValue in class DataConfig
Returns:
the value

getX

public java.lang.Number getX()
Gets the x.

Returns:
the x

getY

public java.lang.Number getY()
Gets the y.

Returns:
the y

setColour

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

Parameters:
colour - the colour

setSize

public void setSize(java.lang.Integer size)
Sets the size.

Parameters:
size - the size

setHaloSize

public void setHaloSize(java.lang.Integer haloSize)
Sets the halo size.

Parameters:
haloSize - the halo size

setTooltip

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

Parameters:
tooltip - the new tooltip

setValue

public void setValue(java.lang.Number value)
Sets the value.

Overrides:
setValue in class DataConfig
Parameters:
value - the value

setXY

public void setXY(java.lang.Number x,
                  java.lang.Number y)
Sets the x.

Parameters:
x - the new x
y - the new y