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
 
 public class PropertyBinding extends AbstractBinding implements PropertyBindingConstants 
- 
- 
Field Summary- 
Fields inherited from class com.inductiveautomation.perspective.gateway.binding.AbstractBindingbindingContext
 - 
Fields inherited from interface com.inductiveautomation.perspective.gateway.api.BindingBAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUND
 - 
Fields inherited from interface com.inductiveautomation.perspective.common.config.constants.PropertyBindingConstantsCONFIG_SOURCE_PATH, TYPE_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description PropertyBinding(BindingContext bindingContext, BindingConfig bindingConfig)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBidirectional()protected voidonShutdown()protected voidonStartup()voidonTargetPropertyChanged(QualifiedValue newTargetValue)voidonUserRefresh()Called to prompt the binding to produce a value as soon as possible.java.util.Collection<PropertyReference>resolveReferences()- 
Methods inherited from class com.inductiveautomation.perspective.gateway.binding.AbstractBindingonTargetUpdated
 - 
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycleisRunning, shutdown, startup
 
- 
 
- 
- 
- 
Constructor Detail- 
PropertyBindingpublic PropertyBinding(BindingContext bindingContext, BindingConfig bindingConfig) throws ConfigurationException - Throws:
- ConfigurationException
 
 
- 
 - 
Method Detail- 
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.
 
 - 
resolveReferencespublic java.util.Collection<PropertyReference> resolveReferences() - Specified by:
- resolveReferencesin interface- Binding
 
 - 
onStartupprotected void onStartup() - Specified by:
- onStartupin class- AbstractLifecycle
 
 - 
onTargetPropertyChangedpublic void onTargetPropertyChanged(QualifiedValue newTargetValue) - 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
 
 
- 
 
-