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 BufferedValueModels 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

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)

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)

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.


cachedPropertyDescriptor

PropertyDescriptor cachedPropertyDescriptor
Describes the property accessor; basically a getter and setter.


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 Object implements Serializable

Serialized Fields

changeSupport

ExtendedPropertyChangeSupport changeSupport
If any PropertyChangeListeners have been registered, the changeSupport field describes them.

See Also:
Model.addPropertyChangeListener(PropertyChangeListener), Model.addPropertyChangeListener(String, PropertyChangeListener), Model.removePropertyChangeListener(PropertyChangeListener), Model.removePropertyChangeListener(String, PropertyChangeListener), PropertyChangeSupport

vetoSupport

VetoableChangeSupport vetoSupport
If any VetoableChangeListeners have been registered, the vetoSupport field describes them.

See Also:
Model.addVetoableChangeListener(VetoableChangeListener), Model.addVetoableChangeListener(String, VetoableChangeListener), Model.removeVetoableChangeListener(VetoableChangeListener), Model.removeVetoableChangeListener(String, VetoableChangeListener), Model.fireVetoableChange(String, Object, Object)

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.


cachedPropertyDescriptor

PropertyDescriptor cachedPropertyDescriptor
Describes the property accessor; basically a getter and setter.


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.formatter

Class com.jgoodies.binding.formatter.EmptyDateFormatter extends DateFormatter implements Serializable

Serialized Fields

emptyValue

Date emptyValue
Holds the date that is converted to an empty string and that is the result of converting blank strings to a value.

See Also:
EmptyDateFormatter.stringToValue(String), EmptyDateFormatter.valueToString(Object)

Class com.jgoodies.binding.formatter.EmptyNumberFormatter extends NumberFormatter implements Serializable

Serialized Fields

emptyValue

Number emptyValue
Holds the Number that is converted to an empty string and that is the result of converting blank strings to a value.

See Also:
EmptyNumberFormatter.stringToValue(String), EmptyNumberFormatter.valueToString(Object)

Package com.jgoodies.binding.list

Class com.jgoodies.binding.list.ArrayListModel extends ArrayList<E> implements Serializable

serialVersionUID: -6165677201152015546L

Serialized Fields

listenerList

EventListenerList listenerList
Holds the registered ListDataListeners. The list that holds these listeners is initialized lazily in #getEventListenerList.

See Also:
ArrayListModel.addListDataListener(ListDataListener), ArrayListModel.removeListDataListener(ListDataListener)

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.LinkedListModel extends LinkedList<E> implements Serializable

serialVersionUID: 5753378113505707237L

Serialized Fields

listenerList

EventListenerList listenerList
Holds the registered ListDataListeners. The list that holds these listeners is initialized lazily in #getEventListenerList.

See Also:
LinkedListModel.addListDataListener(ListDataListener), LinkedListModel.removeListDataListener(ListDataListener)

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 AbstractValueModel implements Serializable

Serialized Fields

subject

ValueModel subject
Holds the ValueModel that in turn holds the source value.


subjectValueChangeHandler

PropertyChangeListener subjectValueChangeHandler

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.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.ComponentValueModel extends AbstractValueModel implements Serializable

Serialized Fields

subject

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


enabled

boolean enabled

visible

boolean visible

editable

boolean editable

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.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



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