| |
|
| java.lang.Object com.jeta.forms.store.AbstractJETAPersistable com.jeta.forms.store.memento.IconMemento
IconMemento | public class IconMemento extends AbstractJETAPersistable implements Cloneable(Code) | | Represents a storable icon. This class takes the raw bytes from an image file
and puts them in a byte array. It then serializes the byte array. We don't
use ImageIcon because it does not guarantee compatibility with future JVMs.
author: Jeff Tassin |
Constructor Summary | |
public | IconMemento() Creates an unitialized IconMemento instance. | public | IconMemento(File f) Initializes this memento from an image file. |
VERSION | final public static int VERSION(Code) | | The version of this class
|
serialVersionUID | final static long serialVersionUID(Code) | | |
IconMemento | public IconMemento()(Code) | | Creates an unitialized IconMemento instance.
|
IconMemento | public IconMemento(File f)(Code) | | Initializes this memento from an image file.
|
getImageIcon | public ImageIcon getImageIcon()(Code) | | Returns an image icon based on the image data in this memento.
the image icon based on the image of this memento |
|
|
|