|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.nuiton.web.struts2.BaseAction
org.chorem.pollen.ui.actions.PollenActionSupport
org.chorem.pollen.ui.actions.io.GenerateChart
public class GenerateChart
Action to generate a chart given the values (and optional subtitles).
| Field Summary | |
|---|---|
protected org.jfree.chart.JFreeChart |
chart
|
protected int |
height
|
static int |
PIE
diagramme de type PIE. |
static int |
PIE3D
diagramme de type PIE3D. |
static int |
RING
diagramme de type RING. |
protected List<String> |
subtitles
|
protected String |
title
|
protected int |
type
|
protected List<String> |
values
|
protected int |
width
|
| Fields inherited from class org.chorem.pollen.ui.actions.PollenActionSupport |
|---|
SAFE_LANGUAGES, serviceContext, serviceFactory, transaction |
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
GenerateChart()
|
|
| Method Summary | |
|---|---|
String |
execute()
|
org.jfree.chart.JFreeChart |
getChart()
|
int |
getHeight()
|
int |
getWidth()
|
void |
setHeight(int height)
|
void |
setSubtitles(List<String> subtitles)
|
void |
setTitle(String title)
|
void |
setType(int type)
|
void |
setValues(List<String> values)
|
void |
setWidth(int width)
|
| Methods inherited from class org.nuiton.web.struts2.BaseAction |
|---|
_ |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PIE
public static final int PIE3D
public static final int RING
protected int type
protected List<String> values
protected List<String> subtitles
protected int width
protected int height
protected String title
protected org.jfree.chart.JFreeChart chart
| Constructor Detail |
|---|
public GenerateChart()
| Method Detail |
|---|
public void setType(int type)
public void setValues(List<String> values)
public void setSubtitles(List<String> subtitles)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public void setTitle(String title)
public org.jfree.chart.JFreeChart getChart()
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||