org.jdesktop.swingbinding.impl
Class AbstractColumnBinding

java.lang.Object
  extended by org.jdesktop.beansbinding.Binding
      extended by org.jdesktop.swingbinding.impl.AbstractColumnBinding
Direct Known Subclasses:
JListBinding.DetailBinding, JTableBinding.ColumnBinding

public abstract class AbstractColumnBinding
extends Binding


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.beansbinding.Binding
Binding.SyncFailure, Binding.SyncFailureType, Binding.ValueResult<V>
 
Constructor Summary
AbstractColumnBinding(int column, Property columnSource, Property columnTarget, java.lang.String name)
           
 
Method Summary
 void bindImpl()
          Called by Binding.bind() to allow subclasses to initiate binding.
 int getColumn()
           
protected  void setColumn(int column)
           
 void unbindImpl()
          Called by Binding.unbind() to allow subclasses to uninitiate binding.
 
Methods inherited from class org.jdesktop.beansbinding.Binding
addBindingListener, addPropertyChangeListener, addPropertyChangeListener, bind, bindUnmanaged, firePropertyChange, getBindingListeners, getConverter, getName, getPropertyChangeListeners, getPropertyChangeListeners, getSourceNullValue, getSourceObject, getSourceProperty, getSourceUnreadableValue, getSourceValueForTarget, getTargetNullValue, getTargetObject, getTargetProperty, getTargetValueForSource, getValidator, isBound, isManaged, isSourceUnreadableValueSet, notifySynced, notifySyncFailed, paramString, refresh, refreshAndNotify, refreshAndNotifyUnmanaged, refreshUnmanaged, removeBindingListener, removePropertyChangeListener, removePropertyChangeListener, save, saveAndNotify, saveAndNotifyUnmanaged, saveUnmanaged, setConverter, setManaged, setSourceNullValue, setSourceObject, setSourceObjectUnmanaged, setSourceProperty, setSourceUnreadableValue, setTargetNullValue, setTargetObject, setTargetObjectUnmanaged, setTargetProperty, setValidator, sourceChangedImpl, targetChangedImpl, throwIfBound, throwIfManaged, throwIfUnbound, toString, unbind, unbindUnmanaged, unsetSourceUnreadableValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractColumnBinding

public AbstractColumnBinding(int column,
                             Property columnSource,
                             Property columnTarget,
                             java.lang.String name)
Method Detail

getColumn

public final int getColumn()

setColumn

protected final void setColumn(int column)

bindImpl

public void bindImpl()
Description copied from class: Binding
Called by Binding.bind() to allow subclasses to initiate binding. Subclasses typically need not install PropertyStateListeners on the source property and target property as they will be notified by calls to Binding.sourceChangedImpl(org.jdesktop.beansbinding.PropertyStateEvent) and Binding.targetChangedImpl(org.jdesktop.beansbinding.PropertyStateEvent) when the source and target properties change respectively.

Specified by:
bindImpl in class Binding
See Also:
Binding.unbindImpl()

unbindImpl

public void unbindImpl()
Description copied from class: Binding
Called by Binding.unbind() to allow subclasses to uninitiate binding.

Specified by:
unbindImpl in class Binding
See Also:
Binding.bindImpl()