|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.core.security.BooleanCallback
public class BooleanCallback
Callback that handles Boolean types
| Constructor Summary | |
|---|---|
BooleanCallback(java.lang.String prompt)
Construct a BooleanCallback with a prompt. |
|
BooleanCallback(java.lang.String prompt,
boolean defaultValue)
Construct a NameCallback with a prompt and default name. |
|
| Method Summary | |
|---|---|
boolean |
getDefaultValue()
Get the default value. |
java.lang.String |
getPrompt()
Get the prompt. |
boolean |
getValue()
Get the retrieved value. |
void |
setValue(boolean val)
Set the retrieved name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanCallback(java.lang.String prompt)
BooleanCallback with a prompt.
prompt - the prompt used to request the boolean value.
java.lang.IllegalArgumentException - if prompt is null or if prompt
has a length of 0.
public BooleanCallback(java.lang.String prompt,
boolean defaultValue)
NameCallback with a prompt and default name.
prompt - the prompt used to request the information.
defaultValue - the value to be used as the default value displayed with the
prompt.
java.lang.IllegalArgumentException - if prompt is null.| Method Detail |
|---|
public java.lang.String getPrompt()
public boolean getDefaultValue()
BooleanCallback was
not instantiated with a defaultValue.public void setValue(boolean val)
val - the retrieved value true or false.getValue()public boolean getValue()
true or false.setValue(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||