public class BasicResizableIcon extends java.lang.Object implements org.pushingpixels.flamingo.api.common.icon.ResizableIcon
Constructor and Description |
---|
BasicResizableIcon() |
BasicResizableIcon(java.awt.Image image) |
BasicResizableIcon(javax.swing.ImageIcon srcIcon) |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
void |
setDimension(java.awt.Dimension dim) |
public BasicResizableIcon(java.awt.Image image)
public BasicResizableIcon(javax.swing.ImageIcon srcIcon)
public BasicResizableIcon()
public void setDimension(java.awt.Dimension dim)
setDimension
in interface org.pushingpixels.flamingo.api.common.icon.ResizableIcon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon