Package org.jfree.chart.block
Class BlockResult
- java.lang.Object
-
- org.jfree.chart.block.BlockResult
-
- All Implemented Interfaces:
EntityBlockResult
public class BlockResult extends java.lang.Object implements EntityBlockResult
Used to return results from the draw() method in theBlockclass.
-
-
Field Summary
Fields Modifier and Type Field Description private EntityCollectionentitiesThe entities from the block.
-
Constructor Summary
Constructors Constructor Description BlockResult()Creates a new result instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityCollectiongetEntityCollection()Returns the collection of entities from the block.voidsetEntityCollection(EntityCollection entities)Sets the entities for the block.
-
-
-
Field Detail
-
entities
private EntityCollection entities
The entities from the block.
-
-
Method Detail
-
getEntityCollection
public EntityCollection getEntityCollection()
Returns the collection of entities from the block.- Specified by:
getEntityCollectionin interfaceEntityBlockResult- Returns:
- The entities.
-
setEntityCollection
public void setEntityCollection(EntityCollection entities)
Sets the entities for the block.- Parameters:
entities- the entities.
-
-