public class ProgressDialogUI
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProgressDialogUI.Builder
Java builder pattern class used to build ProgressDialogUI instance.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_JUMP_PROGRESS_SIZE |
static int |
DEFAULT_MAX_PROGRESS_SIZE |
| Modifier and Type | Method and Description |
|---|---|
int |
getJumpSize() |
int |
getMax()
Return the max value of the progress dialog.
|
int |
getMaxSize() |
android.app.ProgressDialog |
getProgressDialog()
Retrieve the android.app.ProgressDialog instance of the object.
|
void |
incrementProgress()
Update the progress bar value adding default increment.
|
void |
incrementProgressBy(int increment)
Update the progress bar value adding the value passed.
|
boolean |
isShowing()
To know if the dialog is showing
|
void |
setMax(int maxProgress)
Set the max value of the progress dialog.
|
void |
setMessage(java.lang.String message)
Update the message to show in the progress dialog.
|
void |
setProgress(int progress)
Reset the progress value of the progress dialog.
|
void |
setTitle(java.lang.String title)
Update the title of the progress dialog.
|
void |
show()
Show the dialog.
|
public static final int DEFAULT_JUMP_PROGRESS_SIZE
public static final int DEFAULT_MAX_PROGRESS_SIZE
public int getJumpSize()
public int getMax()
public int getMaxSize()
public android.app.ProgressDialog getProgressDialog()
public void incrementProgress()
public void incrementProgressBy(int increment)
increment - the increment.public boolean isShowing()
public void setMax(int maxProgress)
maxProgress - max value.public void setMessage(java.lang.String message)
message - the string message.public void setProgress(int progress)
progress - value to set.public void setTitle(java.lang.String title)
title - the string to set as title.public void show()