|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the set of methods that must be implemented
in order to successfully transform a GraphPO
into a visible, rendered chart.
| Field Summary | |
static java.util.PropertyResourceBundle |
bundle
Property resource which holds information whichis used to determine which GraphRenderer to return |
| Method Summary | |
java.lang.String |
createChartImage(java.lang.Object chart,
int width,
int height)
Takes a 3rd party graphing library chart object, and size dimensions, and passes to a graphing servlet to create an image of the chart, and store in the session |
int |
getChartImageHeightOffset()
Returns the pixel offset of the chart image height, produced by the renderer. |
int |
getChartImageWidthOffset()
Returns the pixel offset of the chart image width, produced by the renderer. |
java.lang.String |
getImageMap(java.lang.Object chart,
java.lang.String identifier)
Takes a 3rd party graphing library chart object, and its image identifier and retrieves/creates any image map information for the chart. |
java.lang.String |
getRenderServlet()
Returns the graphing server servlet context path, so that the chart can be rendered within an HTML session and available to a browser. |
java.lang.Object |
render(GraphPO po)
Converts a GraphPO presentation object into a 3rd party graphing library chart object |
| Methods inherited from interface com.ge.research.acuity.ui.renderers.Renderer |
render |
| Field Detail |
public static final java.util.PropertyResourceBundle bundle
| Method Detail |
public java.lang.String createChartImage(java.lang.Object chart,
int width,
int height)
chart - the 3rd party graphing library chart objectwidth - the width of the chart imageheight - the height of the chart image
public int getChartImageHeightOffset()
public int getChartImageWidthOffset()
public java.lang.String getRenderServlet()
public java.lang.String getImageMap(java.lang.Object chart,
java.lang.String identifier)
chart - the 3rd party graphing library chart objectidentifier - the identifier of the chart image in the session,
to get the image map information for
identifierpublic java.lang.Object render(GraphPO po)
po - the graph presentation object to convert into 3rd party library object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||