biouml.standard.type
Class ImageDescriptor
java.lang.Object
|
+--com.beanexplorer.swing.table.Option
|
+--biouml.standard.type.ImageDescriptor
- public class ImageDescriptor
- extends Option
- implements ImageObserver
| Methods inherited from class com.beanexplorer.swing.table.Option |
setParent, getParent, addPropertyChangeListener, removePropertyChangeListener, copyListenersTo |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
DEFAULT_ORIGINAL_SIZE
public final static Dimension DEFAULT_ORIGINAL_SIZE
ImageDescriptor
public ImageDescriptor(String source, Dimension size)
ImageDescriptor
public ImageDescriptor(String source)
ImageDescriptor
public ImageDescriptor()
- Creates emty image.
getImage
public Image getImage()
getOriginalSize
public Dimension getOriginalSize()
getSize
public Dimension getSize()
getSource
public String getSource()
imageUpdate
public boolean imageUpdate(Image img, int info, int x, int y, int width, int height)
- Implements the image observer interface.
setSize
public void setSize(Dimension size)
setSource
public void setSource(String source)
to Class java.awt.Component
to Class java.awt.MediaTracker
to Class java.awt.Dimension
to Class java.lang.String
- The image source.
Generally it should be name of image file.
to Class java.awt.Dimension
- The image size.
to Class java.awt.Dimension
- Original size of the image.
to Class java.awt.Image
BOTTOM