com.jgoodies.binding.adapter |
Contains adapters that convert {@link com.jgoodies.binding.value.ValueModel}s
to Swing model interfaces.
These adapters are intended to replace
the Swing model convenience implementations.
Related Documentation
For more information see:
@see com.jgoodies.binding
@see com.jgoodies.binding.beans
@see com.jgoodies.binding.formatter
@see com.jgoodies.binding.list
@see com.jgoodies.binding.value
|
Java Source File Name | Type | Comment |
AbstractTableAdapter.java | Class | An abstract implementation of the
javax.swing.table.TableModel interface that converts a
javax.swing.ListModel of row elements.
This class provides default implementations for the TableModel
methods #getColumnCount() and #getColumnName(int) . |
BasicComponentFactory.java | Class | Consists only of static methods that create and vend frequently used
Swing components that are then bound to a given ValueModel.
This class is one of two helper classes that help you establish a binding:
1) the Bindings class binds components that have been created before;
it wraps ValueModels with the adapters from package
com.jgoodies.binding.adapter .
2) this BasicComponentFactory creates Swing components that are then
tied to ValueModels using the the different #bind methods
in the Bindings class.
If you have an existing factory that vends Swing components, you can use
Bindings to bind them to ValueModels. |
Bindings.java | Class | Consists only of static methods that bind Swing components to ValueModels.
This is one of two helper classes that assist you in establishing a binding:
1) this Bindings class binds components that have been created before;
it wraps ValueModels with the adapters from package
com.jgoodies.binding.adapter .
2) the BasicComponentFactory creates Swing components that are then
bound using this Bindings class.
If you have an existing factory that vends Swing components,
you can use this Bindings class to bind them to ValueModels.
If you don't have such a factory, you can use the BasicComponentFactory
or a custom subclass to create and bind Swing components.
The binding process for JCheckBox, JRadioButton, and other AbstractButtons
retains the former enablement state. |
BoundedRangeAdapter.java | Class | Converts a ValueModel to the BoundedRangeModel interface. |
ColorSelectionAdapter.java | Class | Converts ValueModels to the ColorSelectionModel interface. |
ComboBoxAdapter.java | Class | A
ComboBoxModel implementation that holds the choice list and a
selection. |
PreferencesAdapter.java | Class | A ValueModel implementation that reads and writes values from/to a key
of a given Preferences node under a specified key. |
RadioButtonAdapter.java | Class | Converts ValueModels to the ToggleButtonModel interface. |
SingleListSelectionAdapter.java | Class | A
ListSelectionModel implementation that has the list index
bound to a
ValueModel . |
SpinnerAdapterFactory.java | Class | A factory that vends
SpinnerModel implementations that are bound to
a ValueModel. |
SpinnerToValueModelConnector.java | Class | Synchronizes a SpinnerModel with a ValueModel. |
TextComponentConnector.java | Class | Connects a String typed ValueModel and a JTextField or JTextArea.
At construction time the text component content is updated
with the subject's contents.
This connector has been designed for text components that display a plain
String. |
ToggleButtonAdapter.java | Class | Converts ValueModels to the ToggleButtonModel interface. |