|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.entity.StandardEntityCollection
A standard implementation of the EntityCollection interface.
| Constructor Summary | |
StandardEntityCollection()
Constructs a new entity collection (initially empty). |
|
| Method Summary | |
void |
addEntities(EntityCollection collection)
Adds all the entities from the specified collection. |
void |
addEntity(ChartEntity entity)
Adds an entity. |
void |
clear()
Clears the entities. |
java.lang.Object |
clone()
Returns a clone. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object. |
java.util.Collection |
getEntities()
Returns the entities in an unmodifiable collection. |
ChartEntity |
getEntity(double x,
double y)
Returns an entity for the specified coordinates. |
java.util.Iterator |
iterator()
Returns an iterator for the entities in the collection. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardEntityCollection()
| Method Detail |
public void clear()
clear in interface EntityCollectionpublic void addEntity(ChartEntity entity)
addEntity in interface EntityCollectionentity - the entity.public void addEntities(EntityCollection collection)
addEntities in interface EntityCollectioncollection - the collection of entities.
public ChartEntity getEntity(double x,
double y)
getEntity in interface EntityCollectionx - the x coordinate.y - the y coordinate.
public java.util.Collection getEntities()
getEntities in interface EntityCollectionpublic java.util.Iterator iterator()
iterator in interface EntityCollectionpublic boolean equals(java.lang.Object obj)
obj - the object to test against (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - if the object cannot be cloned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||