public final class RotatingIcon
extends java.lang.Object
implements javax.swing.Icon
| Constructor and Description |
|---|
RotatingIcon(javax.swing.Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component component, java.awt.Graphics g, int xPos, int yPos) |
void |
setRotation(double theta) |
public void paintIcon(java.awt.Component component,
java.awt.Graphics g,
int xPos,
int yPos)
paintIcon in interface javax.swing.Iconpublic int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic void setRotation(double theta)