public final class TextInputProvider extends AbstractInputProvider<java.lang.String,TextInputPanel>
Constructor and Description |
---|
TextInputProvider(javax.swing.JTextField textField,
java.lang.String inputDialogTitle)
Instantiates a new TextInputProvider.
|
TextInputProvider(java.lang.String inputDialogTitle,
ValueCollectionProvider valueProvider,
java.lang.String initialValue,
int maxLength)
Instantiates a new TextInputProvider.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
getInputComponent
public TextInputProvider(java.lang.String inputDialogTitle, ValueCollectionProvider valueProvider, java.lang.String initialValue, int maxLength)
inputDialogTitle
- the title to use for the lookup input dialogvalueProvider
- the value provider, if specified a lookup dialog accessed by CTRL-SPACE is added to the fieldinitialValue
- the initial valuemaxLength
- the maximum input length, -1 for no limitpublic TextInputProvider(javax.swing.JTextField textField, java.lang.String inputDialogTitle)
textField
- the text field to useinputDialogTitle
- the title to use for the lookup input dialog