com.rednels.ofcgwt.client.model.axis
Class RadarAxis

java.lang.Object
  extended by com.rednels.ofcgwt.client.model.axis.AbstractAxis
      extended by com.rednels.ofcgwt.client.model.axis.RadarAxis
All Implemented Interfaces:
JSONizable

public class RadarAxis
extends AbstractAxis
implements JSONizable

Class for an OFC radar axis that extends AbstractAxis

See Also:
AbstractAxis

Nested Class Summary
 class RadarAxis.Labels
          Class for an OFC radar axis label
 
Constructor Summary
RadarAxis()
           
 
Method Summary
 void addLabels(java.lang.String... labels)
          Adds the labels.
 void addSpokeLabels(java.lang.String... labels)
          Adds the spoke labels.
 com.google.gwt.json.client.JSONValue buildJSON()
          Build (and return) a JSONObject that contains all the items of this object.
 RadarAxis.Labels getLabels()
          Gets the labels.
 RadarAxis.Labels getSpokeLabels()
          Gets the spoke labels.
 void setLabels(java.util.List<java.lang.String> labels)
          Sets the labels.
 void setLabels(java.lang.String... labels)
          Sets the labels.
 void setRadarAxisLabels(RadarAxis.Labels labels)
          Sets the radar axis labels.
 void setSpokeLabels(java.util.List<java.lang.String> labels)
          Sets the spoke labels.
 void setSpokeLabels(RadarAxis.Labels labels)
          Sets the radar axis spoke labels.
 void setSpokeLabels(java.lang.String... labels)
          Sets the spoke labels.
 
Methods inherited from class com.rednels.ofcgwt.client.model.axis.AbstractAxis
getColour, getGridColour, getMax, getMin, getOffset, getSteps, getStroke, getZDepth3D, setColour, setGridColour, setMax, setMin, setOffset, setRange, setRange, setSteps, setStroke, setZDepth3D
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadarAxis

public RadarAxis()
Method Detail

addLabels

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

Parameters:
labels - the labels

addSpokeLabels

public void addSpokeLabels(java.lang.String... labels)
Adds the spoke labels.

Parameters:
labels - the labels

buildJSON

public com.google.gwt.json.client.JSONValue buildJSON()
Description copied from interface: JSONizable
Build (and return) a JSONObject that contains all the items of this object. If required, will call.buildJSON() on any contained JSONizable objects, thus producing an entire JSON tree.

Specified by:
buildJSON in interface JSONizable
Overrides:
buildJSON in class AbstractAxis
Returns:
the JSONObject

getLabels

public RadarAxis.Labels getLabels()
Gets the labels.

Returns:
the labels

getSpokeLabels

public RadarAxis.Labels getSpokeLabels()
Gets the spoke labels.

Returns:
the labels

setLabels

public void setLabels(java.util.List<java.lang.String> labels)
Sets the labels.

Parameters:
labels - the new labels

setLabels

public void setLabels(java.lang.String... labels)
Sets the labels.

Parameters:
labels - the new labels

setRadarAxisLabels

public void setRadarAxisLabels(RadarAxis.Labels labels)
Sets the radar axis labels.

Parameters:
labels - the new radar axis labels

setSpokeLabels

public void setSpokeLabels(RadarAxis.Labels labels)
Sets the radar axis spoke labels.

Parameters:
labels - the new radar axis spoke labels

setSpokeLabels

public void setSpokeLabels(java.util.List<java.lang.String> labels)
Sets the spoke labels.

Parameters:
labels - the new spoke labels

setSpokeLabels

public void setSpokeLabels(java.lang.String... labels)
Sets the spoke labels.

Parameters:
labels - the new spoke labels