|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityCollection
This interface defines the methods used to access an ordered list of
ChartEntity objects.
| Method Summary | |
|---|---|
void |
add(ChartEntity entity)
Adds an entity to the collection. |
void |
addAll(EntityCollection collection)
Adds the entities from another collection to this collection. |
void |
clear()
Clears all entities. |
java.util.Collection |
getEntities()
Returns the entities in an unmodifiable collection. |
ChartEntity |
getEntity(double x,
double y)
Returns an entity whose area contains the specified point. |
ChartEntity |
getEntity(int index)
Returns an entity from the collection. |
int |
getEntityCount()
Returns the entity count. |
java.util.Iterator |
iterator()
Returns an iterator for the entities in the collection. |
| Method Detail |
|---|
void clear()
void add(ChartEntity entity)
entity - the entity (null not permitted).void addAll(EntityCollection collection)
collection - the other collection.
ChartEntity getEntity(double x,
double y)
x - the x coordinate.y - the y coordinate.
ChartEntity getEntity(int index)
index - the index (zero-based).
int getEntityCount()
java.util.Collection getEntities()
java.util.Iterator iterator()
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||