public class InputFormEntry extends LabeledFormEntry<InputFormEntry>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_COLUMNS |
protected javax.swing.JTextField |
input |
label
resizeMode
Constructor and Description |
---|
InputFormEntry() |
InputFormEntry(java.lang.String label) |
InputFormEntry(java.lang.String label,
int columns) |
InputFormEntry(java.lang.String label,
javax.swing.JTextField input) |
InputFormEntry(java.lang.String label,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponents(FormBuilder builder) |
InputFormEntry |
clear() |
javax.swing.JTextField |
getInput() |
java.lang.Object |
getValue() |
InputFormEntry |
setColumns(int columns) |
InputFormEntry |
setDocument(javax.swing.text.Document doc) |
InputFormEntry |
setValue(java.lang.Object value) |
addToForm, getLabel, setLabel
getResizeMode, setResizeMode
getBuilder, getId
public static final int DEFAULT_COLUMNS
protected final javax.swing.JTextField input
public InputFormEntry()
public InputFormEntry(java.lang.String label)
public InputFormEntry(java.lang.String label, java.lang.String text)
public InputFormEntry(java.lang.String label, int columns)
public InputFormEntry(java.lang.String label, javax.swing.JTextField input)
protected void addComponents(FormBuilder builder)
addComponents
in class LabeledFormEntry<InputFormEntry>
de.ims.icarus.ui.dialog.FormEntry#addComponents(de.ims.icarus.ui.dialog.FormBuilder)
public javax.swing.JTextField getInput()
public InputFormEntry setDocument(javax.swing.text.Document doc)
public InputFormEntry setValue(java.lang.Object value)
setValue
in class FormBuilder.FormEntry
public InputFormEntry setColumns(int columns)
public InputFormEntry clear()
clear
in class FormBuilder.FormEntry
public java.lang.Object getValue()
getValue
in class FormBuilder.FormEntry