|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.userinput.DelegatingPrompt
public class DelegatingPrompt
Implementation of Prompt that delegates all requests to another prompt.
The underlying prompt may be switched.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.izforge.izpack.api.handler.Prompt |
|---|
Prompt.Option, Prompt.Options, Prompt.Type |
| Constructor Summary | |
|---|---|
DelegatingPrompt(Prompt prompt)
Constructs a DelegatingPrompt. |
|
| Method Summary | |
|---|---|
Prompt.Option |
confirm(Prompt.Type type,
String message,
Prompt.Options options)
Displays a confirmation message. |
Prompt.Option |
confirm(Prompt.Type type,
String message,
Prompt.Options options,
Prompt.Option defaultOption)
Displays a confirmation message. |
Prompt.Option |
confirm(Prompt.Type type,
String title,
String message,
Prompt.Options options)
Displays a confirmation message. |
Prompt.Option |
confirm(Prompt.Type type,
String title,
String message,
Prompt.Options options,
Prompt.Option defaultOption)
Displays a confirmation message. |
void |
error(String message)
|
void |
error(String title,
String message)
|
void |
error(String title,
String message,
Throwable throwable)
|
void |
error(String message,
Throwable throwable)
|
void |
error(Throwable throwable)
|
void |
message(Prompt.Type type,
String message)
|
void |
message(Prompt.Type type,
String title,
String message)
|
void |
message(Prompt.Type type,
String title,
String message,
Throwable throwable)
|
void |
message(Throwable throwable)
|
void |
setPrompt(Prompt prompt)
Registers the prompt to delegate to. |
void |
warn(String message)
|
void |
warn(String title,
String message)
|
void |
warn(Throwable throwable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingPrompt(Prompt prompt)
DelegatingPrompt.
prompt - the prompt to delegate to| Method Detail |
|---|
public void setPrompt(Prompt prompt)
prompt - the promptpublic void message(Throwable throwable)
message in interface Prompt
public void message(Prompt.Type type,
String message)
message in interface Prompt
public void message(Prompt.Type type,
String title,
String message)
message in interface Prompt
public void message(Prompt.Type type,
String title,
String message,
Throwable throwable)
message in interface Promptpublic void error(Throwable throwable)
error in interface Prompt
public void error(String message,
Throwable throwable)
error in interface Prompt
public void error(String title,
String message,
Throwable throwable)
error in interface Promptpublic void warn(Throwable throwable)
warn in interface Promptpublic void warn(String message)
warn in interface Prompt
public void warn(String title,
String message)
warn in interface Promptpublic void error(String message)
error in interface Prompt
public void error(String title,
String message)
error in interface Prompt
public Prompt.Option confirm(Prompt.Type type,
String message,
Prompt.Options options)
confirm in interface Prompttype - the type of the messagemessage - the messageoptions - the options which may be selected
public Prompt.Option confirm(Prompt.Type type,
String message,
Prompt.Options options,
Prompt.Option defaultOption)
confirm in interface Prompttype - the type of the messagemessage - the messageoptions - the options which may be selecteddefaultOption - the default option to select
public Prompt.Option confirm(Prompt.Type type,
String title,
String message,
Prompt.Options options)
confirm in interface Prompttype - the type of the messagetitle - the message title. May be nullmessage - the messageoptions - the options which may be selected
public Prompt.Option confirm(Prompt.Type type,
String title,
String message,
Prompt.Options options,
Prompt.Option defaultOption)
confirm in interface Prompttype - the type of the messagetitle - the message title. May be nullmessage - the messageoptions - the options which may be selecteddefaultOption - the default option to select
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||