org.romaframework.module.chart.jfreechart.view.domain.renderoptions
Class RenderOptionsMain
java.lang.Object
org.romaframework.frontend.domain.entity.ComposedEntityInstance<EditableRenderOptions>
org.romaframework.module.chart.jfreechart.view.domain.renderoptions.RenderOptionsMain
- All Implemented Interfaces:
- org.romaframework.aspect.security.Secure, org.romaframework.core.config.Refreshable, org.romaframework.core.domain.entity.ComposedEntity<EditableRenderOptions>
public class RenderOptionsMain
- extends org.romaframework.frontend.domain.entity.ComposedEntityInstance<EditableRenderOptions>
- implements org.romaframework.core.config.Refreshable
this class is part of the ChartViewer GUI, it allows you to modify chart properties (type, dimension etc.)
- Author:
- Luigi Dell'Aquila (luigi.dellaquila@assetdata.it)
| Fields inherited from interface org.romaframework.core.domain.entity.ComposedEntity |
NAME |
| Methods inherited from class org.romaframework.frontend.domain.entity.ComposedEntityInstance |
canRead, canWrite, equals, hashCode, setEntity, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
RenderOptionsMain
public RenderOptionsMain(EditableRenderOptions entity)
getOrientation
public org.jfree.chart.plot.PlotOrientation getOrientation()
setOrientation
public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
getTypes
public java.lang.String[] getTypes()
setTypes
public void setTypes(java.lang.String[] types)
refresh
public void refresh()
- Specified by:
refresh in interface org.romaframework.core.config.Refreshable
getSelected
public java.lang.String getSelected()
setSelected
public void setSelected(java.lang.String selected)
getEntity
public EditableRenderOptions getEntity()
- Specified by:
getEntity in interface org.romaframework.core.domain.entity.ComposedEntity<EditableRenderOptions>- Overrides:
getEntity in class org.romaframework.frontend.domain.entity.ComposedEntityInstance<EditableRenderOptions>
getOrientations
public org.jfree.chart.plot.PlotOrientation[] getOrientations()
setOrientations
public void setOrientations(org.jfree.chart.plot.PlotOrientation[] orientations)