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

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.imagemap.AbstractImageMapEntry
All Implemented Interfaces:
Serializable, ImageMapEntry
Direct Known Subclasses:
CircleImageMapEntry, DefaultImageMapEntry, PolygonImageMapEntry, RectangleImageMapEntry

public abstract class AbstractImageMapEntry
extends Object
implements ImageMapEntry

Todo: Document me!

Date: 25.02.2010 Time: 19:40:08

Author:
Thomas Morgner.
See Also:
Serialized Form

Method Summary
 boolean contains(float x, float y)
           
 String getAttribute(String namespace, String name)
           
 Object getFirstAttribute(String name)
           
 String[] getNames(String namespace)
           
 String[] getNameSpaces()
           
 void setAttribute(String namespace, String name, String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.imagemap.ImageMapEntry
getAreaCoordinates, getAreaType, getShape
 

Method Detail

getAttribute

public String getAttribute(String namespace,
                           String name)
Specified by:
getAttribute in interface ImageMapEntry

setAttribute

public void setAttribute(String namespace,
                         String name,
                         String value)

getNames

public String[] getNames(String namespace)
Specified by:
getNames in interface ImageMapEntry

getNameSpaces

public String[] getNameSpaces()
Specified by:
getNameSpaces in interface ImageMapEntry

getFirstAttribute

public Object getFirstAttribute(String name)

contains

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

toString

public String toString()
Overrides:
toString in class Object