org.pentaho.reporting.engine.classic.core.imagemap
Class RectangleImageMapEntry

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.imagemap.AbstractImageMapEntry
      extended by org.pentaho.reporting.engine.classic.core.imagemap.RectangleImageMapEntry
All Implemented Interfaces:
Serializable, ImageMapEntry

public class RectangleImageMapEntry
extends AbstractImageMapEntry

Todo: Document me!

Date: 25.02.2010 Time: 19:47:00

Author:
Thomas Morgner.
See Also:
Serialized Form

Constructor Summary
RectangleImageMapEntry(float x1, float y1, float x2, float y2)
           
 
Method Summary
 boolean contains(float x, float y)
           
 float[] getAreaCoordinates()
           
 String getAreaType()
           
 Shape getShape()
           
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.imagemap.AbstractImageMapEntry
getAttribute, getFirstAttribute, getNames, getNameSpaces, setAttribute, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectangleImageMapEntry

public RectangleImageMapEntry(float x1,
                              float y1,
                              float x2,
                              float y2)
Method Detail

getAreaType

public String getAreaType()

getAreaCoordinates

public float[] getAreaCoordinates()

getShape

public Shape getShape()

contains

public boolean contains(float x,
                        float y)
Specified by:
contains in interface ImageMapEntry
Overrides:
contains in class AbstractImageMapEntry