Class PropertyBinding
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.perspective.gateway.binding.AbstractBinding
com.inductiveautomation.perspective.gateway.binding.property.PropertyBinding
- All Implemented Interfaces:
 PropertyBindingConstants,Binding
- 
Field Summary
Fields inherited from class com.inductiveautomation.perspective.gateway.binding.AbstractBinding
bindingContextFields inherited from interface com.inductiveautomation.perspective.gateway.api.Binding
BAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUNDFields inherited from interface com.inductiveautomation.perspective.common.config.constants.PropertyBindingConstants
CONFIG_SOURCE_PATH, TYPE_ID - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidprotected voidvoidonTargetPropertyChanged(QualifiedValue newTargetValue) voidCalled to prompt the binding to produce a value as soon as possible.Methods inherited from class com.inductiveautomation.perspective.gateway.binding.AbstractBinding
onTargetUpdatedMethods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup 
- 
Constructor Details
- 
PropertyBinding
public PropertyBinding(BindingContext bindingContext, BindingConfig bindingConfig) throws ConfigurationException - Throws:
 ConfigurationException
 
 - 
 - 
Method Details
- 
isBidirectional
public boolean isBidirectional()- Specified by:
 isBidirectionalin interfaceBinding- Returns:
 - true if this binding wants to be bidirectional. Note that if any transforms are present, then the binding will not operate in a bidirectional way.
 
 - 
resolveReferences
- Specified by:
 resolveReferencesin interfaceBinding
 - 
onStartup
protected void onStartup()- Specified by:
 onStartupin classAbstractLifecycle
 - 
onTargetPropertyChanged
- Overrides:
 onTargetPropertyChangedin classAbstractBinding
 - 
onShutdown
protected void onShutdown()- Specified by:
 onShutdownin classAbstractLifecycle
 - 
onUserRefresh
public void onUserRefresh()Description copied from interface:BindingCalled to prompt the binding to produce a value as soon as possible. This _not_ the normal way that bindings work. Bindings are expected to produce a value un-prompted after startup, and then again whenever they feel is appropriate. This is there to allow the user to call component.refreshBinding(property) and prompt a non-polling binding to run.- Specified by:
 onUserRefreshin interfaceBinding
 
 -