|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.uninstaller.UninstallerFrame.DestroyerHandler
private final class UninstallerFrame.DestroyerHandler
The destroyer handler.
This class also implements the InstallListener because the FileExecutor needs it. TODO: get rid of the InstallListener - implement generic Listener
| Field Summary |
|---|
| Fields inherited from interface com.izforge.izpack.util.AbstractUIHandler |
|---|
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL |
| Constructor Summary | |
|---|---|
private |
UninstallerFrame.DestroyerHandler()
|
| Method Summary | |
|---|---|
int |
askQuestion(java.lang.String title,
java.lang.String question,
int choices)
Ask the user a question. |
int |
askQuestion(java.lang.String title,
java.lang.String question,
int choices,
int default_choice)
Ask the user a question. |
void |
emitError(java.lang.String title,
java.lang.String error)
The destroyer encountered an error. |
void |
emitErrorAndBlockNext(java.lang.String title,
java.lang.String error)
The destroyer encountered an error. |
void |
emitNotification(java.lang.String text)
Output a notification. |
boolean |
emitWarning(java.lang.String title,
java.lang.String text)
Output a warning. |
void |
nextStep(java.lang.String step_name,
int step_no,
int no_of_substeps)
The next step starts. |
void |
progress(int pos,
java.lang.String message)
The destroyer progresses. |
void |
setSubStepNo(int no_of_substeps)
Set the number of substeps. |
void |
startAction(java.lang.String name,
int max)
The destroyer starts. |
void |
stopAction()
The destroyer stops. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private UninstallerFrame.DestroyerHandler()
| Method Detail |
|---|
public void startAction(java.lang.String name,
int max)
startAction in interface AbstractUIProgressHandlername - The name of the overall action. Not used here.max - The maximum value of the progress.public void stopAction()
stopAction in interface AbstractUIProgressHandler
public void progress(int pos,
java.lang.String message)
progress in interface AbstractUIProgressHandlerpos - The actual position.message - The message.
public void nextStep(java.lang.String step_name,
int step_no,
int no_of_substeps)
nextStep in interface AbstractUIProgressHandlerstep_name - The name of the step which starts now.step_no - The number of the step.no_of_substeps - The number of sub-steps this step consists of.public void setSubStepNo(int no_of_substeps)
setSubStepNo in interface AbstractUIProgressHandlerno_of_substeps - The number of substeps.public void emitNotification(java.lang.String text)
emitNotification in interface AbstractUIHandlertext -
public boolean emitWarning(java.lang.String title,
java.lang.String text)
emitWarning in interface AbstractUIHandlertext - title - The message title (used for dialog name, might not be displayed)
public void emitError(java.lang.String title,
java.lang.String error)
emitError in interface AbstractUIHandlererror - The error message.title - The message title (used for dialog name, might not be displayed)
public void emitErrorAndBlockNext(java.lang.String title,
java.lang.String error)
emitErrorAndBlockNext in interface AbstractUIHandlererror - The error message.title - The message title (used for dialog name, might not be displayed)
public int askQuestion(java.lang.String title,
java.lang.String question,
int choices)
askQuestion in interface AbstractUIHandlertitle - Message title.question - The question.choices - The set of choices to present.
AbstractUIHandler.askQuestion(String, String, int)
public int askQuestion(java.lang.String title,
java.lang.String question,
int choices,
int default_choice)
askQuestion in interface AbstractUIHandlertitle - Message title.question - The question.choices - The set of choices to present.default_choice - The default choice. (-1 = no default choice)
AbstractUIHandler.askQuestion(String, String, int, int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||