Class AbstractBinding
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
- 
- com.inductiveautomation.perspective.gateway.binding.AbstractBinding
 
 
- 
- All Implemented Interfaces:
- Binding
 - Direct Known Subclasses:
- PropertyBinding
 
 public abstract class AbstractBinding extends AbstractLifecycle implements Binding Base class for anyBindingwhich should derive fromAbstractLifecycle
- 
- 
Field SummaryFields Modifier and Type Field Description protected BindingContextbindingContext- 
Fields inherited from interface com.inductiveautomation.perspective.gateway.api.BindingBAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUND
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractBinding(BindingContext bindingContext)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonTargetPropertyChanged(QualifiedValue newValue)voidonTargetUpdated(PropertyTreeChangeEvent propertyChangeEvent)This will be called when the target property changes from a source other than the binding, if the binding returns true fromBinding.isBidirectional()and there are no transforms present.- 
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycleisRunning, onShutdown, onStartup, shutdown, startup
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.BindingisBidirectional, onUserRefresh, resolveReferences, shutdown, startup
 
- 
 
- 
- 
- 
Field Detail- 
bindingContextprotected final BindingContext bindingContext 
 
- 
 - 
Constructor Detail- 
AbstractBindingprotected AbstractBinding(@Nonnull BindingContext bindingContext)
 
- 
 - 
Method Detail- 
onTargetUpdatedpublic void onTargetUpdated(PropertyTreeChangeEvent propertyChangeEvent) Description copied from interface:BindingThis will be called when the target property changes from a source other than the binding, if the binding returns true fromBinding.isBidirectional()and there are no transforms present.- Specified by:
- onTargetUpdatedin interface- Binding
 
 - 
onTargetPropertyChangedprotected void onTargetPropertyChanged(QualifiedValue newValue) 
 
- 
 
-