|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.ImageIcon net.sf.magicproject.ui.wizard.WizardImageIcon
public class WizardImageIcon
Field Summary | |
---|---|
static int |
CARD_ICON_HEIGHT
The height of displayed icon. |
static int |
CARD_ICON_WIDTH
The width of displayed icon. |
static float |
VALUE_ALPHA_COMPOSITE
The alpha composite of background |
Constructor Summary | |
---|---|
WizardImageIcon(java.awt.Image cardImage,
java.lang.String iconName)
Create a new instance of this class. |
|
WizardImageIcon(MCard card,
java.lang.String iconName)
Create a new instance of this class. |
Method Summary | |
---|---|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
void |
setCard(MCard card)
Set the card to display in this panel. |
Methods inherited from class javax.swing.ImageIcon |
---|
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, setDescription, setImage, setImageObserver, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CARD_ICON_WIDTH
public static final float VALUE_ALPHA_COMPOSITE
public static final int CARD_ICON_HEIGHT
Constructor Detail |
---|
public WizardImageIcon(MCard card, java.lang.String iconName)
card
- the card to display in this panel.iconName
- the back picture to display in this panel.public WizardImageIcon(java.awt.Image cardImage, java.lang.String iconName)
cardImage
- the image to display in this panel.iconName
- the back picture to display in this panel.Method Detail |
---|
public void setCard(MCard card)
card
- the card to display in this panel.public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
paintIcon
in class javax.swing.ImageIcon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |