|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rednels.ofcgwt.client.model.elements.Element
com.rednels.ofcgwt.client.model.elements.LineChart
public class LineChart
Class for an OFC line chart that extends Element
Element| Nested Class Summary | |
|---|---|
static class |
LineChart.Dot
Base class for OFC line dots |
static class |
LineChart.LineStyle
Enumeration LineStyle - used with LineChart. |
| Constructor Summary | |
|---|---|
LineChart()
Creates a new line chart with normal style. |
|
LineChart(LineChart.LineStyle style)
Creates a new line chart. |
|
| Method Summary | |
|---|---|
void |
addDots(LineChart.Dot... dots)
Adds the dots. |
void |
addDots(java.util.List<LineChart.Dot> dots)
Adds the dots. |
void |
addValues(java.util.List<java.lang.Number> values)
Adds the values. |
void |
addValues(java.lang.Number... values)
Adds the values. |
com.google.gwt.json.client.JSONValue |
buildJSON()
Build (and return) a JSONObject that contains all the items of this object. |
java.lang.String |
getColour()
Gets the colour. |
java.lang.Integer |
getDotSize()
Gets the dot size. |
java.lang.Integer |
getHaloSize()
Gets the halo size. |
boolean |
getRightAxis()
|
java.lang.Integer |
getWidth()
Gets the width. |
void |
setColour(java.lang.String colour)
Sets the colour. |
void |
setDotSize(java.lang.Integer dotSize)
Sets the dot size. |
void |
setHaloSize(java.lang.Integer haloSize)
Sets the halo size. |
void |
setRightAxis(boolean rightAxis)
|
void |
setWidth(java.lang.Integer width)
Sets the width. |
| Methods inherited from class com.rednels.ofcgwt.client.model.elements.Element |
|---|
addKeyOnClickListener, addNull, addOnClickListener, getFontSize, getKeyOnClick, getOnClick, getText, getTooltip, getType, getValues, setFontSize, setKeyOnClick, setKeys, setKeys, setKeyToggleOnClick, setOnClick, setText, setTooltip, setValues |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineChart()
public LineChart(LineChart.LineStyle style)
style - the style| Method Detail |
|---|
public void addDots(LineChart.Dot... dots)
dots - the dotspublic void addDots(java.util.List<LineChart.Dot> dots)
dots - the dotspublic void addValues(java.util.List<java.lang.Number> values)
values - the valuespublic void addValues(java.lang.Number... values)
values - the valuespublic com.google.gwt.json.client.JSONValue buildJSON()
JSONizable
buildJSON in interface JSONizablebuildJSON in class Elementpublic java.lang.String getColour()
public java.lang.Integer getDotSize()
public java.lang.Integer getHaloSize()
public boolean getRightAxis()
public java.lang.Integer getWidth()
public void setColour(java.lang.String colour)
colour - the new colourpublic void setDotSize(java.lang.Integer dotSize)
dotSize - the new dot sizepublic void setHaloSize(java.lang.Integer haloSize)
haloSize - the new halo sizepublic void setRightAxis(boolean rightAxis)
public void setWidth(java.lang.Integer width)
width - the new width
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||