|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.click.control.AbstractControl
net.sf.click.extras.graph.JSChart
net.sf.click.extras.graph.JSPieChart
Provides a Pie Chart control based on JavaScript only.
|
| Field Summary | |
protected static String[] |
CHART_RESOURCES
Chart resource file names. |
protected static String |
HTML_IMPORTS
The HTML imports statements. |
| Fields inherited from class net.sf.click.extras.graph.JSChart |
chartHeight, chartWidth, label, xLabels, yValues |
| Fields inherited from class net.sf.click.control.AbstractControl |
actionListener, attributes, listener, listenerMethod, messages, name, parent, styles |
| Fields inherited from interface net.sf.click.Control |
CONTROL_MESSAGES |
| Constructor Summary | |
JSPieChart()
Create a PieChart Control with no name defined. |
|
JSPieChart(String name)
Create a pie chart with the given name. |
|
JSPieChart(String name,
String label)
Create a pie chart with the given name and label. |
|
| Method Summary | |
protected String[] |
getChartResources()
Return the list of static chart resources to deploy. |
protected String |
getHtmlImportPattern()
Return the HTML imports pattern string. |
protected String |
getJSChartType()
Return the JavaScript Chart type. |
| Methods inherited from class net.sf.click.extras.graph.JSChart |
addPoint, addPoint, getChartHeight, getChartWidth, getHtmlImports, getLabel, onDeploy, onProcess, render, setChartHeight, setChartWidth, setLabel, setListener, toString |
| Methods inherited from class net.sf.click.control.AbstractControl |
addStyleClass, appendAttributes, getActionListener, getAttribute, getAttributes, getContext, getControlSizeEst, getId, getMessage, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, getTag, hasAttribute, hasAttributes, hasStyles, onDestroy, onInit, onRender, registerActionEvent, removeStyleClass, renderTagBegin, renderTagEnd, setActionListener, setAttribute, setId, setName, setParent, setStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final String HTML_IMPORTS
protected static final String[] CHART_RESOURCES
| Constructor Detail |
public JSPieChart()
public JSPieChart(String name)
name - the button name
public JSPieChart(String name,
String label)
name - the name of the chart controllabel - the label of the chart that will be displayed| Method Detail |
protected String[] getChartResources()
getChartResources in class JSChartJSChart.getChartResources()protected String getHtmlImportPattern()
getHtmlImportPattern in class JSChartJSChart.getHtmlImportPattern()protected String getJSChartType()
getJSChartType in class JSChartJSChart.getJSChartType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||