org.romaframework.module.chart.jfreechart.view.domain.renderoptions
Class RenderOptionsMain

java.lang.Object
  extended by org.romaframework.frontend.domain.entity.ComposedEntityInstance<EditableRenderOptions>
      extended by 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)

Field Summary
 
Fields inherited from interface org.romaframework.core.domain.entity.ComposedEntity
NAME
 
Constructor Summary
RenderOptionsMain(EditableRenderOptions entity)
           
 
Method Summary
 EditableRenderOptions getEntity()
           
 org.jfree.chart.plot.PlotOrientation getOrientation()
           
 org.jfree.chart.plot.PlotOrientation[] getOrientations()
           
 java.lang.String getSelected()
           
 java.lang.String[] getTypes()
           
 void refresh()
           
 void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
           
 void setOrientations(org.jfree.chart.plot.PlotOrientation[] orientations)
           
 void setSelected(java.lang.String selected)
           
 void setTypes(java.lang.String[] types)
           
 
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
 

Constructor Detail

RenderOptionsMain

public RenderOptionsMain(EditableRenderOptions entity)
Method Detail

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)