|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ChartObjectsMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ChartObjectsMap.TaggedChartObject
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all chart objects |
void |
clearChartObject(StyleEditorEntity chartObject,
AbstractPaintTags tag)
Removes chart object & tag combination from map |
java.util.List<? extends ChartObjectsMap.TaggedChartObject> |
findAllObjectsAt(Point2D pt)
Finds all chart objects & tags at the specified point. |
ChartObjectsMap.TaggedChartObject |
findChartObjectAt(Point2D pt)
Finds a chart object & tag at the specified point. |
int |
generateNextId()
Returns an id which will be valid until the last clear call. |
java.util.List<? extends ChartObjectsMap.TaggedChartObject> |
getAllObjects()
Gets all chart objects & tags |
java.util.List<java.awt.Shape> |
getChartObjectShapes(StyleEditorEntity chartObject,
AbstractPaintTags tag)
Returns list of shapes for the specified chart object & tag. |
ChartObjectsMap.TaggedChartObject |
getObjectById(int id)
Finds a chart object with specified id. |
void |
mapChartObject(StyleEditorEntity chartObject,
AbstractPaintTags tag,
java.awt.Shape shape)
Maps the specified chart object & tag to the specified polygon. |
void |
mapChartObject(StyleEditorEntity chartObject,
AbstractPaintTags tag,
java.awt.Shape shape,
int id)
Maps the specified chart object & tag to the specified polygon. |
| Method Detail |
|---|
void clearChartObject(StyleEditorEntity chartObject,
AbstractPaintTags tag)
chartObject - tag - void clear()
void mapChartObject(StyleEditorEntity chartObject,
AbstractPaintTags tag,
java.awt.Shape shape)
chartObject - the chart objecttag - the paint tagshape - the shapeid - id
void mapChartObject(StyleEditorEntity chartObject,
AbstractPaintTags tag,
java.awt.Shape shape,
int id)
chartObject - the chart objecttag - the paint tagshape - the shapeid - idjava.util.List<? extends ChartObjectsMap.TaggedChartObject> findAllObjectsAt(Point2D pt)
null.
pt - the pointnull
otherwisejava.util.List<? extends ChartObjectsMap.TaggedChartObject> getAllObjects()
ChartObjectsMap.TaggedChartObject findChartObjectAt(Point2D pt)
null.
pt - the pointnull
otherwise
java.util.List<java.awt.Shape> getChartObjectShapes(StyleEditorEntity chartObject,
AbstractPaintTags tag)
chartObject - the chart objecttag - the paint tagChartObjectsMap.TaggedChartObject getObjectById(int id)
null.
id - id to search fornull
otherwiseint generateNextId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||