public class JFreeChartAction extends AbstractPageAction
AbstractPageAction.TerminalResource
Modifier and Type | Field and Description |
---|---|
boolean |
antiAlias |
boolean |
borderVisible |
org.jfree.chart.JFreeChart |
chart |
static String |
CHART_FILENAME_FORMAT |
JFreeChartConfiguration |
chartConfiguration |
String |
chartId |
String[] |
chartTypeLabels |
static String[] |
chartTypes1D |
static String[] |
chartTypes2D |
String[] |
chartTypeValues |
static String[][] |
CONFIGURATION_FIELDS |
static String |
copyright |
File |
file |
Form |
form |
int |
height |
JFreeChartInstance |
jfreeChartInstance |
static org.slf4j.Logger |
logger |
Persistence |
persistence |
int |
width |
CONF_FORM_PREFIX, DEFAULT_LAYOUT_CONTAINER, PAGE_CONFIGURATION_FIELDS, PAGE_CONFIGURATION_FIELDS_NO_DETAIL, pageConfigurationForm, pageInstance, pageTemplate, PORTOFINO_PAGEACTION_EXCEPTION, portofinoConfiguration, returnUrl, script, serverInfo, templates
context
Constructor and Description |
---|
JFreeChartAction() |
Modifier and Type | Method and Description |
---|---|
Resolution |
chart() |
Resolution |
configure() |
Resolution |
execute() |
void |
generateChart() |
org.jfree.chart.JFreeChart |
getChart() |
JFreeChartConfiguration |
getChartConfiguration() |
String |
getChartId() |
Form |
getForm() |
int |
getHeight() |
JFreeChartInstance |
getJfreeChartInstance() |
int |
getWidth() |
boolean |
isAntiAlias() |
boolean |
isBorderVisible() |
protected void |
prepareConfigurationForms()
Sets up the Elements form(s)
|
Resolution |
preparePage()
A lifecycle method invoked during the dispatch phase, where a http request is translated to a dispatch
(a path in the page tree) ultimately leading to an action invocation.
|
void |
setAntiAlias(boolean antiAlias) |
void |
setBorderVisible(boolean borderVisible) |
void |
setChart(org.jfree.chart.JFreeChart chart) |
void |
setChartConfiguration(JFreeChartConfiguration chartConfiguration) |
void |
setChartId(String chartId) |
void |
setForm(Form form) |
void |
setHeight(int height) |
void |
setJfreeChartInstance(JFreeChartInstance jfreeChartInstance) |
void |
setWidth(int width) |
Resolution |
updateConfiguration() |
acceptsPathParameter, cancel, consumePathFragment, createTemplateSelectionProvider, forwardTo, forwardToPageActionError, forwardToPageActionNotConfigured, getActionAPIPath, getActionPath, getButtons, getConfiguration, getDefaultReturnUrl, getEmbeddedPageActions, getOgnlContext, getPage, getPageConfigurationForm, getPageDescription, getPageInstance, getPages, getPageTemplate, getParent, getPortofinoConfiguration, getResourcePath, getReturnUrl, getScript, getSubResource, initEmbeddedPageActions, isMultipartRequest, prepareScript, readPageConfigurationFromRequest, saveConfiguration, setPageConfigurationForm, setPageInstance, setPageTemplate, setReturnUrl, setScript, updatePageConfiguration, updateScript, updateTemplate, validatePageConfiguration
getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext
setContext
public static final String copyright
public static final String CHART_FILENAME_FORMAT
public Persistence persistence
public String chartId
public int width
public int height
public boolean antiAlias
public boolean borderVisible
public JFreeChartConfiguration chartConfiguration
public Form form
public org.jfree.chart.JFreeChart chart
public JFreeChartInstance jfreeChartInstance
public File file
public static final org.slf4j.Logger logger
public static final String[][] CONFIGURATION_FIELDS
public static final String[] chartTypes1D
public static final String[] chartTypes2D
public final String[] chartTypeValues
public final String[] chartTypeLabels
@DefaultHandler public Resolution execute()
public void generateChart()
public Resolution chart() throws FileNotFoundException
FileNotFoundException
public Resolution configure()
protected void prepareConfigurationForms()
AbstractPageAction
prepareConfigurationForms
in class AbstractPageAction
public Resolution updateConfiguration()
public Resolution preparePage()
PageAction
public String getChartId()
public void setChartId(String chartId)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public boolean isAntiAlias()
public void setAntiAlias(boolean antiAlias)
public boolean isBorderVisible()
public void setBorderVisible(boolean borderVisible)
public JFreeChartConfiguration getChartConfiguration()
public void setChartConfiguration(JFreeChartConfiguration chartConfiguration)
public Form getForm()
public void setForm(Form form)
public org.jfree.chart.JFreeChart getChart()
public void setChart(org.jfree.chart.JFreeChart chart)
public JFreeChartInstance getJfreeChartInstance()
public void setJfreeChartInstance(JFreeChartInstance jfreeChartInstance)