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 SummaryFields inherited from class com.inductiveautomation.perspective.gateway.binding.AbstractBindingbindingContextFields inherited from interface com.inductiveautomation.perspective.gateway.api.BindingBAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUNDFields inherited from interface com.inductiveautomation.perspective.common.config.constants.PropertyBindingConstantsCONFIG_SOURCE_PATH, TYPE_ID
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractBindingonTargetUpdatedMethods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycleisRunning, shutdown, startup
- 
Constructor Details- 
PropertyBindingpublic PropertyBinding(BindingContext bindingContext, BindingConfig bindingConfig) throws ConfigurationException - Throws:
- ConfigurationException
 
 
- 
- 
Method Details- 
isBidirectionalpublic boolean isBidirectional()- Specified by:
- isBidirectionalin interface- Binding
- 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 interface- Binding
 
- 
onStartupprotected void onStartup()- Specified by:
- onStartupin class- AbstractLifecycle
 
- 
onTargetPropertyChanged- Overrides:
- onTargetPropertyChangedin class- AbstractBinding
 
- 
onShutdownprotected void onShutdown()- Specified by:
- onShutdownin class- AbstractLifecycle
 
- 
onUserRefreshpublic 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 interface- Binding
 
 
-