|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rednels.ofcgwt.client.model.axis.AbstractAxis
com.rednels.ofcgwt.client.model.axis.XAxis
public class XAxis
Class for an OFC x-axis that extends AbstractAxis
AbstractAxis| Nested Class Summary | |
|---|---|
class |
XAxis.Labels
Class for an OFC x-axis label that extends Label |
| Constructor Summary | |
|---|---|
XAxis()
|
|
| Method Summary | |
|---|---|
void |
addLabels(Label... labels)
Adds the labels. |
void |
addLabels(java.util.List<Label> labels)
Adds the labels. |
void |
addLabels(java.lang.String... labels)
Adds the labels. |
com.google.gwt.json.client.JSONValue |
buildJSON()
Build (and return) a JSONObject that contains all the items of this object. |
XAxis.Labels |
getLabels()
Gets the labels. |
java.lang.Integer |
getTickHeight()
Gets the tick height. |
void |
setLabels(java.util.List<java.lang.String> labels)
Sets the labels. |
void |
setLabels(java.lang.String... labels)
Sets the labels. |
void |
setTickHeight(java.lang.Integer tick_height)
Sets the tick height. |
void |
setXAxisLabels(XAxis.Labels labels)
Sets the x axis 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 |
|---|
public XAxis()
| Method Detail |
|---|
public void addLabels(Label... labels)
labels - the labelspublic void addLabels(java.util.List<Label> labels)
labels - the labelspublic void addLabels(java.lang.String... labels)
labels - the labelspublic com.google.gwt.json.client.JSONValue buildJSON()
JSONizable
buildJSON in interface JSONizablebuildJSON in class AbstractAxispublic XAxis.Labels getLabels()
public java.lang.Integer getTickHeight()
public void setLabels(java.util.List<java.lang.String> labels)
labels - the new labelspublic void setLabels(java.lang.String... labels)
labels - the new labelspublic void setTickHeight(java.lang.Integer tick_height)
tick_height - the new tick heightpublic void setXAxisLabels(XAxis.Labels labels)
labels - the new x axis labels
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||