public class AlertIcon
extends java.lang.Object
implements javax.swing.Icon
Constructor and Description |
---|
AlertIcon(javax.swing.Icon icon) |
AlertIcon(javax.swing.Icon icon,
int VShift,
int HShift) |
Modifier and Type | Method and Description |
---|---|
int |
getHShift() |
javax.swing.Icon |
getIcon() |
int |
getIconHeight() |
int |
getIconWidth() |
int |
getVShift() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public AlertIcon(javax.swing.Icon icon)
public AlertIcon(javax.swing.Icon icon, int VShift, int HShift)
public javax.swing.Icon getIcon()
public int getVShift()
public int getHShift()
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon