com.izforge.izpack.panels.userinput.console.button
Class ConsoleButtonField
java.lang.Object
com.izforge.izpack.panels.userinput.field.AbstractFieldView
com.izforge.izpack.panels.userinput.console.ConsoleField
com.izforge.izpack.panels.userinput.console.button.ConsoleButtonField
- All Implemented Interfaces:
- FieldView
public class ConsoleButtonField
- extends ConsoleField
Console implementation of a button
|
Method Summary |
boolean |
display()
Show button information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleButtonField
public ConsoleButtonField(ButtonField field,
Console console,
Prompt prompt)
- Constructs a
ConsoleField.
- Parameters:
field - the fieldconsole - the consoleprompt - the prompt
display
public boolean display()
- Show button information.
If the user selects to press the button execute all its actions, unless one of the actions 'fail'.
Otherwise continue program as usual.
- Specified by:
display in class ConsoleField
- Returns:
Copyright © 2018. All rights reserved.