Package de.intarsys.cwt.image
Class ImageEntry
- java.lang.Object
-
- de.intarsys.cwt.image.ImageEntry
-
- All Implemented Interfaces:
IImage,IImageEntry,de.intarsys.tools.attribute.IAttributeSupport
- Direct Known Subclasses:
ImageIOImageEntry
public abstract class ImageEntry extends java.lang.Object implements IImageEntry
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedImageEntry(IImageContainer container)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetAttribute(java.lang.Object key)IImageContainergetContainer()protected IImagegetDelegate()protected abstract IImagegetErrorImage(java.lang.Exception e)intgetHeight()intgetWidth()protected abstract IImageloadContent()java.lang.ObjectremoveAttribute(java.lang.Object key)java.lang.ObjectsetAttribute(java.lang.Object key, java.lang.Object o)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.intarsys.cwt.image.IImage
drawFromGraphicsContext
-
Methods inherited from interface de.intarsys.cwt.image.IImageEntry
getIndex
-
-
-
-
Constructor Detail
-
ImageEntry
protected ImageEntry(IImageContainer container)
-
-
Method Detail
-
getAttribute
public java.lang.Object getAttribute(java.lang.Object key)
- Specified by:
getAttributein interfacede.intarsys.tools.attribute.IAttributeSupport
-
getContainer
public IImageContainer getContainer()
- Specified by:
getContainerin interfaceIImageEntry
-
getDelegate
protected IImage getDelegate()
-
getErrorImage
protected abstract IImage getErrorImage(java.lang.Exception e)
-
loadContent
protected abstract IImage loadContent() throws java.io.IOException
- Throws:
java.io.IOException
-
removeAttribute
public java.lang.Object removeAttribute(java.lang.Object key)
- Specified by:
removeAttributein interfacede.intarsys.tools.attribute.IAttributeSupport
-
setAttribute
public java.lang.Object setAttribute(java.lang.Object key, java.lang.Object o)- Specified by:
setAttributein interfacede.intarsys.tools.attribute.IAttributeSupport
-
-