com.antelmann.image
Class ImageURLEntry.Thumbnail<T extends ImageURLEntry>
java.lang.Object
com.antelmann.db.AbstractDBEntry
com.antelmann.db.PropertyEntryImpl
com.antelmann.db.EntryHeader<T>
com.antelmann.image.ImageURLEntry.Thumbnail<T>
- All Implemented Interfaces:
- DBEntry, DBReference, PropertyEntry, Imageable, DetailedString, Serializable
- Enclosing class:
- ImageURLEntry
public static class ImageURLEntry.Thumbnail<T extends ImageURLEntry>
- extends EntryHeader<T>
- implements Imageable
- See Also:
- Serialized Form
| Methods inherited from class com.antelmann.db.PropertyEntryImpl |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, asProperties, canRedo, canUndo, checkPropertyChange, clearProperties, containsPropertyText, containsValuePattern, equalWithProperties, equalWithProperties, getBoolean, getNumber, getProperties, getProperty, getProperty, getPropertyChangeListeners, getPropertyComparator, getPropertyExtractor, getPropertyExtractor, getPropertyKeys, getStringExtractor, getVetoableChangeListeners, isCaseInsensitive, isChangeListenerSupportEnabled, isKeyIn, isUndoSupport, isVetoableChangeSupportEnabled, putAll, redo, removeProperty, removePropertyChangeListener, removeVetoableChangeListener, setAllFrom, setCaseInsensitive, setChangeListenerSupport, setProperty, setUndoSupported, setVetoableChangeSupport, toDetailedString, undo, verifyProperties |
| Methods inherited from interface com.antelmann.db.DBEntry |
getID |
ImageURLEntry.Thumbnail
public ImageURLEntry.Thumbnail(Class<T> entryType,
Object id,
Image thumbnail,
URL url,
String display)
getThumbnail
public Image getThumbnail()
throws IOException
- Throws:
IOException
getDisplayImage
public Image getDisplayImage()
throws IOException
- Description copied from interface:
Imageable
- returns an image that represents a visual representation of this instance.
The method may return null;
- Specified by:
getDisplayImage in interface Imageable
- Throws:
IOException
getURL
public URL getURL()
toString
public String toString()
- Overrides:
toString in class EntryHeader<T extends ImageURLEntry>
getDisplayIcon
public Image getDisplayIcon()
throws IOException
- Description copied from interface:
Imageable
- returns an image that is suitable for use as an icon for this instance.
The method may return null;
- Specified by:
getDisplayIcon in interface Imageable
- Throws:
IOException
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads