|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.HotSpotMap
lt.monarch.chart.engine.NullHotSpotMap
public class NullHotSpotMap extends HotSpotMap
Dummy HotSpotMap, which does not store any information.
| Modifier and Type | Field and Description |
|---|---|
static NullHotSpotMap |
instance
instance of NullHotSpotMap |
| Constructor and Description |
|---|
NullHotSpotMap()
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Does nothing. |
void |
clearEntity(ChartEntity entity)
Does nothing. |
java.awt.Shape |
getEntityShape(ChartEntity chartEntity)
Returns the entity shape according to the entity. |
java.awt.Shape |
getEntityShape(Point2D pt)
Returns the entity shape according to the point. |
ChartEntity |
getObjectById(int id)
Finds a chart object with specified id. |
void |
mapEntity(ChartEntity entity,
Point2D pt)
Sets the center point for the entity area. |
void |
mapEntity(ChartEntity entity,
Rectangle2D rectangle)
Does nothing. |
void |
mapEntity(ChartEntity entity,
java.awt.Shape shape)
Does nothing. |
void |
mapEntity(ChartEntity entity,
java.awt.Shape shape,
int id)
Maps the polygon to the entity. |
| Methods inherited from class lt.monarch.chart.engine.HotSpotMap |
|---|
contains, findAllEntitiesAt, findEntityAt, getEntityPosition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NullHotSpotMap instance
NullHotSpotMap
| Constructor Detail |
|---|
public NullHotSpotMap()
| Method Detail |
|---|
public void clearEntity(ChartEntity entity)
clearEntity in class HotSpotMapentity - chart entityHotSpotMap.clearEntity(ChartEntity)public void clear()
clear in class HotSpotMap
public void mapEntity(ChartEntity entity,
java.awt.Shape shape)
mapEntity in class HotSpotMapentity - chart entityshape - shapeHotSpotMap.mapEntity(ChartEntity, Shape)
public void mapEntity(ChartEntity entity,
Rectangle2D rectangle)
mapEntity in class HotSpotMapentity - chart entityrectangle - rectangleHotSpotMap.mapEntity(ChartEntity, Rectangle2D)public java.awt.Shape getEntityShape(Point2D pt)
HotSpotMap
getEntityShape in class HotSpotMappt - point of shapepublic java.awt.Shape getEntityShape(ChartEntity chartEntity)
HotSpotMap
getEntityShape in class HotSpotMapchartEntity - entitypublic ChartEntity getObjectById(int id)
HotSpotMapnull.
getObjectById in class HotSpotMapid - id to search fornull
otherwise
public void mapEntity(ChartEntity entity,
Point2D pt)
HotSpotMap
mapEntity in class HotSpotMapentity - entity to be mappedpt - entity center point
public void mapEntity(ChartEntity entity,
java.awt.Shape shape,
int id)
HotSpotMap
mapEntity in class HotSpotMapentity - entity to be mappedshape - shapeid - id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||