|
|||||||||
| 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.HorizontalBarChart
public class HorizontalBarChart
Class for an OFC horizontal bar chart that extends Element
Element| Nested Class Summary | |
|---|---|
static class |
HorizontalBarChart.Bar
Base class for OFC horizontal bar chart bars |
| Constructor Summary | |
|---|---|
HorizontalBarChart()
Creates a new horizontal bar chart. |
|
| Method Summary | |
|---|---|
void |
addBar(java.lang.Number left,
java.lang.Number right)
Adds the bar. |
void |
addBars(HorizontalBarChart.Bar... values)
Adds the bars. |
void |
addBars(java.util.List<HorizontalBarChart.Bar> values)
Adds the bars. |
void |
addValues(java.util.List<java.lang.Number> values)
Adds bars with right side values. |
void |
addValues(java.lang.Number... values)
Adds bars with right side 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. |
void |
setColour(java.lang.String colour)
Sets the colour in HTML hex format (#ffffff) |
| 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 HorizontalBarChart()
| Method Detail |
|---|
public void addBar(java.lang.Number left,
java.lang.Number right)
left - the leftright - the rightpublic void addBars(HorizontalBarChart.Bar... values)
values - the valuespublic void addBars(java.util.List<HorizontalBarChart.Bar> values)
values - the valuespublic void addValues(java.util.List<java.lang.Number> values)
values - the right side valuespublic void addValues(java.lang.Number... values)
values - the right side valuespublic com.google.gwt.json.client.JSONValue buildJSON()
JSONizable
buildJSON in interface JSONizablebuildJSON in class Elementpublic java.lang.String getColour()
public void setColour(java.lang.String colour)
colour - the new colour
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||