|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Binding | |
---|---|
org.jdesktop.binding.swingx | Contains API which enables Swing user-interface components to be easily bound to data models, such as JavaBeans, RowSet, and collections. |
org.jdesktop.jdnc.form | Contains the JForm component, which enables easy creation of user-interface forms which bind to arbitrary data models, such as JavaBeans, RowSet, and collections. |
Uses of Binding in org.jdesktop.binding.swingx |
---|
Classes in org.jdesktop.binding.swingx that implement Binding | |
---|---|
class |
AbstractBinding
Abstract base class which implements a default mechanism for binding user-interface components to elements in a data model. |
class |
BooleanBinding
Class which binds a component that supports setting a boolean value (JCheckBox) to a data model field which is type Boolean. |
class |
ComboBoxBinding
Class which binds a component that supports setting a one-of-many value (JComboBox) to a data model field which may be an arbitrary type. |
class |
DatePickerBinding
|
class |
DirectListBinding
This "Binding" happens to the given DataModel as a whole (as opposed to a single field of the model). |
class |
DirectTableBinding
This "Binding" happens to the given DataModel as a whole (as opposed to a single field of the model). |
class |
HyperlinkBinding
|
class |
ImagePanelBinding
|
class |
LabelBinding
Class which binds an uneditable component (JLabel) to a data model field of arbitrary type. |
class |
LabelMetaBinding
Class which binds an uneditable component (JLabel) to the metaData label property of a dataModel's field, adding a colon. |
class |
ListBinding
|
class |
RadioBinding
Class which binds a component that supports setting a one-of-many value (JXRadioGroup) to a data model field which is may be an arbitrary type. |
class |
SpinnerBinding
Class which binds a component that supports setting a value within a sequence of values (JSpinner) to a field in a data model. |
class |
TableBinding
Binding a JTable to a field in a DataModel. |
class |
TextBinding
Class which binds a component that supports editing text values (JTextField, JTextArea, JEditorPane) to a data model field. |
Methods in org.jdesktop.binding.swingx that return Binding | |
---|---|
Binding |
BindingFactory.createBinding(javax.swing.JComponent component,
DataModel model,
java.lang.String fieldName)
Creates and returns Binding between the component and a field of the DataModel. |
Binding |
BindingFactory.ListBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.TableBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.TextBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.LabelBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.ImagePanelBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.HyperlinkBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.DatePickerBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.ComboBoxBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.RadioGroupBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.CheckBoxBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.SpinnerBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.LabelMetaBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding |
BindingFactory.createMetaBinding(javax.swing.JLabel label,
DataModel model,
java.lang.String fieldName)
Creates and returns Binding between the component and the metaData of a field of the DataModel. |
protected Binding |
BindingFactory.TextBindingCreator.doCreateBinding(javax.swing.text.JTextComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding[] |
BindingHandler.getBindings()
|
Methods in org.jdesktop.binding.swingx with parameters of type Binding | |
---|---|
void |
BindingHandler.add(Binding binding)
|
protected void |
BindingFactory.TextBindingCreator.configureComponent(javax.swing.JComponent component,
Binding binding)
PENDING: it's a view issue, should not be done here?. |
protected void |
BindingFactory.RequiredBindingCreator.doAddBindingBorder(javax.swing.JComponent component,
Binding binding)
|
void |
BindingHandler.remove(Binding binding)
|
protected void |
BindingHandler.updateModifiedFromBinding(Binding binding,
boolean modified)
|
Uses of Binding in org.jdesktop.jdnc.form |
---|
Classes in org.jdesktop.jdnc.form that implement Binding | |
---|---|
class |
FormBinding
Class which binds a JForm component to a data model field which is type DataModel in order to support nested data models. |
Methods in org.jdesktop.jdnc.form that return Binding | |
---|---|
abstract Binding |
FormFactory.addComponent(javax.swing.JComponent parent,
javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
Adds the component to the specified parent container and configures its layout within that container according to the form factory's layout paradigm. |
Binding |
DefaultFormFactory.addComponent(javax.swing.JComponent parent,
javax.swing.JComponent component,
DataModel model,
java.lang.String fieldName)
|
Binding |
JForm.bind(Binding binding,
javax.swing.JComponent component)
Adds the specified binding to this form. |
Binding[] |
JForm.bind(DataModel model)
Binds the form to each visual field in the specified DataModel object. |
Binding |
JForm.bind(DataModel model,
java.lang.String fieldName)
Binds the form to the specified field in the DataModel object. |
Binding |
JForm.bind(DataModel model,
java.lang.String fieldName,
javax.swing.JComponent component)
Binds the specified component to the field in the DataModel object. |
Binding[] |
JForm.bind(DefaultTableModelExt tabularData)
Binds the form to each column in the specified DefaultTableModelExt object. |
Binding |
JForm.bind(DefaultTableModelExt tabularData,
java.lang.String columnName)
Binds the form to the specified column in the DefaultTableModelExt object. |
Binding[] |
JForm.bind(java.lang.Object bean)
Binds the form to each property in the specified JavaBean object. |
Binding |
JForm.bind(java.lang.Object bean,
java.lang.String propertyName)
Binds the form to the specified property in the JavaBean object. |
abstract Binding |
FormFactory.createBinding(DataModel model,
java.lang.String fieldName,
javax.swing.JComponent component)
Factory method for returning the binding object which connects the user-interface component to the specified field in a data model. |
Binding |
DefaultFormFactory.createBinding(DataModel model,
java.lang.String fieldName,
javax.swing.JComponent component)
delegates to current BindingMap. |
Binding |
ExtBindingFactory.FormBindingCreator.createBinding(javax.swing.JComponent component,
DataModel dataModel,
java.lang.String fieldName)
|
Binding[] |
JForm.getBindings()
|
Methods in org.jdesktop.jdnc.form with parameters of type Binding | |
---|---|
protected void |
JForm.addBinding(Binding binding)
Added to ease subclassing without actually exposing the private bindings-list. |
Binding |
JForm.bind(Binding binding,
javax.swing.JComponent component)
Adds the specified binding to this form. |
void |
JForm.unbind(Binding binding)
Removes the specified binding from this form. |
Constructors in org.jdesktop.jdnc.form with parameters of type Binding | |
---|---|
BindingBorder(Binding binding)
|
|
BindingBorder(Binding binding,
javax.swing.Icon validIcon,
javax.swing.Icon invalidIcon,
javax.swing.Icon requiredIcon,
int iconPosition)
|
|
BindingBorder(Binding binding,
javax.swing.Icon validIcon,
javax.swing.Icon invalidIcon,
int iconPosition)
|
|
BindingBorder(Binding binding,
int iconPosition)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |