|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectabbot.editor.widgets.AnimatedIcon
abbot.editor.widgets.AbstractAnimatedIcon
abbot.editor.widgets.SpinningDial
public class SpinningDial
Provides a spinning disk of hash marks.
| Field Summary | |
|---|---|
static int |
SPIN_INTERVAL
This is a good delay between increasing the phase. |
| Constructor Summary | |
|---|---|
SpinningDial()
|
|
SpinningDial(int diameter)
Not recommended to go below 16 pixels. |
|
SpinningDial(int w,
int h)
Not recommended to go below 16x16. |
|
SpinningDial(int w,
int h,
int spokes)
|
|
| Method Summary | |
|---|---|
int |
getIconHeight()
|
int |
getIconWidth()
|
protected float |
getStrokeWidth(int size)
Set the stroke width according to the size. |
protected void |
paintFrame(Component c,
Graphics graphics,
int x,
int y)
Implement this method to paint the icon. |
String |
toString()
|
| Methods inherited from class abbot.editor.widgets.AbstractAnimatedIcon |
|---|
finalize, getFrame, getFrameCount, getFrameInterval, nextFrame, registerRepaintArea, setFrame, setFrameInterval |
| Methods inherited from class abbot.editor.widgets.AnimatedIcon |
|---|
isAnimated, paintIcon, repaint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SPIN_INTERVAL
| Constructor Detail |
|---|
public SpinningDial()
public SpinningDial(int diameter)
public SpinningDial(int w,
int h)
public SpinningDial(int w,
int h,
int spokes)
| Method Detail |
|---|
public int getIconHeight()
getIconHeight in interface IcongetIconHeight in class AbstractAnimatedIconpublic int getIconWidth()
getIconWidth in interface IcongetIconWidth in class AbstractAnimatedIconprotected float getStrokeWidth(int size)
protected void paintFrame(Component c,
Graphics graphics,
int x,
int y)
AbstractAnimatedIcon
paintFrame in class AbstractAnimatedIconpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||