public class ImagemapComponent
extends java.lang.Object
ImagemapComponent
objects are stored in an Enumeration
. The Enumeration
contains one ImagemapComponent
for each component in the graph that is to be represented in an imagemap.Graph.getImagemapEnumeration(int)
Constructor and Description |
---|
ImagemapComponent(ComponentHandle handle, java.awt.Polygon poly, java.lang.String[] tooltips)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ComponentHandle |
getComponentHandle()
Retrieves the component handle for the represented graph component.
|
java.awt.Polygon |
getPlacement()
Retrieves the polygon that encloses the component.
|
java.lang.String[] |
getTooltips()
Retrieves the array of tooltips for the component that this
ImagemapComponent represents. |
public ImagemapComponent(ComponentHandle handle, java.awt.Polygon poly, java.lang.String[] tooltips)
handle
- The ComponentHandle
for the graph component that this ImagemapComponent
represents.poly
- The Polygon
that encloses the represented graph component.tooltips
- The array of tooltips for the graph component that this ImagemapComponent
represents.ComponentHandle
public ComponentHandle getComponentHandle()
ComponentHandle
class:
GroupComponentHandle
-- for components that represent groups, such as the O1TickLabel
SeriesComponentHandle
-- for components that represent series, such as the LegendText
DataComponentHandle
-- for components that represent data, such as a DataMarker
or TwoDMarker
NonDataComponentHandle
-- for components that do not represent data, such as the PlotArea
ComponentHandle
for the graph component that this ImagemapComponent
represents.GroupComponentHandle
, SeriesComponentHandle
, DataComponentHandle
, NonDataComponentHandle
public java.awt.Polygon getPlacement()
Polygon
that encloses the graph component that this ImagemapComponent
represents.public java.lang.String[] getTooltips()
ImagemapComponent
represents.ImagemapComponent
represents.Graph.setMarkerTooltipType(int)
, Graph.setGroupTooltipLabelType(int)
, Graph.setSeriesTooltipLabelType(int)