org.enhydra.jawe
Class CombinedIcon
java.lang.Object
javax.swing.ImageIcon
org.enhydra.jawe.CombinedIcon
- All Implemented Interfaces:
- javax.accessibility.Accessible, javax.swing.Icon, java.io.Serializable
- public class CombinedIcon
- extends javax.swing.ImageIcon
- 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 |
CombinedIcon(javax.swing.Icon icon1,
javax.swing.Icon icon2)
|
CombinedIcon(javax.swing.Icon icon1,
javax.swing.Icon icon2,
int secondIconPos)
|
Methods inherited from class javax.swing.ImageIcon |
getAccessibleContext, getDescription, getImage, getImageLoadStatus, getImageObserver, loadImage, setDescription, setImage, setImageObserver, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
POS_BOTTOM_LEFT
public static final int POS_BOTTOM_LEFT
- See Also:
- Constant Field Values
POS_BOTTOM_RIGHT
public static final int POS_BOTTOM_RIGHT
- See Also:
- Constant Field Values
POS_TOP_LEFT
public static final int POS_TOP_LEFT
- See Also:
- Constant Field Values
POS_TOP_RIGHT
public static final int POS_TOP_RIGHT
- See Also:
- Constant Field Values
icon1
private final javax.swing.Icon icon1
icon2
private final javax.swing.Icon icon2
secondIconPos
private int secondIconPos
CombinedIcon
public CombinedIcon(javax.swing.Icon icon1,
javax.swing.Icon icon2)
CombinedIcon
public CombinedIcon(javax.swing.Icon icon1,
javax.swing.Icon icon2,
int secondIconPos)
getIconWidth
public int getIconWidth()
getIconHeight
public int getIconHeight()
paintIcon
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)