|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.SimpleChartObjectsMap.HotSpot
public class SimpleChartObjectsMap.HotSpot extends java.lang.Object implements java.io.Serializable
A simple hot spot, which maps some chart objects to some polygon.
| Modifier and Type | Field and Description |
|---|---|
SimpleChartObjectsMap.TaggedChartObjectImpl |
chartObjectTagged
the chart object with tag |
int |
id
ID associated with chart object |
java.awt.Shape |
shape
the polygon to which object is mapped |
| Constructor and Description |
|---|
SimpleChartObjectsMap.HotSpot(SimpleChartObjectsMap.TaggedChartObjectImpl chartObjectTagged,
java.awt.Shape shape)
Constructs a new HotSpot mapping the specified chart object to the
specified polygon. |
SimpleChartObjectsMap.HotSpot(SimpleChartObjectsMap.TaggedChartObjectImpl chartObjectTagged,
java.awt.Shape shape,
int id)
Constructs a new HotSpot mapping the specified chart object to the
specified polygon. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Point2D pt)
Checks whether polygon to which the chart object is mapped contains the specified point. |
java.awt.Shape |
getShape()
Returns chart object polygon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SimpleChartObjectsMap.TaggedChartObjectImpl chartObjectTagged
public java.awt.Shape shape
public int id
| Constructor Detail |
|---|
public SimpleChartObjectsMap.HotSpot(SimpleChartObjectsMap.TaggedChartObjectImpl chartObjectTagged,
java.awt.Shape shape)
HotSpot mapping the specified chart object to the
specified polygon.
chartObjectTagged - the chart object with tagshape - the shape
public SimpleChartObjectsMap.HotSpot(SimpleChartObjectsMap.TaggedChartObjectImpl chartObjectTagged,
java.awt.Shape shape,
int id)
HotSpot mapping the specified chart object to the
specified polygon.
chartObjectTagged - the chart object with tagshape - the shapeid - chart object id| Method Detail |
|---|
public boolean contains(Point2D pt)
pt - the pointtrue if polygon contains the specified point,
false otherwisepublic java.awt.Shape getShape()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||