| Package | Description |
|---|---|
| org.tentackle.swing |
Extended Swing layer.
|
| org.tentackle.swing.bind |
Swing binding.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FormFieldComponent
Extended
FormComponent for editable text fields. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFormField
Abstract base class for all text fields.
|
class |
AbstractFractionNumberFormField
Abstract base class for all fraction number form fields.
|
class |
AbstractNumberFormField
Abstract base class for all numeric form fields.
|
class |
AcceptDenyCheckBox
A simple checkbox for ok/yes/allow (green) and cancel/no/deny (red).
|
class |
BMoneyFormField
FormField to edit a BMoney object.
|
class |
ByteFormField
FormField to edit a byte value.
|
class |
DateFormField
AbstractFormField to edit a
Date object. |
class |
DoubleFormField
FormField to edit a double value.
|
class |
FloatFormField
FormField to edit a float value.
|
class |
FormCalendarField |
class |
FormCheckBox
A checkbox aware of forms.
|
class |
FormComboBox<E>
A forms-aware combobox.
Notes: If valueEnteredOnSelect is set to false the valueEntered
event will only be fired on focus lost and not whenever the selection is changed.
the action event behave as expected, i.e. |
class |
FormComponentPanel
A FormPanel with an embedded FormComponent.
|
class |
FormConsole
A console-like text area.
|
class |
FormFieldComboBox<E>
A
FormFieldComboBox is a FormComboBox with a
FormFieldComponent as its editor. |
class |
FormFieldComponentPanel
A FormComponentPanel with an embedded FormFieldComponent.
|
class |
FormFileChooser
A FormField for files decorated with buttons to link and unlink to a file.
|
class |
FormMailField
FormField to edit a mail adress.
By pressing the mail-button the mailer program will be opened. |
class |
FormRadioButton
A radio button aware of forms.
|
class |
FormSpinField |
class |
FormTelnoField
Form field to edit a URL.
|
class |
FormTextArea
Extended JTextArea as a
FormFieldComponent. |
class |
FormToggleButton
A toggle button aware of forms.
|
class |
FormUrlField
Form field to edit a URL.
|
class |
HourSpinField
SpinField for hours.
|
class |
IntegerFormField
FormField to edit an integer value.
|
class |
LocaleComboBox
A Combobox of Locales.
|
class |
LongFormField
FormField to edit a long value.
|
class |
MinSecSpinField
A SpinFeld to edit minutes or seconds.
|
class |
MonthComboBox
A combobox for months.
|
class |
MonthSpinField
A combobox for months as a spinfield.
|
class |
ShortFormField
FormField to edit a short value.
|
class |
StringFormField
A AbstractFormField for editing strings.
|
class |
TimeZoneComboBox
Combobox for all supported timezones.
|
class |
WeekdayComboBox
A ComboBox to edit the day of week.
|
class |
YearSpinField
SpinField for years.
|
class |
YesNoRadioButton
Radiobuttons to get a definitive decision from the user.
The user must click yes or no or the answer is undetermined. |
| Modifier and Type | Field and Description |
|---|---|
protected FormComponent |
FormComponentCellEditor.editor
the editor component
|
| Modifier and Type | Method and Description |
|---|---|
FormComponent |
FormComponentCellEditor.getEditorComponent()
Gets the current editor component.
|
FormComponent |
FormComponentPanel.getFormComponent()
Gets the embedded form component.
|
FormComponent |
FormComponentCellEditor.getTableCellEditorComponent(FormTable<?> table,
boolean selected,
int row,
int column)
Returns the editor initialized for the table cell.
Does _not_ set the value. |
FormComponent |
FormComponentCellEditor.getTreeCellEditorComponent(FormTree tree,
boolean selected,
boolean expanded,
boolean leaf,
int row)
Returns the editor initialized for the tree cell.
Does _not_ set the value. |
| Modifier and Type | Method and Description |
|---|---|
void |
SpinListener.decrement(SpinEvent evt,
FormComponent comp)
Decrements the data of the spinfield.
|
void |
YearSpinField.decrement(SpinEvent e,
FormComponent c) |
void |
HourSpinField.decrement(SpinEvent e,
FormComponent c) |
void |
MonthSpinField.decrement(SpinEvent e,
FormComponent c) |
void |
MinSecSpinField.decrement(SpinEvent e,
FormComponent c) |
void |
FormUtilities.doFireValueChanged(FormComponent c,
Object[] listeners)
Notifies all ValueListeners (usually only one!) that the field is
going to be displayed and thus needs the data what to display.
|
void |
FormUtilities.doFireValueEntered(FormComponent c,
Object[] listeners)
Notifies all ValueListeners (usually only one!) that the field contents
should be moved to the actual data object.
|
void |
FormUtilities.doValidate(FormComponent c)
Runs the validation if there is a binding and there
are validation annotations.
|
FormComponentBinding |
FormUtilities.getBinding(FormContainer container,
FormComponent component)
Gets the binding for a given component in the given container and
all its sub-containers.
|
void |
SpinListener.increment(SpinEvent evt,
FormComponent comp)
Increments the data of the spinfield.
|
void |
YearSpinField.increment(SpinEvent e,
FormComponent c) |
void |
HourSpinField.increment(SpinEvent e,
FormComponent c) |
void |
MonthSpinField.increment(SpinEvent e,
FormComponent c) |
void |
MinSecSpinField.increment(SpinEvent e,
FormComponent c) |
void |
FormComponentCellEditor.setEditorComponent(FormComponent editor)
Sets the editor Component.
|
void |
FormCalendarField.setFormComponent(FormComponent comp) |
void |
FormTelnoField.setFormComponent(FormComponent comp) |
void |
FormComponentPanel.setFormComponent(FormComponent comp)
Sets the embedded form field component.
|
void |
FormFileChooser.setFormComponent(FormComponent comp) |
void |
FormMailField.setFormComponent(FormComponent comp) |
void |
FormUrlField.setFormComponent(FormComponent comp) |
void |
FormSpinField.setFormComponent(FormComponent comp) |
void |
FormUtilities.showErrorPopup(FormComponent formComponent,
String message)
Shows an error popup for a given component and message.
Any currently displayed error popup will be hidden first. |
| Constructor and Description |
|---|
FormComponentCellEditor(FormComponent editorComponent)
Creates a cell-editor from a FormComponent.
|
FormComponentPanel(FormComponent comp)
Creates a
FormComponentPanel for a given FormComponent. |
FormSpinField(FormComponent editingComponent)
Creates a spin field.
|
SqlDateFieldBinding(FormComponentBinder binder,
BindingMember[] parents,
BindingMember member,
FormComponent component,
String componentOptions) |
| Modifier and Type | Method and Description |
|---|---|
FormComponent |
DefaultFormComponentBinding.getComponent() |
FormComponent |
FormComponentBinding.getComponent()
Gets the component which is bound to the member.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<FormComponent> |
DefaultFormComponentBinder.getBoundComponents() |
Collection<FormComponent> |
FormComponentBinder.getBoundComponents()
Gets the list of all bound components of this form.
|
Collection<FormComponent> |
DefaultFormComponentBinder.getUnboundComponents() |
Collection<FormComponent> |
FormComponentBinder.getUnboundComponents()
Gets the list of all unbound components of this form.
|
| Modifier and Type | Method and Description |
|---|---|
FormComponentBinding |
FormBindingFactory.createFormComponentBinding(FormComponentBinder binder,
BindingMember[] parents,
BindingMember member,
FormComponent component,
String componentOptions)
Creates a component binding.
|
FormComponentBinding |
DefaultFormBindingFactory.createFormComponentBinding(FormComponentBinder binder,
BindingMember[] parents,
BindingMember member,
FormComponent component,
String componentOptions) |
FormComponentBinding |
DefaultFormComponentBinder.getBinding(FormComponent component) |
FormComponentBinding |
FormComponentBinder.getBinding(FormComponent component)
Gets a binding by component.
|
FormComponentBinding |
DefaultFormComponentBinder.removeBinding(FormComponent component) |
FormComponentBinding |
FormComponentBinder.removeBinding(FormComponent component)
Programmatically removes a binding from this form.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends FormComponentBinding> |
FormBindingFactory.getFormComponentBindingClass(Class<? extends FormComponent> componentClass)
Gets the binding class for a given component class.
|
Class<? extends FormComponentBinding> |
DefaultFormBindingFactory.getFormComponentBindingClass(Class<? extends FormComponent> componentClass) |
Class<? extends FormComponentBinding> |
FormBindingFactory.setFormComponentBindingClass(Class<? extends FormComponent> componentClass,
Class<? extends FormComponentBinding> bindingClass)
Defines the binding for a component class.
|
Class<? extends FormComponentBinding> |
DefaultFormBindingFactory.setFormComponentBindingClass(Class<? extends FormComponent> componentClass,
Class<? extends FormComponentBinding> bindingClass) |
| Constructor and Description |
|---|
BMoneyFormFieldBinding(FormComponentBinder binder,
BindingMember[] parents,
BindingMember member,
FormComponent component,
String componentOptions) |
DefaultFormComponentBinding(FormComponentBinder binder,
BindingMember[] parents,
BindingMember member,
FormComponent component,
String componentOptions)
Creates a binding.
|
Tentackle - distributed, domain- and model-driven