Class Overview
A dialog showing a infinite progress indicator (or wait indicator).
A dialog could have a title and/or a message (optional).
Summary
Public Constructors |
|
WaitDialog()
Constructs a wait dialog.
|
Public Methods |
void
|
setMessage(String message)
Sets the message that will be displayed by this dialog
|
void
|
setMessage(int resId)
Sets the message that will be displayed by this dialog
|
[Expand]
Inherited Methods |
From class
com.neomades.ui.dialog.Dialog
void
|
hide()
Hides this dialog (if shown).
|
boolean
|
isShown()
|
void
|
setCancellable(boolean cancellable)
Sets if the dialog is cancellable with the BACK button.
|
void
|
setContent(View content)
Set content of the dialog.
|
void
|
setTitle(String title)
Sets the title of this dialog
|
void
|
setTitle(int resId)
Sets the title of this dialog
|
void
|
show()
Shows this dialog in top of the current screen.
|
|
From class
java.lang.Object
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
final
Class<?>
|
getClass()
Returns the runtime class of an object.
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long timeout, int nanos)
Causes current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or some other
thread interrupts the current thread, or a certain amount of real time has
elapsed.
|
final
void
|
wait(long timeout)
Causes current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a specified
amount of time has elapsed.
|
final
void
|
wait()
Causes current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
|
Public Constructors
public
WaitDialog
()
Constructs a wait dialog. (Without title and message).
Public Methods
public
void
setMessage
(String message)
Sets the message that will be displayed by this dialog
public
void
setMessage
(int resId)
Sets the message that will be displayed by this dialog
Parameters
resId |
the id of the message
|