Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

# Serialized Form

Package com.jgoodies.binding

Class com.jgoodies.binding.PresentationModel extends Model implements Serializable

Serialized Fields

### beanAdapter

    BeanAdapter<B> beanAdapter

  Refers to the BeanAdapter that provides all underlying behavior to vend adapting ValueModels, track bean changes, and to register with bound bean properties.

### triggerChannel

    ValueModel triggerChannel

  Holds a three-state trigger channel that can be used to trigger commit and reset events in instances of BufferedValueModel. The trigger value is changed to true in `#triggerCommit` and is changed to false in `#triggerFlush`.

  The trigger channel is initialized as a `Trigger` but may be replaced by any other ValueModel that accepts booleans.

  See Also:
    `PresentationModel.getTriggerChannel()`, `PresentationModel.setTriggerChannel(ValueModel)`, `PresentationModel.getBufferedModel(String)`

### wrappedBuffers

    Map<K,V> wrappedBuffers

  Maps property names to instances of the inner class WrappedBuffer. These hold a BufferedValueModel associated with the property name, as well as an optional getter and setter name. These accessor names are used to check that multiple calls to `#getBufferedModel` use the same getter and setter for a given property name.

  The indirectly stored BufferedValueModel are checked whenever the buffering state is updated. And these model's trigger channel is updated when the PresentationModel gets a new trigger channel.

  See Also:
    `PresentationModel.getBufferedModel(String)`, `PresentationModel.getBufferedModel(String, String, String)`, `PresentationModel.isBuffering()`, `PresentationModel.setTriggerChannel(ValueModel)`

### bufferingUpdateHandler

    PropertyChangeListener bufferingUpdateHandler

  Listens to value changes and validates this model. The validation result is available in the validationResultHolder.

  Also listens to changes of the buffering property in `BufferedValueModel`s and updates the buffering state - if necessary.

### buffering

    boolean buffering

  Indicates whether a registered buffered model has a pending change, in other words whether any of the values has been edited or not.

### changedUpdateHandler

    PropertyChangeListener changedUpdateHandler

  Listens to property changes and updates the changed property.

### changed

    boolean changed

  Indicates whether a registered model has changed.

### componentModels

    Map<K,V> componentModels

  Maps property names to instances of ComponentValueModel. Used to ensure that multiple calls to #getComponentModel return the same instance.

  See Also:
    `PresentationModel.getComponentModel(String)`

### bufferedComponentModels

    Map<K,V> bufferedComponentModels

  Maps property names to instances of ComponentValueModel. Used to ensure that multiple calls to #getBufferedComponentModel return the same instance.

  See Also:
    `PresentationModel.getBufferedComponentModel(String)`

Package com.jgoodies.binding.adapter

Class com.jgoodies.binding.adapter.AbstractTableAdapter extends AbstractTableModel implements Serializable

Serialized Fields

### changeHandler

    ListDataListener changeHandler

  Listens to ListModel updates and fires TableModel change events.

  See Also:
    `AbstractTableAdapter.createChangeHandler()`

### columnNames

    String[] columnNames

  Holds an optional array of column names that is used by the default implementation of the TableModel methods `#getColumnCount()` and `#getColumnName(int)`.

  See Also:
    `AbstractTableAdapter.getColumnCount()`, `AbstractTableAdapter.getColumnName(int)`

### listModel

    ListModel listModel

  Refers to the ListModel that holds the table row elements and reports changes in the structure and content. The elements of the list model can be requested using `#getRow(int)`. A typical subclass will use the elements to implement the TableModel method `#getValueAt(int, int)`.

  See Also:
    `AbstractTableAdapter.getRow(int)`, `AbstractTableAdapter.getRowCount()`, `TableModel.getValueAt(int, int)`

Class com.jgoodies.binding.adapter.BoundedRangeAdapter extends Object implements Serializable

Serialized Fields

### listenerList

    EventListenerList listenerList

  The listeners observing model changes.

### subject

    ValueModel subject

### theExtent

    int theExtent

### min

    int min

### max

    int max

### isAdjusting

    boolean isAdjusting

Class com.jgoodies.binding.adapter.ColorSelectionAdapter extends DefaultColorSelectionModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Refers to the underlying ValueModel that is used to read and write values.

### defaultColor

    Color defaultColor

  An optional color that is returned as selected color if the underlying ValueModel returns `null`.

Class com.jgoodies.binding.adapter.ComboBoxAdapter extends AbstractListModel implements Serializable

Serialized Fields

### listModel

    ListModel listModel

  Holds the list of choices.

### selectionHolder

    ValueModel selectionHolder

  Refers to the ValueModel that holds the current selection. In case this adapter is constructed for a SelectionInList or SelectionInListModel, the selection holder will be updated if the SIL or SILModel changes its selection holder.

