Java com.jgoodies.binding.beans BeanAdapter fields, constructors, methods, implement or subclass

Example usage for Java com.jgoodies.binding.beans BeanAdapter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.jgoodies.binding.beans BeanAdapter.

The text is from its open source code.

Constructor

BeanAdapter(B bean)
Constructs a BeanAdapter for the given bean; does not observe changes.

Installs a default bean channel that checks the identity not equity to ensure that listeners are re-registered properly if the old and new bean are equal but not the same.

BeanAdapter(ValueModel beanChannel)
Constructs a BeanAdapter for the given bean channel; does not observe changes.

It is strongly recommended that the bean channel checks the identity not equity.

BeanAdapter(B bean, boolean observeChanges)
Constructs a BeanAdapter for the given bean; observes changes if specified.

Installs a default bean channel that checks the identity not equity to ensure that listeners are reregistered properly if the old and new bean are equal but not the same.

BeanAdapter(ValueModel beanChannel, boolean observeChanges)
Constructs a BeanAdapter for the given bean channel; observes changes if specified.

It is strongly recommended that the bean channel checks the identity not equity.

Method

voidaddBeanPropertyChangeListener(String propertyName, PropertyChangeListener listener)
Adds a PropertyChangeListener to the list of bean listeners for a specific property.
voidaddBeanPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the list of bean listeners.
SimplePropertyAdaptergetValueModel(String propertyName)
Looks up and lazily creates a ValueModel that adapts the bound property with the specified name.