org.hdtourist.view.utils
Class IProgress

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

public abstract class IProgress
extends java.lang.Object

The Class IProgress.


Constructor Summary
IProgress()
           
 
Method Summary
protected  int calcularProgreso(int progresoActual)
          Calcular progreso.
abstract  void forzarNotificacion()
          Forzar notificacion.
abstract  int getNumProcesos()
          Gets the num procesos.
protected abstract  int getNumProcesosPendientes()
          Gets the num procesos pendientes.
abstract  boolean isShowing()
          Checks if is showing.
abstract  void notifica()
          Notifica.
abstract  void setErrorProceso()
          Fija el error proceso.
abstract  void setFinProceso()
          Fija el fin proceso.
abstract  void setIcono(int id)
          Sets the icono.
abstract  void setId(int ID)
          Sets the id.
abstract  void setInicioProceso()
          Fija el inicio proceso.
abstract  void setNumProcesos(int numProcesos)
          Sets the num procesos.
abstract  void setProgresoProceso(int progresoActual)
          Sets the progreso proceso.
abstract  void setTexto(java.lang.String texto)
          Sets the texto.
abstract  void setTitulo(java.lang.String title)
          Sets the titulo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IProgress

public IProgress()
Method Detail

forzarNotificacion

public abstract void forzarNotificacion()
Forzar notificacion.


getNumProcesos

public abstract int getNumProcesos()
Gets the num procesos.

Returns:
the num procesos

isShowing

public abstract boolean isShowing()
Checks if is showing.

Returns:
true, if is showing

notifica

public abstract void notifica()
Notifica.


setErrorProceso

public abstract void setErrorProceso()
Fija el error proceso.


setFinProceso

public abstract void setFinProceso()
Fija el fin proceso.


setIcono

public abstract void setIcono(int id)
Sets the icono.

Parameters:
id - the new icono

setId

public abstract void setId(int ID)
Sets the id.

Parameters:
ID - the new id

setInicioProceso

public abstract void setInicioProceso()
Fija el inicio proceso.


setNumProcesos

public abstract void setNumProcesos(int numProcesos)
Sets the num procesos.

Parameters:
numProcesos - the new num procesos

setProgresoProceso

public abstract void setProgresoProceso(int progresoActual)
Sets the progreso proceso.

Parameters:
progresoActual - the new progreso proceso

setTexto

public abstract void setTexto(java.lang.String texto)
Sets the texto.

Parameters:
texto - the new texto

setTitulo

public abstract void setTitulo(java.lang.String title)
Sets the titulo.

Parameters:
title - the new titulo

calcularProgreso

protected int calcularProgreso(int progresoActual)
Calcular progreso.

Parameters:
progresoActual - the progreso actual
Returns:
the int

getNumProcesosPendientes

protected abstract int getNumProcesosPendientes()
Gets the num procesos pendientes.

Returns:
the num procesos pendientes