java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.pf.ui.ImageAdapter
- All Implemented Interfaces:
Icon
,IconSource
,Manageable
,Shareable
- Direct Known Subclasses:
FixedImageAdapter
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BufferedImage
getImage()
getImage
(int w, int h) abstract BufferedImage
getPreferredIconSize
(boolean small) void
paintIcon
(Component c, Graphics2D g, int x, int y, int w, int h, int state) void
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
-
Field Details
-
$TYPE
-
-
Constructor Details
-
ImageAdapter
protected ImageAdapter()
-
-
Method Details
-
getBufferedImage
-
getNativeImage
-
getImage
-
getIcon
- Specified by:
getIcon
in interfaceIconSource
-
getPreferredIconSize
- Specified by:
getPreferredIconSize
in interfaceIconSource
-
paintIcon
-
getImage
-
prepareIcon
public void prepareIcon()- Specified by:
prepareIcon
in interfaceIcon
-
getIconSource
- Specified by:
getIconSource
in interfaceIcon
-
getImageSource
- Specified by:
getImageSource
in interfaceIcon
-
getIconBounds
- Specified by:
getIconBounds
in interfaceIcon
-