public class IlvChartHitmapSupport extends Object
IlvChartServletSupport.| Constructor and Description |
|---|
IlvChartHitmapSupport(IlvChartServletSupport support)
Creates a
IlvChartHitmapSupport. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvChartServletSupport |
getChartServletSupport()
Returns the image generating servlet support.
|
IlvChartHitmap |
getHitmap()
Gets the hitmap object.
|
IlvChartHitmapDefinition |
getHitmapDefinition()
Returns the hitmap definition used by this object.
|
JComponent |
getViewComponent()
Gets the view component.
|
void |
handleRequest(javax.servlet.http.HttpServletResponse response,
int width,
int height,
String compName)
Handles a hitmap request.
|
void |
registerHitmapInfoGenerator(String type,
IlvAbstractChartHitmapInfoGenerator generator)
Registers a hitmap info generator to be used for a given hitmap
information type.
|
void |
setHitmapDefinition(IlvChartHitmapDefinition definition)
Sets the hitmap definition used by this object.
|
void |
setHitmapDefinitionClassName(String className)
Sets the classname of the hitmap definition.
|
void |
setViewComponent(JComponent viewComp)
Sets the view component.
|
public IlvChartHitmapSupport(IlvChartServletSupport support)
IlvChartHitmapSupport.support - The chart servlet support.protected IlvChartServletSupport getChartServletSupport()
IlvChartServletSupport instance.public IlvChartHitmapDefinition getHitmapDefinition()
public void setHitmapDefinition(IlvChartHitmapDefinition definition)
public void setHitmapDefinitionClassName(String className)
IlvChartHitmapDefinition.className - The class name of the hitmap definition.setHitmapDefinition(ilog.views.chart.servlet.IlvChartHitmapDefinition)public IlvChartHitmap getHitmap()
IlvChartHitmap object.public JComponent getViewComponent()
public void setViewComponent(JComponent viewComp)
public void handleRequest(javax.servlet.http.HttpServletResponse response,
int width,
int height,
String compName)
throws IOException,
javax.servlet.ServletException
response - The HTTP servlet responsewidth - The width of the hitmap in pixelsheight - The height of the hitmap in pixelscompName - The chart componentIOExceptionjavax.servlet.ServletExceptionpublic void registerHitmapInfoGenerator(String type, IlvAbstractChartHitmapInfoGenerator generator)
type - A hitmap information type, such as
IlvHitmapConstants.TOOLTIP_TYPE,
IlvHitmapConstants.GROUP_TYPE,
IlvHitmapConstants.CURSOR_TYPE, or
IlvHitmapConstants.NAVIGATION_TYPE.generator - A hitmap info generator.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.