public abstract class AbstractSyntheticBinding
extends AbstractFullBinding
Base class for bindings that observe synthetic Swing properties.
| Fields inherited from class | Fields |
|---|---|
class AbstractFullBinding |
converter, reverseConverter, sourceBinding, targetBinding, validator |
| Constructor and description |
|---|
AbstractSyntheticBinding(PropertyBinding source, TargetBinding target, Class klass, String propertyName)Creates a synthetic binding for the supplied property and component type. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
bind()Installs the synthetic listeners if this binding is not already active. |
|
public void |
rebind()Reinstalls the synthetic listeners when the binding is already active. |
|
public void |
setSourceBinding(SourceBinding source)Validates and stores the source binding for this synthetic property. |
|
public void |
setTargetBinding(TargetBinding target)Stores the target binding that receives propagated updates. |
|
protected abstract void |
syntheticBind()Hooks the synthetic listeners required by this binding. |
|
protected abstract void |
syntheticUnbind()Removes any synthetic listeners installed by this binding. |
|
public void |
unbind()Removes the synthetic listeners if this binding is currently active. |
| Methods inherited from class | Name |
|---|---|
class AbstractFullBinding |
getConverter, getReverseConverter, getSourceBinding, getTargetBinding, getValidator, reverseUpdate, setConverter, setReverseConverter, setSourceBinding, setTargetBinding, setValidator, update |
Creates a synthetic binding for the supplied property and component type.
source - the source property bindingtarget - the target bindingklass - the supported component typepropertyName - the synthetic property nameInstalls the synthetic listeners if this binding is not already active.
Reinstalls the synthetic listeners when the binding is already active.
Validates and stores the source binding for this synthetic property.
source - the source binding to validateStores the target binding that receives propagated updates.
target - the target bindingHooks the synthetic listeners required by this binding.
Removes any synthetic listeners installed by this binding.
Removes the synthetic listeners if this binding is currently active.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.