org.hdtourist.view.utils
Class SpinnerProgressDialog

java.lang.Object
  extended by org.hdtourist.view.utils.IProgress
      extended by org.hdtourist.view.utils.SpinnerProgressDialog
Direct Known Subclasses:
BarProgressDialog

public class SpinnerProgressDialog
extends IProgress

The Class SpinnerProgressDialog.


Field Summary
protected  android.app.ProgressDialog INSTANCE
          The instance.
private  int numProcesos
          The num procesos.
private  int numProcesosPendientes
          The num procesos pendientes.
 
Constructor Summary
SpinnerProgressDialog(android.content.Context context)
          Instantiates a new spinner progress dialog.
 
Method Summary
 void forzarNotificacion()
          Forzar notificacion.
 int getNumProcesos()
          Gets the num procesos.
protected  int getNumProcesosPendientes()
          Gets the num procesos pendientes.
 boolean isShowing()
          Checks if is showing.
 void notifica()
          Notifica.
private  void reset()
          Reset.
 void setErrorProceso()
          Fija el error proceso.
 void setFinProceso()
          Fija el fin proceso.
 void setIcono(int id)
          Sets the icono.
 void setId(int ID)
          Sets the id.
 void setInicioProceso()
          Fija el inicio proceso.
 void setNumProcesos(int numProcesos)
          Sets the num procesos.
 void setProgresoProceso(int progresoActual)
          Sets the progreso proceso.
protected  void setStyle()
          Fija el style.
 void setTexto(java.lang.String texto)
          Sets the texto.
 void setTitulo(java.lang.String title)
          Sets the titulo.
 
Methods inherited from class org.hdtourist.view.utils.IProgress
calcularProgreso
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numProcesos

private int numProcesos
The num procesos.


numProcesosPendientes

private int numProcesosPendientes
The num procesos pendientes.


INSTANCE

protected android.app.ProgressDialog INSTANCE
The instance.

Constructor Detail

SpinnerProgressDialog

public SpinnerProgressDialog(android.content.Context context)
Instantiates a new spinner progress dialog.

Parameters:
context - the context
Method Detail

forzarNotificacion

public void forzarNotificacion()
Description copied from class: IProgress
Forzar notificacion.

Specified by:
forzarNotificacion in class IProgress

getNumProcesos

public int getNumProcesos()
Description copied from class: IProgress
Gets the num procesos.

Specified by:
getNumProcesos in class IProgress
Returns:
the num procesos

isShowing

public boolean isShowing()
Description copied from class: IProgress
Checks if is showing.

Specified by:
isShowing in class IProgress
Returns:
true, if is showing

notifica

public void notifica()
Description copied from class: IProgress
Notifica.

Specified by:
notifica in class IProgress

setErrorProceso

public void setErrorProceso()
Description copied from class: IProgress
Fija el error proceso.

Specified by:
setErrorProceso in class IProgress

setFinProceso

public void setFinProceso()
Description copied from class: IProgress
Fija el fin proceso.

Specified by:
setFinProceso in class IProgress

setIcono

public void setIcono(int id)
Description copied from class: IProgress
Sets the icono.

Specified by:
setIcono in class IProgress
Parameters:
id - the new icono

setId

public void setId(int ID)
Description copied from class: IProgress
Sets the id.

Specified by:
setId in class IProgress
Parameters:
ID - the new id

setInicioProceso

public void setInicioProceso()
Description copied from class: IProgress
Fija el inicio proceso.

Specified by:
setInicioProceso in class IProgress

setNumProcesos

public void setNumProcesos(int numProcesos)
Description copied from class: IProgress
Sets the num procesos.

Specified by:
setNumProcesos in class IProgress
Parameters:
numProcesos - the new num procesos

setProgresoProceso

public void setProgresoProceso(int progresoActual)
Description copied from class: IProgress
Sets the progreso proceso.

Specified by:
setProgresoProceso in class IProgress
Parameters:
progresoActual - the new progreso proceso

setTexto

public void setTexto(java.lang.String texto)
Description copied from class: IProgress
Sets the texto.

Specified by:
setTexto in class IProgress
Parameters:
texto - the new texto

setTitulo

public void setTitulo(java.lang.String title)
Description copied from class: IProgress
Sets the titulo.

Specified by:
setTitulo in class IProgress
Parameters:
title - the new titulo

reset

private void reset()
Reset.


getNumProcesosPendientes

protected int getNumProcesosPendientes()
Description copied from class: IProgress
Gets the num procesos pendientes.

Specified by:
getNumProcesosPendientes in class IProgress
Returns:
the num procesos pendientes

setStyle

protected void setStyle()
Fija el style.