com.extjs.gxt.charts.client.model.axis
Class Keys

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

public class Keys
extends BaseModel

Base class for an OFC keys.

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
Keys(java.lang.String text, java.lang.String colour, int fontSize)
          Creates a new key.
 
Method Summary
 java.lang.String getColour()
          Returns the colour.
 int getFontSize()
          Returns the font size.
 java.lang.String getText()
          Returns the text.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff).
 void setFontSize(int fontSize)
          Sets the font size.
 void setText(java.lang.String text)
          Sets the text.
 
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

Keys

public Keys(java.lang.String text,
            java.lang.String colour,
            int fontSize)
Creates a new key.

Parameters:
text - the text
colour - the colour
fontSize - the font size
Method Detail

getColour

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

Returns:
the colour

getFontSize

public int getFontSize()
Returns the font size.

Returns:
the font size

getText

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

Returns:
the text

setColour

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

Parameters:
colour - the colour

setFontSize

public void setFontSize(int fontSize)
Sets the font size.

Parameters:
fontSize - the font size

setText

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

Parameters:
text - the text