Example usage for org.jfree.chart.entity CategoryItemEntity getArea

List of usage examples for org.jfree.chart.entity CategoryItemEntity getArea

Introduction

In this page you can find the example usage for org.jfree.chart.entity CategoryItemEntity getArea.

Prototype

public Shape getArea() 

Source Link

Document

Returns the area occupied by the entity (in Java 2D space).

Usage

From source file:net.sf.maltcms.common.charts.api.selection.DefaultSelectionShapeFactory.java

/**
 *
 * @param entity//from   ww w .  j a  v a  2s  .c  o m
 * @return
 */
@Override
public Shape createSelectionShape(CategoryItemEntity entity) {
    return entity.getArea();
}