Package org.jdesktop.swingbinding
Class SwingBindings
- java.lang.Object
-
- org.jdesktop.swingbinding.SwingBindings
-
public class SwingBindings extends java.lang.ObjectA factory class for creating instances of the custom SwingBindingimplementations provided by this package. See the package summary for full details on binding to Swing components.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> JComboBoxBinding<E,java.util.List<E>,javax.swing.JComboBox>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JComboBox targetJComboBox)Creates aJComboBoxBindingfrom direct references to aListandJComboBox.static <E> JComboBoxBinding<E,java.util.List<E>,javax.swing.JComboBox>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JComboBox targetJComboBox, java.lang.String name)Creates a namedJComboBoxBindingfrom direct references to aListandJComboBox.static <E,TS>
JComboBoxBinding<E,java.util.List<E>,TS>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty)Creates aJComboBoxBindingfrom a direct reference to aListand an object and property that resolves to aJComboBox.static <E,TS>
JComboBoxBinding<E,java.util.List<E>,TS>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty, java.lang.String name)Creates a namedJComboBoxBindingfrom a direct reference to aListand an object and property that resolves to aJComboBox.static <E,SS>
JComboBoxBinding<E,SS,javax.swing.JComboBox>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JComboBox targetJComboBox)Creates aJComboBoxBindingfrom an object and property that resolves to aListand a direct reference to aJComboBox.static <E,SS>
JComboBoxBinding<E,SS,javax.swing.JComboBox>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JComboBox targetJComboBox, java.lang.String name)Creates a namedJComboBoxBindingfrom an object and property that resolves to aListand a direct reference to aJComboBox.static <E,SS,TS>
JComboBoxBinding<E,SS,TS>createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, TS targetObject, Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty)Creates aJComboBoxBindingfrom an object and property that resolves to aListand an object and property that resolves to aJComboBox.static <E,SS,TS>
JComboBoxBinding<E,SS,TS>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 namedJComboBoxBindingfrom an object and property that resolves to aListand an object and property that resolves to aJComboBox.static <E> JListBinding<E,java.util.List<E>,javax.swing.JList>createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JList targetJList)Creates aJListBindingfrom direct references to aListandJList.static <E> JListBinding<E,java.util.List<E>,javax.swing.JList>createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JList targetJList, java.lang.String name)Creates a namedJListBindingfrom direct references to aListandJList.static <E,TS>
JListBinding<E,java.util.List<E>,TS>createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JList> targetJListProperty)Creates aJListBindingfrom a direct reference to aListand an object and property that resolves to aJList.static <E,TS>
JListBinding<E,java.util.List<E>,TS>createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JList> targetJListProperty, java.lang.String name)Creates a namedJListBindingfrom a direct reference to aListand an object and property that resolves to aJList.static <E,SS>
JListBinding<E,SS,javax.swing.JList>createJListBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JList targetJList)Creates aJListBindingfrom an object and property that resolves to aListand a direct reference to aJList.static <E,SS>
JListBinding<E,SS,javax.swing.JList>createJListBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JList targetJList, java.lang.String name)Creates a namedJListBindingfrom an object and property that resolves to aListand a direct reference to aJList.static <E,SS,TS>
JListBinding<E,SS,TS>createJListBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, TS targetObject, Property<TS,? extends javax.swing.JList> targetJListProperty)Creates aJListBindingfrom an object and property that resolves to aListand an object and property that resolves to aJList.static <E,SS,TS>
JListBinding<E,SS,TS>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 namedJListBindingfrom an object and property that resolves to aListand an object and property that resolves to aJList.static <E> JTableBinding<E,java.util.List<E>,javax.swing.JTable>createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JTable targetJTable)Creates aJTableBindingfrom direct references to aListandJTable.static <E> JTableBinding<E,java.util.List<E>,javax.swing.JTable>createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JTable targetJTable, java.lang.String name)Creates a namedJTableBindingfrom direct references to aListandJTable.static <E,TS>
JTableBinding<E,java.util.List<E>,TS>createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JTable> targetJTableProperty)Creates aJTableBindingfrom a direct reference to aListand an object and property that resolves to aJTable.static <E,TS>
JTableBinding<E,java.util.List<E>,TS>createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JTable> targetJTableProperty, java.lang.String name)Creates a namedJTableBindingfrom a direct reference to aListand an object and property that resolves to aJTable.static <E,SS>
JTableBinding<E,SS,javax.swing.JTable>createJTableBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JTable targetJTable)Creates aJTableBindingfrom an object and property that resolves to aListand a direct reference to aJTable.static <E,SS>
JTableBinding<E,SS,javax.swing.JTable>createJTableBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JTable targetJTable, java.lang.String name)Creates a namedJTableBindingfrom an object and property that resolves to aListand a direct reference to aJTable.static <E,SS,TS>
JTableBinding<E,SS,TS>createJTableBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, TS targetObject, Property<TS,? extends javax.swing.JTable> targetJTableProperty)Creates aJTableBindingfrom an object and property that resolves to aListand an object and property that resolves to aJTable.static <E,SS,TS>
JTableBinding<E,SS,TS>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 namedJTableBindingfrom an object and property that resolves to aListand an object and property that resolves to aJTable.
-
-
-
Method Detail
-
createJListBinding
public static <E> JListBinding<E,java.util.List<E>,javax.swing.JList> createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JList targetJList)
Creates aJListBindingfrom direct references to aListandJList.- Parameters:
strategy- the update strategysourceList- the sourceListtargetJList- the targetJList- Returns:
- the
JTableBinding
-
createJListBinding
public static <E> JListBinding<E,java.util.List<E>,javax.swing.JList> createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JList targetJList, java.lang.String name)
Creates a namedJListBindingfrom direct references to aListandJList.- Parameters:
strategy- the update strategysourceList- the sourceListtargetJList- the targetJList- Returns:
- the
JListBinding
-
createJListBinding
public static <E,SS> JListBinding<E,SS,javax.swing.JList> createJListBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JList targetJList)
Creates aJListBindingfrom an object and property that resolves to aListand a direct reference to aJList.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetJList- the targetJList- Returns:
- the
JListBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyisnull
-
createJListBinding
public static <E,SS> JListBinding<E,SS,javax.swing.JList> createJListBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JList targetJList, java.lang.String name)
Creates a namedJListBindingfrom an object and property that resolves to aListand a direct reference to aJList.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetJList- the targetJList- Returns:
- the
JListBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyisnull
-
createJListBinding
public static <E,TS> JListBinding<E,java.util.List<E>,TS> createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JList> targetJListProperty)
Creates aJListBindingfrom a direct reference to aListand an object and property that resolves to aJList.- Parameters:
strategy- the update strategysourceList- the sourceListtargetObject- the target objecttargetJListProperty- a property on the target object that resolves to aJList- Returns:
- the
JListBinding - Throws:
java.lang.IllegalArgumentException- iftargetJListPropertyisnull
-
createJListBinding
public static <E,TS> JListBinding<E,java.util.List<E>,TS> createJListBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JList> targetJListProperty, java.lang.String name)
Creates a namedJListBindingfrom a direct reference to aListand an object and property that resolves to aJList.- Parameters:
strategy- the update strategysourceList- the sourceListtargetObject- the target objecttargetJListProperty- a property on the target object that resolves to aJList- Returns:
- the
JListBinding - Throws:
java.lang.IllegalArgumentException- iftargetJListPropertyisnull
-
createJListBinding
public static <E,SS,TS> JListBinding<E,SS,TS> createJListBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, TS targetObject, Property<TS,? extends javax.swing.JList> targetJListProperty)
Creates aJListBindingfrom an object and property that resolves to aListand an object and property that resolves to aJList.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetObject- the target objecttargetJListProperty- a property on the target object that resolves to aJList- Returns:
- the
JListBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyortargetJListPropertyisnull
-
createJListBinding
public static <E,SS,TS> JListBinding<E,SS,TS> 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 namedJListBindingfrom an object and property that resolves to aListand an object and property that resolves to aJList.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetObject- the target objecttargetJListProperty- a property on the target object that resolves to aJList- Returns:
- the
JListBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyortargetJListPropertyisnull
-
createJTableBinding
public static <E> JTableBinding<E,java.util.List<E>,javax.swing.JTable> createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JTable targetJTable)
Creates aJTableBindingfrom direct references to aListandJTable.- Parameters:
strategy- the update strategysourceList- the sourceListtargetJTable- the targetJTable- Returns:
- the
JTableBinding
-
createJTableBinding
public static <E> JTableBinding<E,java.util.List<E>,javax.swing.JTable> createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JTable targetJTable, java.lang.String name)
Creates a namedJTableBindingfrom direct references to aListandJTable.- Parameters:
strategy- the update strategysourceList- the sourceListtargetJTable- the targetJTable- Returns:
- the
JTableBinding
-
createJTableBinding
public static <E,SS> JTableBinding<E,SS,javax.swing.JTable> createJTableBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JTable targetJTable)
Creates aJTableBindingfrom an object and property that resolves to aListand a direct reference to aJTable.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetJTable- the targetJTable- Returns:
- the
JTableBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyisnull
-
createJTableBinding
public static <E,SS> JTableBinding<E,SS,javax.swing.JTable> createJTableBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JTable targetJTable, java.lang.String name)
Creates a namedJTableBindingfrom an object and property that resolves to aListand a direct reference to aJTable.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetJTable- the targetJTable- Returns:
- the
JTableBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyisnull
-
createJTableBinding
public static <E,TS> JTableBinding<E,java.util.List<E>,TS> createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JTable> targetJTableProperty)
Creates aJTableBindingfrom a direct reference to aListand an object and property that resolves to aJTable.- Parameters:
strategy- the update strategysourceList- the sourceListtargetObject- the target objecttargetJTableProperty- a property on the target object that resolves to aJTable- Returns:
- the
JTableBinding - Throws:
java.lang.IllegalArgumentException- iftargetJTablePropertyisnull
-
createJTableBinding
public static <E,TS> JTableBinding<E,java.util.List<E>,TS> createJTableBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JTable> targetJTableProperty, java.lang.String name)
Creates a namedJTableBindingfrom a direct reference to aListand an object and property that resolves to aJTable.- Parameters:
strategy- the update strategysourceList- the sourceListtargetObject- the target objecttargetJTableProperty- a property on the target object that resolves to aJTable- Returns:
- the
JTableBinding - Throws:
java.lang.IllegalArgumentException- iftargetJTablePropertyisnull
-
createJTableBinding
public static <E,SS,TS> JTableBinding<E,SS,TS> createJTableBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, TS targetObject, Property<TS,? extends javax.swing.JTable> targetJTableProperty)
Creates aJTableBindingfrom an object and property that resolves to aListand an object and property that resolves to aJTable.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetObject- the target objecttargetJTableProperty- a property on the target object that resolves to aJTable- Returns:
- the
JTableBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyortargetJTablePropertyisnull
-
createJTableBinding
public static <E,SS,TS> JTableBinding<E,SS,TS> 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 namedJTableBindingfrom an object and property that resolves to aListand an object and property that resolves to aJTable.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetObject- the target objecttargetJTableProperty- a property on the target object that resolves to aJTable- Returns:
- the
JTableBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyortargetJTablePropertyisnull
-
createJComboBoxBinding
public static <E> JComboBoxBinding<E,java.util.List<E>,javax.swing.JComboBox> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JComboBox targetJComboBox)
Creates aJComboBoxBindingfrom direct references to aListandJComboBox.- Parameters:
strategy- the update strategysourceList- the sourceListtargetJComboBox- the targetJComboBox- Returns:
- the
JComboBoxBinding
-
createJComboBoxBinding
public static <E> JComboBoxBinding<E,java.util.List<E>,javax.swing.JComboBox> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, javax.swing.JComboBox targetJComboBox, java.lang.String name)
Creates a namedJComboBoxBindingfrom direct references to aListandJComboBox.- Parameters:
strategy- the update strategysourceList- the sourceListtargetJComboBox- the targetJComboBox- Returns:
- the
JComboBoxBinding
-
createJComboBoxBinding
public static <E,SS> JComboBoxBinding<E,SS,javax.swing.JComboBox> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JComboBox targetJComboBox)
Creates aJComboBoxBindingfrom an object and property that resolves to aListand a direct reference to aJComboBox.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetJComboBox- the targetJComboBox- Returns:
- the
JComboBoxBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyisnull
-
createJComboBoxBinding
public static <E,SS> JComboBoxBinding<E,SS,javax.swing.JComboBox> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, javax.swing.JComboBox targetJComboBox, java.lang.String name)
Creates a namedJComboBoxBindingfrom an object and property that resolves to aListand a direct reference to aJComboBox.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetJComboBox- the targetJComboBox- Returns:
- the
JComboBoxBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyisnull
-
createJComboBoxBinding
public static <E,TS> JComboBoxBinding<E,java.util.List<E>,TS> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty)
Creates aJComboBoxBindingfrom a direct reference to aListand an object and property that resolves to aJComboBox.- Parameters:
strategy- the update strategysourceList- the sourceListtargetObject- the target objecttargetJComboBoxProperty- a property on the target object that resolves to aJComboBox- Returns:
- the
JComboBoxBinding - Throws:
java.lang.IllegalArgumentException- iftargetJComboBoxPropertyisnull
-
createJComboBoxBinding
public static <E,TS> JComboBoxBinding<E,java.util.List<E>,TS> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, java.util.List<E> sourceList, TS targetObject, Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty, java.lang.String name)
Creates a namedJComboBoxBindingfrom a direct reference to aListand an object and property that resolves to aJComboBox.- Parameters:
strategy- the update strategysourceList- the sourceListtargetObject- the target objecttargetJComboBoxProperty- a property on the target object that resolves to aJComboBox- Returns:
- the
JComboBoxBinding - Throws:
java.lang.IllegalArgumentException- iftargetJComboBoxPropertyisnull
-
createJComboBoxBinding
public static <E,SS,TS> JComboBoxBinding<E,SS,TS> createJComboBoxBinding(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS,java.util.List<E>> sourceListProperty, TS targetObject, Property<TS,? extends javax.swing.JComboBox> targetJComboBoxProperty)
Creates aJComboBoxBindingfrom an object and property that resolves to aListand an object and property that resolves to aJComboBox.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetObject- the target objecttargetJComboBoxProperty- a property on the target object that resolves to aJComboBox- Returns:
- the
JComboBoxBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyortargetJComboBoxPropertyisnull
-
createJComboBoxBinding
public static <E,SS,TS> JComboBoxBinding<E,SS,TS> 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 namedJComboBoxBindingfrom an object and property that resolves to aListand an object and property that resolves to aJComboBox.- Parameters:
strategy- the update strategysourceObject- the source objectsourceListProperty- a property on the source object that resolves to aListtargetObject- the target objecttargetJComboBoxProperty- a property on the target object that resolves to aJComboBox- Returns:
- the
JComboBoxBinding - Throws:
java.lang.IllegalArgumentException- ifsourceListPropertyortargetJComboBoxPropertyisnull
-
-