### selectionChangeHandler

    PropertyChangeListener selectionChangeHandler

  Holds the listener that handles selection changes.

Class com.jgoodies.binding.adapter.PreferencesAdapter extends AbstractValueModel implements Serializable

Serialized Fields

### prefs

    Preferences prefs

  Refers to the preferences node that is used to persist the bound data.

### key

    String key

  Holds the preferences key that is used to access the stored value.

### type

    Class<T> type

  Refers to the type of accepted values.

### defaultValue

    Object defaultValue

  Holds the default value that is used if the preferences do not yet store a value.

Class com.jgoodies.binding.adapter.RadioButtonAdapter extends JToggleButton.ToggleButtonModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Refers to the underlying ValueModel that stores the state.

### choice

    Object choice

  Holds the object that is compared with the subject's value to determine whether this adapter is selected or not.

Class com.jgoodies.binding.adapter.ToggleButtonAdapter extends JToggleButton.ToggleButtonModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Refers to the underlying ValueModel that is used to read and write values.

### selectedValue

    Object selectedValue

  The value that represents the selected state.

### deselectedValue

    Object deselectedValue

  The value that represents the deselected state.

Package com.jgoodies.binding.beans

Class com.jgoodies.binding.beans.BeanAdapter extends Model implements Serializable

Serialized Fields

### beanChannel

    ValueModel beanChannel

  Holds a ValueModel that holds the bean that in turn holds the adapted property.

  See Also:
    `BeanAdapter.getBean()`, `BeanAdapter.setBean(Object)`

### observeChanges

    boolean observeChanges

  Specifies whether we observe property changes and in turn fire state changes.

  See Also:
    `BeanAdapter.getObserveChanges()`

### propertyAdapters

    Map<K,V> propertyAdapters

  Maps property names to the associated SimplePropertyAdapters.

  See Also:
    `BeanAdapter.getValueModel(String)`, `BeanAdapter.getValueModel(String, String, String)`

### indirectChangeSupport

    IndirectPropertyChangeSupport indirectChangeSupport

  Refers to the IndirectPropertyChangeSupport that is used to redirect PropertyChangelisteners to the current target bean.

### storedOldBean

    Object storedOldBean

  Refers to the old bean. Used as old value if the bean changes. Updated after a bean change in the BeanChangeHandler.

### changed

    boolean changed

  Indicates whether a property in the current target been has changed. Will be reset to `false` every time the target bean changes.

  See Also:
    `BeanAdapter.isChanged()`, `BeanAdapter.setBean(Object)`

### propertyChangeHandler

    PropertyChangeListener propertyChangeHandler

  The `PropertyChangeListener` used to handle changes in the bean properties. A new instance is created every time the target bean changes.

Class com.jgoodies.binding.beans.BeanAdapter.SimplePropertyAdapter extends AbstractValueModel implements Serializable

Serialized Fields

### propertyName

    String propertyName

  Holds the name of the adapted property.

### getterName

    String getterName

  Holds the optional name of the property's getter. Used to create the PropertyDescriptor. Also used to reject potential misuse of `BeanAdapter.getValueModel(String)` and `BeanAdapter.getValueModel(String, String, String)`. See the latter methods for details.

### setterName

    String setterName

  Holds the optional name of the property's setter. Used to create the PropertyDescriptor. Also used to reject potential misuse of `BeanAdapter.getValueModel(String)` and `BeanAdapter.getValueModel(String, String, String)`. See the latter methods for details.

### cachedBeanClass

    Class<T> cachedBeanClass

  Holds the bean class associated with the cached property descriptor.

Class com.jgoodies.binding.beans.ExtendedPropertyChangeSupport extends PropertyChangeSupport implements Serializable

Serialized Fields

### source

    Object source

  the object to be provided as the "source" for any generated events

### checkIdentityDefault

    boolean checkIdentityDefault

  The default setting for the identity check. Can be overridden by the #firePropertyChange methods that accept a `checkIdentity` parameter.

Class com.jgoodies.binding.beans.Model extends com.jgoodies.common.bean.AbstractBean implements Serializable

Class com.jgoodies.binding.beans.PropertyAccessException extends PropertyException implements Serializable

Class com.jgoodies.binding.beans.PropertyAdapter extends AbstractValueModel implements Serializable

Serialized Fields

### beanChannel

    ValueModel beanChannel

  Holds a `ValueModel` that holds the bean, that in turn holds the adapted property.

  See Also:
    `PropertyAdapter.getBean()`, `PropertyAdapter.setBean(Object)`

