org.jminor.common.ui.input
Class TextInputProvider

java.lang.Object
  extended by org.jminor.common.ui.input.AbstractInputProvider<String,TextInputPanel>
      extended by org.jminor.common.ui.input.TextInputProvider
All Implemented Interfaces:
InputProvider<String,TextInputPanel>

public final class TextInputProvider
extends AbstractInputProvider<String,TextInputPanel>

A InputProvider implementation for String values.


Constructor Summary
TextInputProvider(String inputDialogTitle, ValueCollectionProvider valueProvider, String initialValue)
          Instantiates a new TextInputProvider.
 
Method Summary
 String getValue()
          
 
Methods inherited from class org.jminor.common.ui.input.AbstractInputProvider
getInputComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextInputProvider

public TextInputProvider(String inputDialogTitle,
                         ValueCollectionProvider valueProvider,
                         String initialValue)
Instantiates a new TextInputProvider.

Parameters:
inputDialogTitle - the title to use for the lookup input dialog
valueProvider - the value provider
initialValue - the initial value
Method Detail

getValue

public String getValue()

Specified by:
getValue in interface InputProvider<String,TextInputPanel>
Specified by:
getValue in class AbstractInputProvider<String,TextInputPanel>
Returns:
the value according to the input component