Uses of Class
org.jdesktop.beansbinding.Property
Packages that use Property
Package
Description
Provides support for defining properties and creating bindings between
sets of two properties.
Provides support for binding to complex Swing components, and
documentation on the interesting Swing properties to bind to.
Private implementation details for Swing binding.
-
Uses of Property in org.jdesktop.beansbinding
Subclasses of Property in org.jdesktop.beansbindingModifier and TypeClassDescriptionfinal class
BeanProperty<S,
V> An implementation ofProperty
that uses a simple dot-separated path syntax to address Java Beans properties of source objects.final class
ELProperty<S,
V> An implementation ofProperty
that allows Java Beans properties of source objects to be addressed using a simple dot-separated path syntax within an EL expression.final class
An immutable, read-only,Property
implementation whosegetValue
method returns the source object that it is given.class
PropertyHelper<S,
V> An abstract subclass ofProperty
that helps with the management ofPropertyStateListeners
by implementing the methods for adding, removing, and getting listeners.Methods in org.jdesktop.beansbinding that return PropertyModifier and TypeMethodDescriptionBinding.getSourceProperty()
Returns theBinding's
source property, which may not benull
.final Property
PropertyStateEvent.getSourceProperty()
Returns theProperty
whose state has changed.Binding.getTargetProperty()
Returns theBinding's
target property, which may not benull
.Methods in org.jdesktop.beansbinding with parameters of type PropertyModifier and TypeMethodDescriptionstatic final <S,
V> BeanProperty<S, V> Creates an instance ofBeanProperty
for the given base property and path.static final <S,
V> ELProperty<S, V> Creates an instance ofELProperty
for the given base property and expression.static <SS,
SV, TS, TV>
AutoBinding<SS,SV, TS, TV> Bindings.createAutoBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, SV> sourceProperty, TS targetObject, Property<TS, TV> targetProperty) Creates an instance ofAutoBinding
that binds a property of a source object to a property of a target object.static <SS,
SV, TS, TV>
AutoBinding<SS,SV, TS, TV> Bindings.createAutoBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, SV> sourceProperty, TS targetObject, Property<TS, TV> targetProperty, String name) Creates a named instance ofAutoBinding
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 ofAutoBinding
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, String name) Creates a named instance ofAutoBinding
that binds a source object to a property of a target object.protected final void
Binding.setSourceProperty
(Property<SS, SV> sourceProperty) Sets theBinding's
source property.protected final void
Binding.setTargetProperty
(Property<TS, TV> targetProperty) Sets theBinding's
target property.Constructors in org.jdesktop.beansbinding with parameters of type PropertyModifierConstructorDescriptionprotected
AutoBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, SV> sourceProperty, TS targetObject, Property<TS, TV> targetProperty, String name) Create an instance ofAutoBinding
between two properties of two objects, with the given update strategy.protected
Binding
(SS sourceObject, Property<SS, SV> sourceProperty, TS targetObject, Property<TS, TV> targetProperty, String name) Create an instance ofBinding
between two properties of two objects.PropertyStateEvent
(Property sourceProperty, Object sourceObject, boolean valueChanged, Object oldValue, Object newValue, boolean writeableChanged, boolean isWriteable) Creates an instance ofPropertyStateEvent
characterizing a change in aProperty's
state for a particular source object. -
Uses of Property in org.jdesktop.swingbinding
Methods in org.jdesktop.swingbinding with parameters of type PropertyModifier and TypeMethodDescriptionJTableBinding.addColumnBinding
(int index, Property<E, ?> columnProperty) Creates aColumnBinding
and inserts it at the given index into the list ofColumnBindings
maintained by thisJTableBinding
.JTableBinding.addColumnBinding
(int index, Property<E, ?> columnProperty, String name) Creates aColumnBinding
and inserts it at the given index into the list ofColumnBindings
maintained by thisJTableBinding
.JTableBinding.addColumnBinding
(Property<E, ?> columnProperty) Creates aColumnBinding
and adds it to the end of the list ofColumnBindings
maintained by thisJTableBinding
.JTableBinding.addColumnBinding
(Property<E, ?> columnProperty, String name) Creates a namedColumnBinding
and adds it to the end of the list ofColumnBindings
maintained by thisJTableBinding
.static <E,
TS> JComboBoxBinding<E, List<E>, TS> SwingBindings.createJComboBoxBinding
(AutoBinding.UpdateStrategy strategy, List<E> sourceList, TS targetObject, Property<TS, ? extends JComboBox> targetJComboBoxProperty) Creates aJComboBoxBinding
from a direct reference to aList
and an object and property that resolves to aJComboBox
.static <E,
TS> JComboBoxBinding<E, List<E>, TS> SwingBindings.createJComboBoxBinding
(AutoBinding.UpdateStrategy strategy, List<E> sourceList, TS targetObject, Property<TS, ? extends JComboBox> targetJComboBoxProperty, String name) Creates a namedJComboBoxBinding
from a direct reference to aList
and an object and property that resolves to aJComboBox
.static <E,
SS> JComboBoxBinding<E, SS, JComboBox> SwingBindings.createJComboBoxBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, JComboBox targetJComboBox) Creates aJComboBoxBinding
from an object and property that resolves to aList
and a direct reference to aJComboBox
.static <E,
SS> JComboBoxBinding<E, SS, JComboBox> SwingBindings.createJComboBoxBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, JComboBox targetJComboBox, String name) Creates a namedJComboBoxBinding
from an object and property that resolves to aList
and a direct reference to aJComboBox
.static <E,
SS, TS> JComboBoxBinding<E, SS, TS> SwingBindings.createJComboBoxBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JComboBox> targetJComboBoxProperty) Creates aJComboBoxBinding
from an object and property that resolves to aList
and an object and property that resolves to aJComboBox
.static <E,
SS, TS> JComboBoxBinding<E, SS, TS> SwingBindings.createJComboBoxBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JComboBox> targetJComboBoxProperty, String name) Creates a namedJComboBoxBinding
from an object and property that resolves to aList
and an object and property that resolves to aJComboBox
.static <E,
TS> JListBinding<E, List<E>, TS> SwingBindings.createJListBinding
(AutoBinding.UpdateStrategy strategy, List<E> sourceList, TS targetObject, Property<TS, ? extends JList> targetJListProperty) Creates aJListBinding
from a direct reference to aList
and an object and property that resolves to aJList
.static <E,
TS> JListBinding<E, List<E>, TS> SwingBindings.createJListBinding
(AutoBinding.UpdateStrategy strategy, List<E> sourceList, TS targetObject, Property<TS, ? extends JList> targetJListProperty, String name) Creates a namedJListBinding
from a direct reference to aList
and an object and property that resolves to aJList
.static <E,
SS> JListBinding<E, SS, JList> SwingBindings.createJListBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, JList targetJList) Creates aJListBinding
from an object and property that resolves to aList
and a direct reference to aJList
.static <E,
SS> JListBinding<E, SS, JList> SwingBindings.createJListBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, JList targetJList, String name) Creates a namedJListBinding
from an object and property that resolves to aList
and a direct reference to aJList
.static <E,
SS, TS> JListBinding<E, SS, TS> SwingBindings.createJListBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JList> targetJListProperty) Creates aJListBinding
from an object and property that resolves to aList
and an object and property that resolves to aJList
.static <E,
SS, TS> JListBinding<E, SS, TS> SwingBindings.createJListBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JList> targetJListProperty, String name) Creates a namedJListBinding
from an object and property that resolves to aList
and an object and property that resolves to aJList
.static <E,
TS> JTableBinding<E, List<E>, TS> SwingBindings.createJTableBinding
(AutoBinding.UpdateStrategy strategy, List<E> sourceList, TS targetObject, Property<TS, ? extends JTable> targetJTableProperty) Creates aJTableBinding
from a direct reference to aList
and an object and property that resolves to aJTable
.static <E,
TS> JTableBinding<E, List<E>, TS> SwingBindings.createJTableBinding
(AutoBinding.UpdateStrategy strategy, List<E> sourceList, TS targetObject, Property<TS, ? extends JTable> targetJTableProperty, String name) Creates a namedJTableBinding
from a direct reference to aList
and an object and property that resolves to aJTable
.static <E,
SS> JTableBinding<E, SS, JTable> SwingBindings.createJTableBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, JTable targetJTable) Creates aJTableBinding
from an object and property that resolves to aList
and a direct reference to aJTable
.static <E,
SS> JTableBinding<E, SS, JTable> SwingBindings.createJTableBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, JTable targetJTable, String name) Creates a namedJTableBinding
from an object and property that resolves to aList
and a direct reference to aJTable
.static <E,
SS, TS> JTableBinding<E, SS, TS> SwingBindings.createJTableBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JTable> targetJTableProperty) Creates aJTableBinding
from an object and property that resolves to aList
and an object and property that resolves to aJTable
.static <E,
SS, TS> JTableBinding<E, SS, TS> SwingBindings.createJTableBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JTable> targetJTableProperty, String name) Creates a namedJTableBinding
from an object and property that resolves to aList
and an object and property that resolves to aJTable
.JListBinding.setDetailBinding
(Property<E, ?> detailProperty) Creates aDetailBinding
and sets it as theDetailBinding
for thisJListBinding
.JListBinding.setDetailBinding
(Property<E, ?> detailProperty, String name) Creates a namedDetailBinding
and sets it as theDetailBinding
for thisJListBinding
.Constructors in org.jdesktop.swingbinding with parameters of type PropertyModifierConstructorDescriptionprotected
JComboBoxBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JComboBox> targetJComboBoxProperty, String name) Constructs an instance ofJComboBoxBinding
.protected
JListBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JList> targetJListProperty, String name) Constructs an instance ofJListBinding
.protected
JTableBinding
(AutoBinding.UpdateStrategy strategy, SS sourceObject, Property<SS, List<E>> sourceListProperty, TS targetObject, Property<TS, ? extends JTable> targetJTableProperty, String name) Constructs an instance ofJTableBinding
. -
Uses of Property in org.jdesktop.swingbinding.impl
Constructors in org.jdesktop.swingbinding.impl with parameters of type PropertyModifierConstructorDescriptionAbstractColumnBinding
(int column, Property columnSource, Property columnTarget, String name)