Class Overview
A progress dialog has a title, a message, an a progress bar. Used to provide
a loading screen.
*
Summary
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
|
void
|
setProgressValue(int percent)
Sets the value of the progress bar.
|
[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 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
|
public
void
setProgressValue
(int percent)
Sets the value of the progress bar. This value must be between 0 and 100.
Parameters
percent |
the new value of the progress bar
|