net.sf.zekr.ui
Class ProgressForm

java.lang.Object
  extended by net.sf.zekr.ui.BaseForm
      extended by net.sf.zekr.ui.ProgressForm
All Implemented Interfaces:
EventProtocol

public class ProgressForm
extends BaseForm

A simple modal form, to show an SWT.INDETERMINATE progress bar.

Since:
Zekr 1.0
Author:
Mohsen Saboorian

Field Summary
static int CALCELED
           
static int FINISHED
           
static int PROGRESSING
           
 
Fields inherited from class net.sf.zekr.ui.BaseForm
display, lang, logger, parent, resource, shell
 
Fields inherited from interface net.sf.zekr.ui.helper.EventProtocol
CLEAR_CACHE_ON_EXIT, CUSTOM_ZEKR_EVENT, END_WAITING, GOTO_LOCATION, RECREATE_VIEW, REFRESH_VIEW, SPLASH_PROGRESS, SPLASH_PROGRESS_FULLY, UPDATE_BOOKMARKS_MENU, UPDATE_SURA_NAMES
 
Constructor Summary
ProgressForm(org.eclipse.swt.widgets.Shell parent, java.lang.String title, java.lang.String message)
           
 
Method Summary
 void close()
           
 void finish()
           
 org.eclipse.swt.widgets.Display getDisplay()
           
 org.eclipse.swt.widgets.Shell getShell()
           
 int getState()
           
 void init()
           
 void show()
           
 
Methods inherited from class net.sf.zekr.ui.BaseForm
isDisposed, loopEver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALCELED

public static final int CALCELED
See Also:
Constant Field Values

FINISHED

public static final int FINISHED
See Also:
Constant Field Values

PROGRESSING

public static final int PROGRESSING
See Also:
Constant Field Values
Constructor Detail

ProgressForm

public ProgressForm(org.eclipse.swt.widgets.Shell parent,
                    java.lang.String title,
                    java.lang.String message)
Method Detail

init

public void init()

show

public void show()
Overrides:
show in class BaseForm

getShell

public org.eclipse.swt.widgets.Shell getShell()

getState

public int getState()

getDisplay

public org.eclipse.swt.widgets.Display getDisplay()

finish

public void finish()

close

public void close()