### propertyName

    String propertyName

  Holds the name of the adapted property.

  See Also:
    `PropertyAdapter.getPropertyName()`

### getterName

    String getterName

  Holds the optional name of the property's getter.

### setterName

    String setterName

  Holds the optional name of the property's setter.

### observeChanges

    boolean observeChanges

  Specifies whether we observe property changes and in turn fire state changes.

  See Also:
    `PropertyAdapter.getObserveChanges()`

### storedOldBean

    Object storedOldBean

  Refers to the old bean. Used as old value if the bean changes. Updated after a bean change in the BeanChangeHandler.

### changed

    boolean changed

  Indicates whether a property in the current target been has changed. Will be reset to `false` every time the target bean changes.

  See Also:
    `PropertyAdapter.isChanged()`, `PropertyAdapter.setBean(Object)`

### propertyChangeHandler

    PropertyChangeListener propertyChangeHandler

  The `PropertyChangeListener` used to handle changes in the adapted bean property. A new instance is created every time the target bean changes.

### cachedBeanClass

    Class<T> cachedBeanClass

  Holds the bean class associated with the cached property descriptor.

Class com.jgoodies.binding.beans.PropertyException extends RuntimeException implements Serializable

Class com.jgoodies.binding.beans.PropertyNotBindableException extends PropertyException implements Serializable

Class com.jgoodies.binding.beans.PropertyNotFoundException extends PropertyException implements Serializable

Class com.jgoodies.binding.beans.PropertyUnboundException extends PropertyException implements Serializable

Package com.jgoodies.binding.extras

Class com.jgoodies.binding.extras.DelayedWriteValueModel extends AbstractValueModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Refers to the underlying subject ValueModel.

### timer

    Timer timer

  The Timer used to perform the delayed commit.

### coalesce

    boolean coalesce

  If `true` all pending updates will be coalesced. In other words, an update will be fired if no updates have been received for this model's delay.

### pendingValue

    Object pendingValue

  Holds the most recent pending value. It is updated everytime `#setValue` is invoked.

Class com.jgoodies.binding.extras.NonNullValueModel extends AbstractValueModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Holds the wrapped subject ValueModel.

### defaultValue

    Object defaultValue

  The value returned by this model whenever the underlying (wrapped) ValueModel returns `null`.

Package com.jgoodies.binding.list

Class com.jgoodies.binding.list.IndirectListModel extends Model implements Serializable

Serialized Fields

### listHolder

    ValueModel listHolder

  Holds a `List` or `ListModel` that in turn holds the elements.

### list

    Object list

  Holds a copy of the listHolder's value. Used as the old list when the listHolder's value changes. Required because a ValueModel may use `null` as old value, but the IndirectListModel must know about the old and the new list.

### listSize

    int listSize

  The size of the current list. Used during changes from an old to a new list to check for shorter or longer lists, which in turn leads to different ListDataEvents. Required only if the old and new list are the same instance.

### listChangeHandler

    PropertyChangeListener listChangeHandler

  Handles changes of the list.

### listDataChangeHandler

    ListDataListener listDataChangeHandler

  Handles structural and content changes of the list model.

### listenerList

    EventListenerList listenerList

  Refers to the list of list data listeners that is used to notify registered listeners if the ListModel changes.

Class com.jgoodies.binding.list.SelectionInList extends IndirectListModel<E> implements Serializable

Serialized Fields

### selectionHolder

    ValueModel selectionHolder

  Holds the selection, an instance of `Object`.

### selectionIndexHolder

    ValueModel selectionIndexHolder

  Holds the selection index, an `Integer`.

### selectionChangeHandler

    PropertyChangeListener selectionChangeHandler

  The `PropertyChangeListener` used to handle changes of the selection.

### selectionIndexChangeHandler

    PropertyChangeListener selectionIndexChangeHandler

  The `PropertyChangeListener` used to handle changes of the selection index.

### oldSelection

    Object oldSelection

  Duplicates the value of the selectionHolder. Used to provide better old values in PropertyChangeEvents fired after selectionIndex changes.

### oldSelectionIndex

    int oldSelectionIndex

  Duplicates the value of the selectionIndexHolder. Used to provide better old values in PropertyChangeEvents fired after selectionIndex changes and selection changes.

Package com.jgoodies.binding.util

Class com.jgoodies.binding.util.ChangeTracker extends Model implements Serializable

Serialized Fields

### updateHandler

    PropertyChangeListener updateHandler

  Listens to property changes and updates the changed property.

### changed

    boolean changed

  Indicates whether a registered model has changed.

Package com.jgoodies.binding.value

Class com.jgoodies.binding.value.AbstractConverter extends AbstractWrappedValueModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Holds the ValueModel that in turn holds the source value.

