com.extjs.gxt.charts.client.model
Class ToolTip

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.ToolTip
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable

public class ToolTip
extends BaseModel

Base class for an OFC tooltip element

See Also:
Serialized Form

Nested Class Summary
static class ToolTip.MouseStyle
          Enumeration MouseStyle - used with tooltip.
 
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
ToolTip()
          Create a new ToolTip instance
ToolTip(ToolTip.MouseStyle mouse)
          Create a new ToolTip instance with the given mouse style
 
Method Summary
 java.lang.String getBackgroundColour()
          Returns the background colour.
 java.lang.String getBodyStyle()
          Returns the body style.
 java.lang.String getColour()
          Returns the colour.
 ToolTip.MouseStyle getMouse()
          Returns the mouse.
 int getStroke()
          Returns the stroke.
 java.lang.String getTitleStyle()
          Gets the title style.
 void setBackgroundColour(java.lang.String backgroundColour)
          Sets the background colour.
 void setBodyStyle(java.lang.String bodyStyle)
          Sets the body style.
 void setColour(java.lang.String colour)
          Sets the colour.
 void setMouse(ToolTip.MouseStyle mouse)
          Sets the mouse.
 void setStroke(int stroke)
          Sets the stroke.
 void setTitleStyle(java.lang.String titleStyle)
          Sets the title style.
 
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

ToolTip

public ToolTip()
Create a new ToolTip instance


ToolTip

public ToolTip(ToolTip.MouseStyle mouse)
Create a new ToolTip instance with the given mouse style

Parameters:
mouse - the mouse style
Method Detail

getBackgroundColour

public java.lang.String getBackgroundColour()
Returns the background colour.

Returns:
the background colour

getBodyStyle

public java.lang.String getBodyStyle()
Returns the body style.

Returns:
the body style

getColour

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

Returns:
the colour

getMouse

public ToolTip.MouseStyle getMouse()
Returns the mouse.

Returns:
the mouse

getStroke

public int getStroke()
Returns the stroke.

Returns:
the stroke

getTitleStyle

public java.lang.String getTitleStyle()
Gets the title style.

Returns:
the title style

setBackgroundColour

public void setBackgroundColour(java.lang.String backgroundColour)
Sets the background colour.

Parameters:
backgroundColour - the background colour to set

setBodyStyle

public void setBodyStyle(java.lang.String bodyStyle)
Sets the body style.

Parameters:
bodyStyle - the body style to set

setColour

public void setColour(java.lang.String colour)
Sets the colour.

Parameters:
colour - the colour to set

setMouse

public void setMouse(ToolTip.MouseStyle mouse)
Sets the mouse.

Parameters:
mouse - the mouse to set

setStroke

public void setStroke(int stroke)
Sets the stroke.

Parameters:
stroke - the stroke to set

setTitleStyle

public void setTitleStyle(java.lang.String titleStyle)
Sets the title style.

Parameters:
titleStyle - the title style to set