public class SpinIcon
extends java.lang.Object
implements javax.swing.Icon
Modifier and Type | Class and Description |
---|---|
static class |
SpinIcon.Type |
Modifier and Type | Field and Description |
---|---|
static SpinIcon.Type |
TypeDown |
static SpinIcon.Type |
TypeLeft |
static SpinIcon.Type |
TypeRight |
static SpinIcon.Type |
TypeUp |
Constructor and Description |
---|
SpinIcon(SpinIcon.Type type) |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
stubbed to satisfy the interface.
|
int |
getIconWidth()
stubbed to satisfy the interface.
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public static final SpinIcon.Type TypeUp
public static final SpinIcon.Type TypeDown
public static final SpinIcon.Type TypeRight
public static final SpinIcon.Type TypeLeft
public SpinIcon(SpinIcon.Type type)
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