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 Summary
Fields Modifier and Type Field Description protected BindingContextbindingContext- 
Fields inherited from interface com.inductiveautomation.perspective.gateway.api.Binding
BAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUND 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBinding(BindingContext bindingContext) 
- 
Method Summary
All 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.AbstractLifecycle
isRunning, onShutdown, onStartup, shutdown, startup 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.Binding
isBidirectional, onUserRefresh, shutdown, startup 
 - 
 
 - 
 
- 
- 
Field Detail
- 
bindingContext
protected final BindingContext bindingContext
 
 - 
 
- 
Constructor Detail
- 
AbstractBinding
protected AbstractBinding(@Nonnull BindingContext bindingContext) 
 - 
 
- 
Method Detail
- 
onTargetUpdated
public 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 interfaceBinding
 
- 
onTargetPropertyChanged
protected void onTargetPropertyChanged(QualifiedValue newValue)
 
 - 
 
 -