com.izforge.izpack.panels.userinput.console.password
Class ConsolePasswordGroupField

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.field.AbstractFieldView
      extended by com.izforge.izpack.panels.userinput.console.ConsoleField
          extended by com.izforge.izpack.panels.userinput.console.password.ConsolePasswordGroupField
All Implemented Interfaces:
FieldView

public class ConsolePasswordGroupField
extends ConsoleField

Console presentation of PasswordGroupField.

Author:
Tim Anderson

Constructor Summary
ConsolePasswordGroupField(PasswordGroupField field, Console console, Prompt prompt)
          Constructs a ConsolePasswordGroupField.
 
Method Summary
 boolean display()
          Displays the field.
 PasswordGroupField getField()
          Returns the field.
 
Methods inherited from class com.izforge.izpack.panels.userinput.console.ConsoleField
error, getConsole, getMessage, print, printDescription, printLabel, println
 
Methods inherited from class com.izforge.izpack.panels.userinput.field.AbstractFieldView
getSummaryKey, getVariable, isDisplayed, isReadonly, setDisplayed, setReadonly, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsolePasswordGroupField

public ConsolePasswordGroupField(PasswordGroupField field,
                                 Console console,
                                 Prompt prompt)
Constructs a ConsolePasswordGroupField.

Parameters:
field - the field
console - the console
prompt - the prompt
Method Detail

getField

public PasswordGroupField getField()
Returns the field.

Specified by:
getField in interface FieldView
Overrides:
getField in class AbstractFieldView
Returns:
the field

display

public boolean display()
Displays the field.

For fields that update variables, this collects input and validates it.

Specified by:
display in class ConsoleField
Returns:
true if the field was displayed and validated successfully


Copyright © 2018. All rights reserved.