public class NavigationFormEntry extends LabeledFormEntry<NavigationFormEntry>
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JSpinner |
spinner |
label
resizeMode
Constructor and Description |
---|
NavigationFormEntry(java.lang.String label) |
NavigationFormEntry(java.lang.String label,
int min,
int max,
int step,
int value) |
NavigationFormEntry(java.lang.String label,
javax.swing.SpinnerModel spinnerModel) |
Modifier and Type | Method and Description |
---|---|
void |
addComponents(FormBuilder builder) |
NavigationFormEntry |
clear()
Resets the spinner to its minimum value if the used
SpinnerModel
is of type SpinnerNumberModel . |
NavigationFormEntry |
commit() |
javax.swing.JSpinner |
getSpinner() |
java.lang.Object |
getValue() |
NavigationFormEntry |
setMaximumValue(java.lang.Comparable<?> value) |
NavigationFormEntry |
setMinimumValue(java.lang.Comparable<?> value) |
NavigationFormEntry |
setValue(java.lang.Object value) |
addToForm, getLabel, setLabel
getResizeMode, setResizeMode
getBuilder, getId
public NavigationFormEntry(java.lang.String label)
public NavigationFormEntry(java.lang.String label, javax.swing.SpinnerModel spinnerModel)
public NavigationFormEntry(java.lang.String label, int min, int max, int step, int value)
public javax.swing.JSpinner getSpinner()
public NavigationFormEntry setMinimumValue(java.lang.Comparable<?> value)
public NavigationFormEntry setMaximumValue(java.lang.Comparable<?> value)
public NavigationFormEntry setValue(java.lang.Object value)
setValue
in class FormBuilder.FormEntry
FormBuilder.FormEntry.setValue(java.lang.Object)
public java.lang.Object getValue()
getValue
in class FormBuilder.FormEntry
FormBuilder.FormEntry.getValue()
public NavigationFormEntry commit()
public NavigationFormEntry clear()
SpinnerModel
is of type SpinnerNumberModel
.clear
in class FormBuilder.FormEntry
FormBuilder.FormEntry.clear()
public void addComponents(FormBuilder builder)
addComponents
in class LabeledFormEntry<NavigationFormEntry>
LabeledFormEntry.addComponents(de.ims.icarus.ui.dialog.FormBuilder)