com.extjs.gxt.charts.client.model.axis
Class XAxis.XLabels

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.Label
              extended by com.extjs.gxt.charts.client.model.axis.XAxis.XLabels
All Implemented Interfaces:
ChangeEventSource, Model, ModelData, java.io.Serializable
Enclosing class:
XAxis

public class XAxis.XLabels
extends Label

Class for an OFC x-axis label.

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
XAxis.XLabels(java.util.List<java.lang.String> list)
          Creates a new labels.
XAxis.XLabels(java.lang.String... labels)
          Creates a new labels.
 
Method Summary
 void addLabels(Label... list)
          Adds the labels.
 void addLabels(java.util.List<Label> list)
          Adds the labels.
 void addLabels(java.lang.String... list)
          Adds the labels.
protected  java.util.Collection<java.lang.Object> checkLabels()
           
 java.lang.String getColour()
          Returns the colour.
 java.util.Collection<java.lang.Object> getLabels()
          Returns the labels.
 Rotation getRotation()
          Returns the rotation.
 int getSize()
          Returns the size.
 int getSteps()
          Returns the steps.
 boolean isVisible()
          Returns the visible state.
 void setColour(java.lang.String colour)
          Sets the colour in HTML hex format (#ffffff).
 void setRotation(Rotation rotate)
          Sets the rotation.
 void setSize(int size)
          Sets the size.
 void setSteps(int steps)
          Sets the steps.
 void setVisible(boolean visible)
          Sets the visible state.
 
Methods inherited from class com.extjs.gxt.charts.client.model.axis.Label
getRotationAngle, getText, setRotationAngle, setText
 
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

XAxis.XLabels

public XAxis.XLabels(java.util.List<java.lang.String> list)
Creates a new labels.

Parameters:
list - the labels

XAxis.XLabels

public XAxis.XLabels(java.lang.String... labels)
Creates a new labels.

Parameters:
labels - the labels
Method Detail

addLabels

public void addLabels(Label... list)
Adds the labels.

Parameters:
list - the labels

addLabels

public void addLabels(java.util.List<Label> list)
Adds the labels.

Parameters:
list - the labels

addLabels

public void addLabels(java.lang.String... list)
Adds the labels.

Parameters:
list - the labels

getColour

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

Overrides:
getColour in class Label
Returns:
the colour

getLabels

public java.util.Collection<java.lang.Object> getLabels()
Returns the labels.

Returns:
the labels

getRotation

public Rotation getRotation()
Returns the rotation.

Returns:
the rotation

getSize

public int getSize()
Returns the size.

Overrides:
getSize in class Label
Returns:
the size

getSteps

public int getSteps()
Returns the steps.

Returns:
the steps

isVisible

public boolean isVisible()
Returns the visible state.

Overrides:
isVisible in class Label
Returns:
true if visible

setColour

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

Overrides:
setColour in class Label
Parameters:
colour - the colour

setRotation

public void setRotation(Rotation rotate)
Sets the rotation.

Parameters:
rotate - the rotate

setSize

public void setSize(int size)
Sets the size.

Overrides:
setSize in class Label
Parameters:
size - the size

setSteps

public void setSteps(int steps)
Sets the steps.

Parameters:
steps - the new steps

setVisible

public void setVisible(boolean visible)
Sets the visible state.

Overrides:
setVisible in class Label
Parameters:
visible - true for visible

checkLabels

protected java.util.Collection<java.lang.Object> checkLabels()