Squiz Matrix
4.12.2
|
Public Member Functions | |
Spinner () | |
void | run () |
void | paint (Graphics g) |
Dimension | getMaximumSize () |
Dimension | getMinimumSize () |
Dimension | getPreferredSize () |
void | start () |
void | stop () |
boolean | isStarted () |
Static Public Attributes | |
static final String | SPINNER_ICON = "spinner.png" |
static final int | delay = 40 |
static final int | IMG_OFFSET = 15 |
A spinner primvides an animation to indicate that an operation in the system is currently progress. When not spinner, the spinner is in a stopped state and shows a stopped icon to indicate that no operation is in progress. The spinner image itself is a sequence of frames; the first being the stopped image and those preceeding it being the animation steps of the spinner.
Definition at line 33 of file Spinner.java.
|
inline |
|
inline |
Returns the maximum size of the spinner object
Definition at line 131 of file Spinner.java.
|
inline |
Returns the maximum size of the spinner object
Definition at line 139 of file Spinner.java.
|
inline |
Returns the preferred size of the spinner object
Definition at line 147 of file Spinner.java.
|
inline |
Returns TRUE is the spinner is current animating
Definition at line 184 of file Spinner.java.
|
inline |
Paints the component. there are no components to paint so we explicity paint the stopped spinner state when paint is called.
g | the graphics that we are paintint to |
Definition at line 118 of file Spinner.java.
|
inline |
The run method of this Thread.
Definition at line 87 of file Spinner.java.
|
inline |
Starts the animation of the spinner
Definition at line 156 of file Spinner.java.
|
inline |
Stops the animation of the spinner
Definition at line 169 of file Spinner.java.
|
static |
The delay between each animation operation
Definition at line 38 of file Spinner.java.
|
static |
The offset which each aniation frame occurs in the image
Definition at line 40 of file Spinner.java.
|
static |
The spinner icon
Definition at line 36 of file Spinner.java.