oracle.dss.graph
Class ImagemapComponent
java.lang.Object
|
+--oracle.dss.graph.ImagemapComponent
- public class ImagemapComponent
- extends java.lang.Object
A representation of a graph component, for an imagemap. 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.
- See Also:
Graph.getImagemapEnumeration(int)
| Method Summary |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImagemapComponent
public ImagemapComponent(ComponentHandle handle,
java.awt.Polygon poly,
java.lang.String[] tooltips)
- Constructor.
-
- Parameters:
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.
- See Also:
ComponentHandle
getComponentHandle
public ComponentHandle getComponentHandle()
- Retrieves the component handle for the represented graph component. This method actually returns one of the following subclasses of the
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
-
- Returns:
- The
ComponentHandle for the graph component that this ImagemapComponent represents.
- See Also:
GroupComponentHandle, SeriesComponentHandle, DataComponentHandle, NonDataComponentHandle
getPlacement
public java.awt.Polygon getPlacement()
- Retrieves the polygon that encloses the component.
-
- Returns:
- The
Polygon that encloses the graph component that this ImagemapComponent represents.
getTooltips
public java.lang.String[] getTooltips()
- Retrieves the array of tooltips for the component that this
ImagemapComponent represents.
-
- Returns:
- The array of tooltips for the component that this
ImagemapComponent represents.
- See Also:
Graph.setMarkerTooltipType(int), Graph.setGroupTooltipLabelType(int), Graph.setSeriesTooltipLabelType(int)
Copyright © 2003, Oracle. All Rights Reserved.