Class com.jgoodies.binding.value.AbstractValueModel extends Model implements Serializable

Class com.jgoodies.binding.value.AbstractVetoableValueModel extends AbstractValueModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Holds the wrapped subject ValueModel that is used to read values from and commit accepted changes to.

Class com.jgoodies.binding.value.AbstractWrappedValueModel extends AbstractValueModel implements Serializable

Serialized Fields

### wrappee

    ValueModel wrappee

  Holds the wrapped ValueModel that is used to read and write value.

### componentPropertyProvider

    ComponentModel componentPropertyProvider

  Provides the component properties: enabled, visible, editable. Is either the wrapped ValueModel or a simple bean.

### valueChangeHandler

    PropertyChangeListener valueChangeHandler

### componentPropertyChangeHandler

    PropertyChangeListener componentPropertyChangeHandler

Class com.jgoodies.binding.value.BufferedValueModel extends AbstractValueModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Holds the subject that provides the underlying value of type `Object`.

### triggerChannel

    ValueModel triggerChannel

  Holds the three-state trigger of type `Boolean`.

### bufferedValue

    Object bufferedValue

  Holds the buffered value. This value is ignored if we are not buffering.

### valueAssigned

    boolean valueAssigned

  Indicates whether a value has been assigned since the last trigger change.

### valueChangeHandler

    com.jgoodies.binding.value.BufferedValueModel.ValueChangeHandler valueChangeHandler

  Holds a PropertyChangeListener that observes subject value changes.

### triggerChangeHandler

    com.jgoodies.binding.value.BufferedValueModel.TriggerChangeHandler triggerChangeHandler

  Holds a PropertyChangeListener that observes trigger changes.

Class com.jgoodies.binding.value.ConverterFactory.BooleanNegator extends AbstractConverter implements Serializable

Class com.jgoodies.binding.value.ConverterFactory.BooleanToStringConverter extends AbstractConverter implements Serializable

Serialized Fields

### trueText

    String trueText

### falseText

    String falseText

### nullText

    String nullText

Class com.jgoodies.binding.value.ConverterFactory.DoubleConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    double multiplier

Class com.jgoodies.binding.value.ConverterFactory.DoubleToIntegerConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    int multiplier

Class com.jgoodies.binding.value.ConverterFactory.FloatConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    float multiplier

Class com.jgoodies.binding.value.ConverterFactory.FloatToIntegerConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    int multiplier

Class com.jgoodies.binding.value.ConverterFactory.IntegerConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    double multiplier

Class com.jgoodies.binding.value.ConverterFactory.LongConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    double multiplier

Class com.jgoodies.binding.value.ConverterFactory.LongToIntegerConverter extends AbstractConverter implements Serializable

Serialized Fields

### multiplier

    int multiplier

Class com.jgoodies.binding.value.ConverterFactory.StringConverter extends AbstractConverter implements Serializable

Serialized Fields

### format

    Format format

  Holds the `Format` used to format and parse.

Class com.jgoodies.binding.value.DefaultComponentValueModel extends AbstractWrappedValueModel implements Serializable

Class com.jgoodies.binding.value.DelayedReadValueModel extends AbstractValueModel implements Serializable

Serialized Fields

### subject

    ValueModel subject

  Refers to the underlying subject ValueModel.

### timer

    Timer timer

  The Timer used to perform the delayed commit.

### coalesce

    boolean coalesce

  If `true` all pending updates will be coalesced. In other words, an update will be fired if no updates have been received for this model's delay.

### oldValue

    Object oldValue

  Holds this model's old value that is returned in `getValue` during a pending change. most recent old value. It is set in `#fireDelayedValueChange`.

### pendingEvt

    PropertyChangeEvent pendingEvt

  Holds the most recent pending PropertyChangeEvent as provided from the subject change notification that this model deferres. `#fireDelayedValueChange`.

Class com.jgoodies.binding.value.Trigger extends AbstractValueModel implements Serializable

Serialized Fields

### value

    Boolean value

  Holds the current trigger state.

Class com.jgoodies.binding.value.ValueHolder extends AbstractValueModel implements Serializable

Serialized Fields

### value

    Object value

  Holds a value of type `Object` that is to be observed.

### checkIdentity

    boolean checkIdentity

  Describes whether a value change event shall be fired if the old and new value are different. If `true` the old and new value are compared with `==`. If `false` the values are compared with `#equals`.

  See Also:
    `ValueHolder.setValue(Object, boolean)`, `Model.firePropertyChange(String, Object, Object, boolean)`, `ExtendedPropertyChangeSupport`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2002-2011 JGoodies Karsten Lentzsch. All Rights Reserved.