Package org.jdesktop.swingbinding.impl
Class AbstractColumnBinding
- java.lang.Object
-
- org.jdesktop.beansbinding.Binding
-
- org.jdesktop.swingbinding.impl.AbstractColumnBinding
-
- Direct Known Subclasses:
JListBinding.DetailBinding,JTableBinding.ColumnBinding
public abstract class AbstractColumnBinding extends Binding
- Author:
- Shannon Hickey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jdesktop.beansbinding.Binding
Binding.CST, Binding.SyncFailure, Binding.SyncFailureType, Binding.ValueResult<V>
-
-
Constructor Summary
Constructors Constructor Description AbstractColumnBinding(int column, Property columnSource, Property columnTarget, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindImpl()Called byBinding.bind()to allow subclasses to initiate binding.intgetColumn()protected voidsetColumn(int column)voidunbindImpl()Called byBinding.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, notifySyncWarning, 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
-
-
-
-
Method Detail
-
getColumn
public final int getColumn()
-
setColumn
protected final void setColumn(int column)
-
bindImpl
public void bindImpl()
Description copied from class:BindingCalled byBinding.bind()to allow subclasses to initiate binding. Subclasses typically need not installPropertyStateListenerson the source property and target property as they will be notified by calls toBinding.sourceChangedImpl(org.jdesktop.beansbinding.PropertyStateEvent)andBinding.targetChangedImpl(org.jdesktop.beansbinding.PropertyStateEvent)when the source and target properties change respectively.- Specified by:
bindImplin classBinding- See Also:
Binding.unbindImpl()
-
unbindImpl
public void unbindImpl()
Description copied from class:BindingCalled byBinding.unbind()to allow subclasses to uninitiate binding.- Specified by:
unbindImplin classBinding- See Also:
Binding.bindImpl()
-
-