com.japisoft.framework.ui
Class ImageIconProxy
java.lang.Object
javax.swing.ImageIcon
com.japisoft.framework.ui.ImageIconProxy
- All Implemented Interfaces:
- javax.accessibility.Accessible, javax.swing.Icon, java.io.Serializable
- public class ImageIconProxy
- extends javax.swing.ImageIcon
ImageIcon working with two icons than can be superposed for
drawing various elements : errors, warning ...
- Author:
- A.Brillant
- See Also:
- Serialized Form
| Nested classes inherited from class javax.swing.ImageIcon |
javax.swing.ImageIcon.AccessibleImageIcon |
| Fields inherited from class javax.swing.ImageIcon |
component, tracker |
|
Constructor Summary |
ImageIconProxy(javax.swing.ImageIcon rootIcon)
Main icon |
ImageIconProxy(javax.swing.ImageIcon rootIcon,
int x,
int y,
javax.swing.ImageIcon overridingIcon)
Main icon and a secondary one more little that will be drawn on the main one |
| Methods inherited from class javax.swing.ImageIcon |
getAccessibleContext, getDescription, loadImage, setDescription, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
activeOverringImage
public boolean activeOverringImage
ImageIconProxy
public ImageIconProxy(javax.swing.ImageIcon rootIcon)
- Main icon
ImageIconProxy
public ImageIconProxy(javax.swing.ImageIcon rootIcon,
int x,
int y,
javax.swing.ImageIcon overridingIcon)
- Main icon and a secondary one more little that will be drawn on the main one
- Parameters:
rootIcon - the main iconx - the location of the second oneoverridingIcon - the second one
setOverridingIcon
public void setOverridingIcon(int x,
int y,
javax.swing.ImageIcon overridingIcon)
getIconHeight
public int getIconHeight()
getIconWidth
public int getIconWidth()
getImage
public java.awt.Image getImage()
getImageLoadStatus
public int getImageLoadStatus()
getImageObserver
public java.awt.image.ImageObserver getImageObserver()
paintIcon
public void paintIcon(java.awt.Component arg0,
java.awt.Graphics arg1,
int x,
int y)
setImage
public void setImage(java.awt.Image arg0)
setImageObserver
public void setImageObserver(java.awt.image.ImageObserver arg0)
main
public static void main(java.lang.String[] args)