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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jdesktop.beansbinding.Binding
Binding.SyncFailure, Binding.SyncFailureType, Binding.ValueResult<V>
-
-
Constructor Summary
Constructors Constructor Description AbstractColumnBinding(int column, Property columnSource, Property columnTarget, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindImpl()
Called byBinding.bind()
to allow subclasses to initiate binding.int
getColumn()
protected void
setColumn(int column)
void
unbindImpl()
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, 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:Binding
Called byBinding.bind()
to allow subclasses to initiate binding. Subclasses typically need not installPropertyStateListeners
on 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:
bindImpl
in classBinding
- See Also:
Binding.unbindImpl()
-
unbindImpl
public void unbindImpl()
Description copied from class:Binding
Called byBinding.unbind()
to allow subclasses to uninitiate binding.- Specified by:
unbindImpl
in classBinding
- See Also:
Binding.bindImpl()
-
-