JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
jarmos.app.ProgressDialogWrapper Class Reference

Helper class for progress dialogs on android platforms. More...

Inheritance diagram for jarmos.app.ProgressDialogWrapper:
jarmos.util.IProgressReporter

Public Member Functions

 ProgressDialogWrapper (Activity activity)
 Creates a new ProgressDialogWrapper that wraps an Android ProgressDialog into the JaRMoS IProgressReporter interface. More...
 
void handleMessage (Message msg)
 Handles the messages created in the IProgressReporter methods in the thread owning the ProgressDialog. More...
 
void setMessage (String msg)
 
void progress (int value)
 
void init (String title, int total)
 
void finish ()
 

Package Attributes

ProgressDialog pd
 

Detailed Description

Helper class for progress dialogs on android platforms.

Author
Daniel Wirtz

Definition at line 15 of file ProgressDialogWrapper.java.

Constructor & Destructor Documentation

jarmos.app.ProgressDialogWrapper.ProgressDialogWrapper ( Activity  activity)

Creates a new ProgressDialogWrapper that wraps an Android ProgressDialog into the JaRMoS IProgressReporter interface.

Parameters
pdThe ProgressDialog to wrap into an IProgressReporter

Definition at line 26 of file ProgressDialogWrapper.java.

Member Function Documentation

void jarmos.app.ProgressDialogWrapper.finish ( )

Implements jarmos.util.IProgressReporter.

Definition at line 93 of file ProgressDialogWrapper.java.

void jarmos.app.ProgressDialogWrapper.handleMessage ( Message  msg)

Handles the messages created in the IProgressReporter methods in the thread owning the ProgressDialog.

Definition at line 36 of file ProgressDialogWrapper.java.

void jarmos.app.ProgressDialogWrapper.init ( String  title,
int  total 
)

Implements jarmos.util.IProgressReporter.

Definition at line 83 of file ProgressDialogWrapper.java.

void jarmos.app.ProgressDialogWrapper.progress ( int  value)

Implements jarmos.util.IProgressReporter.

Definition at line 73 of file ProgressDialogWrapper.java.

void jarmos.app.ProgressDialogWrapper.setMessage ( String  msg)
Parameters
msg

Implements jarmos.util.IProgressReporter.

Definition at line 63 of file ProgressDialogWrapper.java.

Member Data Documentation

ProgressDialog jarmos.app.ProgressDialogWrapper.pd
package

Definition at line 17 of file ProgressDialogWrapper.java.


The documentation for this class was generated from the following file: