Package | Description |
---|---|
org.jdesktop.beansbinding |
Provides support for defining properties and creating bindings between
sets of two properties.
|
org.jdesktop.swingbinding |
Provides support for binding to complex Swing components, and
documentation on the interesting Swing properties to bind to.
|
Modifier and Type | Method and Description |
---|---|
AutoBinding.UpdateStrategy |
AutoBinding.getUpdateStrategy()
Returns the
AutoBinding's update strategy. |
static AutoBinding.UpdateStrategy |
AutoBinding.UpdateStrategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoBinding.UpdateStrategy[] |
AutoBinding.UpdateStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <SS,SV,TS,TV> |
Bindings.createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty)
Creates an instance of
AutoBinding that binds a property of a source object to a property of a target object. |
static <SS,SV,TS,TV> |
Bindings.createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
Creates a named instance of
AutoBinding that binds a property of a source object to a property of a target object. |
static <SS,TS,TV> AutoBinding<SS,SS,TS,TV> |
Bindings.createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
TS targetObject,
Property<TS,TV> targetProperty)
Creates an instance of
AutoBinding that binds a source object to a property of a target object. |
static <SS,TS,TV> AutoBinding<SS,SS,TS,TV> |
Bindings.createAutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
Creates a named instance of
AutoBinding that binds a source object to a property of a target object. |
Constructor and Description |
---|
AutoBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,SV> sourceProperty,
TS targetObject,
Property<TS,TV> targetProperty,
java.lang.String name)
Create an instance of
AutoBinding between two properties of two objects,
with the given update strategy. |
Modifier and Type | Method and Description |
---|---|
static <E> JComboBoxBinding<E,java.util.List<E>,javax.swing.JComboBox> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
javax.swing.JComboBox targetJComboBox)
Creates a
JComboBoxBinding from direct references to a List and JComboBox . |
static <E> JComboBoxBinding<E,java.util.List<E>,javax.swing.JComboBox> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
javax.swing.JComboBox targetJComboBox,
java.lang.String name)
Creates a named
JComboBoxBinding from direct references to a List and JComboBox . |
static <E,TS> JComboBoxBinding<E,java.util.List<E>,TS> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
TS targetObject,
Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty)
Creates a
JComboBoxBinding from a direct reference to a List and an object and property that resolves to a JComboBox . |
static <E,TS> JComboBoxBinding<E,java.util.List<E>,TS> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
TS targetObject,
Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty,
java.lang.String name)
Creates a named
JComboBoxBinding from a direct reference to a List and an object and property that resolves to a JComboBox . |
static <E,SS> JComboBoxBinding<E,SS,javax.swing.JComboBox> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
javax.swing.JComboBox targetJComboBox)
Creates a
JComboBoxBinding from an object and property that resolves to a List and a direct reference to a JComboBox . |
static <E,SS> JComboBoxBinding<E,SS,javax.swing.JComboBox> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
javax.swing.JComboBox targetJComboBox,
java.lang.String name)
Creates a named
JComboBoxBinding from an object and property that resolves to a List and a direct reference to a JComboBox . |
static <E,SS,TS> JComboBoxBinding<E,SS,TS> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty)
Creates a
JComboBoxBinding from an object and property that resolves to a List and an object and property that resolves to a JComboBox . |
static <E,SS,TS> JComboBoxBinding<E,SS,TS> |
SwingBindings.createJComboBoxBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty,
java.lang.String name)
Creates a named
JComboBoxBinding from an object and property that resolves to a List and an object and property that resolves to a JComboBox . |
static <E> JListBinding<E,java.util.List<E>,javax.swing.JList> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
javax.swing.JList targetJList)
Creates a
JListBinding from direct references to a List and JList . |
static <E> JListBinding<E,java.util.List<E>,javax.swing.JList> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
javax.swing.JList targetJList,
java.lang.String name)
Creates a named
JListBinding from direct references to a List and JList . |
static <E,TS> JListBinding<E,java.util.List<E>,TS> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
TS targetObject,
Property<TS,? extends javax.swing.JList> targetJListProperty)
Creates a
JListBinding from a direct reference to a List and an object and property that resolves to a JList . |
static <E,TS> JListBinding<E,java.util.List<E>,TS> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
TS targetObject,
Property<TS,? extends javax.swing.JList> targetJListProperty,
java.lang.String name)
Creates a named
JListBinding from a direct reference to a List and an object and property that resolves to a JList . |
static <E,SS> JListBinding<E,SS,javax.swing.JList> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
javax.swing.JList targetJList)
Creates a
JListBinding from an object and property that resolves to a List and a direct reference to a JList . |
static <E,SS> JListBinding<E,SS,javax.swing.JList> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
javax.swing.JList targetJList,
java.lang.String name)
Creates a named
JListBinding from an object and property that resolves to a List and a direct reference to a JList . |
static <E,SS,TS> JListBinding<E,SS,TS> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JList> targetJListProperty)
Creates a
JListBinding from an object and property that resolves to a List and an object and property that resolves to a JList . |
static <E,SS,TS> JListBinding<E,SS,TS> |
SwingBindings.createJListBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JList> targetJListProperty,
java.lang.String name)
Creates a named
JListBinding from an object and property that resolves to a List and an object and property that resolves to a JList . |
static <E> JTableBinding<E,java.util.List<E>,javax.swing.JTable> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
javax.swing.JTable targetJTable)
Creates a
JTableBinding from direct references to a List and JTable . |
static <E> JTableBinding<E,java.util.List<E>,javax.swing.JTable> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
javax.swing.JTable targetJTable,
java.lang.String name)
Creates a named
JTableBinding from direct references to a List and JTable . |
static <E,TS> JTableBinding<E,java.util.List<E>,TS> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
TS targetObject,
Property<TS,? extends javax.swing.JTable> targetJTableProperty)
Creates a
JTableBinding from a direct reference to a List and an object and property that resolves to a JTable . |
static <E,TS> JTableBinding<E,java.util.List<E>,TS> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
java.util.List<E> sourceList,
TS targetObject,
Property<TS,? extends javax.swing.JTable> targetJTableProperty,
java.lang.String name)
Creates a named
JTableBinding from a direct reference to a List and an object and property that resolves to a JTable . |
static <E,SS> JTableBinding<E,SS,javax.swing.JTable> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
javax.swing.JTable targetJTable)
Creates a
JTableBinding from an object and property that resolves to a List and a direct reference to a JTable . |
static <E,SS> JTableBinding<E,SS,javax.swing.JTable> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
javax.swing.JTable targetJTable,
java.lang.String name)
Creates a named
JTableBinding from an object and property that resolves to a List and a direct reference to a JTable . |
static <E,SS,TS> JTableBinding<E,SS,TS> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JTable> targetJTableProperty)
Creates a
JTableBinding from an object and property that resolves to a List and an object and property that resolves to a JTable . |
static <E,SS,TS> JTableBinding<E,SS,TS> |
SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JTable> targetJTableProperty,
java.lang.String name)
Creates a named
JTableBinding from an object and property that resolves to a List and an object and property that resolves to a JTable . |
Constructor and Description |
---|
JComboBoxBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty,
java.lang.String name)
Constructs an instance of
JComboBoxBinding . |
JListBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JList> targetJListProperty,
java.lang.String name)
Constructs an instance of
JListBinding . |
JTableBinding(AutoBinding.UpdateStrategy strategy,
SS sourceObject,
Property<SS,java.util.List<E>> sourceListProperty,
TS targetObject,
Property<TS,? extends javax.swing.JTable> targetJTableProperty,
java.lang.String name)
Constructs an instance of
JTableBinding . |