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 protected
ImageEntry(IImageContainer container)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getAttribute(java.lang.Object key)
IImageContainer
getContainer()
protected IImage
getDelegate()
protected abstract IImage
getErrorImage(java.lang.Exception e)
int
getHeight()
int
getWidth()
protected abstract IImage
loadContent()
java.lang.Object
removeAttribute(java.lang.Object key)
java.lang.Object
setAttribute(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:
getAttribute
in interfacede.intarsys.tools.attribute.IAttributeSupport
-
getContainer
public IImageContainer getContainer()
- Specified by:
getContainer
in 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:
removeAttribute
in interfacede.intarsys.tools.attribute.IAttributeSupport
-
setAttribute
public java.lang.Object setAttribute(java.lang.Object key, java.lang.Object o)
- Specified by:
setAttribute
in interfacede.intarsys.tools.attribute.IAttributeSupport
-
-