net.sf.antcontrib.input

Class GUIInputHandler

public class GUIInputHandler extends Object implements InputHandler

Prompts for user input using a JOptionPane. Developed for use with Antelope, migrated to ant-contrib Oct 2003.

Since: Ant 1.5

Version: $Revision: 1.3 $

Author: Dale Anson

Constructor Summary
GUIInputHandler()
GUIInputHandler(Component parent)
Method Summary
voidhandleInput(InputRequest request)
Prompts and requests input.

Constructor Detail

GUIInputHandler

public GUIInputHandler()

GUIInputHandler

public GUIInputHandler(Component parent)

Parameters: parent the parent component to display the input dialog.

Method Detail

handleInput

public void handleInput(InputRequest request)
Prompts and requests input. May loop until a valid input has been entered.