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

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

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

java.beans.PropertyChangeListener changedUpdateHandler
Listens to property changes and updates the changed property.


changed

boolean changed
Indicates whether a registered model has changed.


componentModels

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

java.util.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 javax.swing.table.AbstractTableModel implements Serializable

Serialized Fields

listModel

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

java.lang.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 java.lang.Object implements Serializable

Serialized Fields

listenerList

javax.swing.event.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 javax.swing.colorchooser.DefaultColorSelectionModel implements Serializable

Serialized Fields

subject

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


defaultColor

java.awt.Color defaultColor
An optional color that is returned as selected color if the underlying ValueModel returns null.

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

Serialized Fields

listModel

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

java.beans.PropertyChangeListener selectionChangeHandler
Holds the listener that handles selection changes.

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

Serialized Fields

prefs

java.util.prefs.Preferences prefs
Refers to the preferences node that is used to persist the bound data.


key

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


type

java.lang.Class<T> type
Refers to the type of accepted values.


defaultValue

java.lang.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 javax.swing.JToggleButton.ToggleButtonModel implements Serializable

Serialized Fields

subject

ValueModel subject
Refers to the underlying ValueModel that stores the state.


choice

java.lang.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 javax.swing.JToggleButton.ToggleButtonModel implements Serializable

Serialized Fields

subject

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


selectedValue

java.lang.Object selectedValue
The value that represents the selected state.


deselectedValue

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

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

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

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

java.lang.String propertyName
Holds the name of the adapted property.


getterName

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

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

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


cachedBeanClass

java.lang.Class<T> cachedBeanClass
Holds the bean class associated with the cached property descriptor.

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

Serialized Fields

source

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

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

java.lang.String propertyName
Holds the name of the adapted property.

See Also:
PropertyAdapter.getPropertyName()

getterName

java.lang.String getterName
Holds the optional name of the property's getter.


setterName

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

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

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

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


cachedBeanClass

java.lang.Class<T> cachedBeanClass
Holds the bean class associated with the cached property descriptor.

Class com.jgoodies.binding.beans.PropertyException extends java.lang.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

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

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

java.lang.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 javax.swing.text.DateFormatter implements Serializable

Serialized Fields

emptyValue

java.util.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 javax.swing.text.NumberFormatter implements Serializable

Serialized Fields

emptyValue

java.lang.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 java.util.ArrayList<E> implements Serializable

serialVersionUID: -6165677201152015546L

Serialized Fields

listenerList

javax.swing.event.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

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

java.beans.PropertyChangeListener listChangeHandler
Handles changes of the list.


listDataChangeHandler

javax.swing.event.ListDataListener listDataChangeHandler
Handles structural and content changes of the list model.


listenerList

javax.swing.event.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 java.util.LinkedList<E> implements Serializable

serialVersionUID: 5753378113505707237L

Serialized Fields

listenerList

javax.swing.event.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

java.beans.PropertyChangeListener selectionChangeHandler
The PropertyChangeListener used to handle changes of the selection.


selectionIndexChangeHandler

java.beans.PropertyChangeListener selectionIndexChangeHandler
The PropertyChangeListener used to handle changes of the selection index.


oldSelection

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

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

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

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

java.lang.String trueText

falseText

java.lang.String falseText

nullText

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

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

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

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

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

java.lang.Boolean value
Holds the current trigger state.

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

Serialized Fields

value

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