Together Workflow Editor 3.0-1 API

org.enhydra.jawe
Class CombinedIcon

java.lang.Object
  extended byjavax.swing.ImageIcon
      extended byorg.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 Class Summary
 
Nested classes 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()

getIconHeight

public int getIconHeight()

paintIcon

public void paintIcon(java.awt.Component c,
                      java.awt.Graphics g,
                      int x,
                      int y)

Together Workflow Editor 3.0-1 API