public class

ProgressDialog

extends Dialog
java.lang.Object
   ↳ com.neomades.ui.dialog.Dialog
     ↳ com.neomades.ui.dialog.ProgressDialog

Class Overview

A progress dialog has a title, a message, an a progress bar. Used to provide a loading screen. *

Summary

Public Constructors
ProgressDialog()
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
From class java.lang.Object

Public Constructors

public ProgressDialog ()

Public Methods

public void setMessage (String message)

Sets the message that will be displayed by this dialog

Parameters
message the message

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