|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.event.ProgressNotifiersImpl
public class ProgressNotifiersImpl
Implementation of the ProgressNotifiers interface.
| Constructor Summary | |
|---|---|
ProgressNotifiersImpl()
|
|
| Method Summary | |
|---|---|
void |
addNotifier(InstallerListener listener)
Adds a listener that may notify a ProgressListener. |
int |
getNotifiers()
Returns the count of registered listeners that may perform notification. |
int |
indexOf(InstallerListener listener)
Returns the index of the specified listener. |
boolean |
notifyProgress()
Determines if listeners should notify an ProgressListener. |
void |
setNotifyProgress(boolean notify)
Determines if listeners should notify an ProgressListener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressNotifiersImpl()
| Method Detail |
|---|
public void addNotifier(InstallerListener listener)
ProgressListener.
addNotifier in interface ProgressNotifierslistener - the listenerpublic int indexOf(InstallerListener listener)
indexOf in interface ProgressNotifierslistener - the listener
-1 if it is not registeredpublic void setNotifyProgress(boolean notify)
ProgressListener.
setNotifyProgress in interface ProgressNotifiersnotify - if true, notify the ProgressListenerpublic boolean notifyProgress()
ProgressListener.
notifyProgress in interface ProgressNotifierstrue if the ProgressListener should be notifiedpublic int getNotifiers()
getNotifiers in interface ProgressNotifiers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||