org.oddjob.swing
Class SwingInputHandler

java.lang.Object
  extended by org.oddjob.swing.SwingInputHandler
All Implemented Interfaces:
InputHandler

public class SwingInputHandler
extends Object
implements InputHandler

Implementation of an InputHandler in Swing.

Author:
rob

Constructor Summary
SwingInputHandler(Component owner)
          Constructor.
 
Method Summary
 Properties handleInput(InputRequest[] requests)
          Handle a series of input requests.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwingInputHandler

public SwingInputHandler(Component owner)
Constructor.

Parameters:
owner - The parent component.
Method Detail

handleInput

public Properties handleInput(InputRequest[] requests)
Description copied from interface: InputHandler
Handle a series of input requests. The series is intended to be short and simple such as username and password.

Specified by:
handleInput in interface InputHandler
Parameters:
requests - The requests.
Returns:
The results. These are serializable so they can be persisted by Oddjob.

toString

public String toString()
Overrides:
toString in class Object