Class SimpleBoundPropertyAdapter
java.lang.Object
com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
com.inductiveautomation.factorypmi.application.binding.SimpleBoundPropertyAdapter
- All Implemented Interfaces:
- Adapter,- Adapter.ValueHolder,- SearchablePropertyAdapter,- PropertyAdapter,- PropertyChangeListener,- EventListener
public class SimpleBoundPropertyAdapter
extends AbstractPropertyAdapter
implements SearchablePropertyAdapter, PropertyChangeListener
- 
Nested Class SummaryNested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapterAbstractPropertyAdapter.EdtUpdateValueNested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.AdapterAdapter.ValueHolderNested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapterPropertyAdapter.PAType
- 
Field SummaryFields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapterappContext, isTargetPropertyDynamic, log, overlayOptOut, target, targetPropertyName, value, valueClass
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(VisionClientContext appContext) Calls connect() on all interaction descriptorsvoidCalls disconnect() on all interaction descriptorsReturns the interaction descriptor that points towards the property we are bound toRetrieves an array of the interactions that this adapter depends on.booleanvoidListens to the Interaction Descriptor (source property changes)voidsetBidirectional(boolean bidirectional) voidsetInteraction(PropertyInteractionDescriptor descriptor) Sets the interaction descriptor for this binding.voidstartup()Notifies the adapter that it is becoming active, and should start any polling/threaded activities.protected voidSets the target property to the value.Methods inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdaptergetQValue, getTarget, getTargetDesc, getTargetFullPath, getTargetPropertyName, getValueClass, handleError, handleNullToPrimitive, initLogger, isDataUsed, isDataUsed, isOverlayOptOut, isTargetPropertyDynamic, isValid, isValueClassPrimitive, setOverlayOptOut, setQValue, setSetterMethodName, setTarget, setTargetPropertyDynamic, setTargetPropertyName, setValue, setValueClass, shutdown, toString, updateQuality, updateValue, useQualityMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.factorypmi.application.binding.AdaptergetTarget, isValid, setTarget, shutdownMethods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdaptergetTargetPropertyName, setTargetPropertyName
- 
Constructor Details- 
SimpleBoundPropertyAdapterpublic SimpleBoundPropertyAdapter()
 
- 
- 
Method Details- 
connectDescription copied from class:AbstractPropertyAdapterCalls connect() on all interaction descriptors- Specified by:
- connectin interface- Adapter
- Overrides:
- connectin class- AbstractPropertyAdapter
 
- 
disconnectpublic void disconnect()Description copied from class:AbstractPropertyAdapterCalls disconnect() on all interaction descriptors- Specified by:
- disconnectin interface- Adapter
- Overrides:
- disconnectin class- AbstractPropertyAdapter
 
- 
startuppublic void startup()Description copied from interface:AdapterNotifies the adapter that it is becoming active, and should start any polling/threaded activities.- Specified by:
- startupin interface- Adapter
- Overrides:
- startupin class- AbstractPropertyAdapter
 
- 
getInteractionsDescription copied from interface:AdapterRetrieves an array of the interactions that this adapter depends on. An interaction descriptor describes an inter-component interaction.- Specified by:
- getInteractionsin interface- Adapter
 
- 
getBindingConfiguration- Specified by:
- getBindingConfigurationin interface- SearchablePropertyAdapter
 
- 
propertyChangeListens to the Interaction Descriptor (source property changes)- Specified by:
- propertyChangein interface- PropertyChangeListener
 
- 
updateTargetprotected void updateTarget()Description copied from class:AbstractPropertyAdapterSets the target property to the value. If a problem occurs, the problem is displayed, not thrown. Note that updateValue() is probably a better bet, as it updates both value and quality.- Overrides:
- updateTargetin class- AbstractPropertyAdapter
 
- 
getInteractionReturns the interaction descriptor that points towards the property we are bound to
- 
setInteractionSets the interaction descriptor for this binding.
- 
isBidirectionalpublic boolean isBidirectional()
- 
setBidirectionalpublic void setBidirectional(boolean bidirectional) 
- 
getReferenceType- Specified by:
- getReferenceTypein interface- PropertyAdapter
 
 
-