Spinner
Last updated
Last updated
Spinner is a control that shows an image indicating that something is running in the background. It has two styles: iPhone and Android.
Type
Name
Description
Constructor
Spinner( )
Creates a simple Spinner
Constructor
Spinner(Image anim)
Creates a spinner from an animated GIF
Constructor
Spinner(int type)
Creates a spinner of the given type
boolean
isRunning( )
Returns if the spin is running
void
setImage(Image anim)
Changes the gif image of this Spinner
void
setType(int t)
Changes the Spinner to one of the predefined types
void
start( )
Starts the spinning thread
void
stop( )
Stops the spinning thread
void
update( )
Updates the spinner; call this when using the spinner inside a loop
See also our quick tutorial video showing how to use Spinner.
See the JavaDocs for more information.