Together Workflow Editor 3.0-1 API

org.enhydra.jawe
Class CombinedIcon

java.lang.Object
  extended by javax.swing.ImageIcon
      extended by org.enhydra.jawe.CombinedIcon
All Implemented Interfaces:
java.io.Serializable, javax.accessibility.Accessible, javax.swing.Icon

public class CombinedIcon
extends javax.swing.ImageIcon

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.ImageIcon
javax.swing.ImageIcon.AccessibleImageIcon
 
Field Summary
private  javax.swing.Icon icon1
           
private  javax.swing.Icon icon2
           
static int POS_BOTTOM_LEFT
           
static int POS_BOTTOM_RIGHT
           
static int POS_TOP_LEFT
           
static int POS_TOP_RIGHT
           
private  int secondIconPos
           
 
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)
           
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 
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
 

Field Detail

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
Constructor Detail

CombinedIcon

public CombinedIcon(javax.swing.Icon icon1,
                    javax.swing.Icon icon2)

CombinedIcon

public CombinedIcon(javax.swing.Icon icon1,
                    javax.swing.Icon icon2,
                    int secondIconPos)
Method Detail

getIconWidth

public int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon
Overrides:
getIconWidth in class javax.swing.ImageIcon

getIconHeight

public int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon
Overrides:
getIconHeight in class javax.swing.ImageIcon

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)
Specified by:
paintIcon in interface javax.swing.Icon
Overrides:
paintIcon in class javax.swing.ImageIcon

Together Workflow Editor 3.0-1 API