public class SpinnerFormEntry extends LabeledFormEntry<SpinnerFormEntry>
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JSpinner |
spinner |
label
resizeMode
Constructor and Description |
---|
SpinnerFormEntry() |
SpinnerFormEntry(java.lang.String label) |
SpinnerFormEntry(java.lang.String label,
javax.swing.JSpinner spinner) |
SpinnerFormEntry(java.lang.String label,
javax.swing.SpinnerNumberModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponents(FormBuilder builder) |
FormBuilder.FormEntry |
clear() |
javax.swing.JSpinner |
getSpinner() |
java.lang.Object |
getValue() |
SpinnerFormEntry |
setSpinnerNumberModel(javax.swing.SpinnerNumberModel model) |
FormBuilder.FormEntry |
setValue(java.lang.Object value) |
addToForm, getLabel, setLabel
getResizeMode, setResizeMode
getBuilder, getId
public SpinnerFormEntry(java.lang.String label, javax.swing.JSpinner spinner)
public SpinnerFormEntry(java.lang.String label, javax.swing.SpinnerNumberModel model)
public SpinnerFormEntry(java.lang.String label)
public SpinnerFormEntry()
public SpinnerFormEntry setSpinnerNumberModel(javax.swing.SpinnerNumberModel model)
public FormBuilder.FormEntry setValue(java.lang.Object value)
setValue
in class FormBuilder.FormEntry
FormBuilder.FormEntry.setValue(java.lang.Object)
public javax.swing.JSpinner getSpinner()
public java.lang.Object getValue()
getValue
in class FormBuilder.FormEntry
FormBuilder.FormEntry.getValue()
public FormBuilder.FormEntry clear()
clear
in class FormBuilder.FormEntry
FormBuilder.FormEntry.clear()
protected void addComponents(FormBuilder builder)
addComponents
in class LabeledFormEntry<SpinnerFormEntry>
LabeledFormEntry.addComponents(de.ims.icarus.ui.dialog.FormBuilder)