Class CellUpdateAdapter
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
- 
- com.inductiveautomation.factorypmi.application.binding.CellUpdateAdapter
 
 
- 
- All Implemented Interfaces:
- Adapter,- Adapter.ValueHolder,- SearchablePropertyAdapter,- PropertyAdapter,- java.beans.PropertyChangeListener,- java.util.EventListener
 
 public class CellUpdateAdapter extends AbstractPropertyAdapter implements java.beans.PropertyChangeListener, SearchablePropertyAdapter 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCellUpdateAdapter.CellUpdateSpecstatic classCellUpdateAdapter.RowIdentifier- 
Nested classes/interfaces inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapterAbstractPropertyAdapter.EdtUpdateValue
 - 
Nested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.AdapterAdapter.ValueHolder
 - 
Nested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapterPropertyAdapter.PAType
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapterappContext, isTargetPropertyDynamic, log, overlayOptOut, target, targetPropertyName, value, valueClass
 
- 
 - 
Constructor SummaryConstructors Constructor Description CellUpdateAdapter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(VisionClientContext appContext)Calls connect() on all interaction descriptorsvoiddisconnect()Calls disconnect() on all interaction descriptorsBindingConfigurationgetBindingConfiguration()java.lang.StringgetGetterMethodName()InteractionDescriptor[]getInteractions()Retrieves an array of the interactions that this adapter depends on.PropertyAdapter.PATypegetReferenceType()java.util.List<CellUpdateAdapter.CellUpdateSpec>getUpdates()voidpropertyChange(java.beans.PropertyChangeEvent evt)Listens to our target for when the target dataset changesvoidsetGetterMethodName(java.lang.String getterMethodName)voidsetUpdates(java.util.List<CellUpdateAdapter.CellUpdateSpec> newList)voidshutdown()Notifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.voidstartup()Notifies the adapter that it is becoming active, and should start any polling/threaded activities.protected voidupdateTarget()Sets 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, toString, updateQuality, updateValue, useQuality
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.AdaptergetTarget, isValid, setTarget
 - 
Methods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdaptergetTargetPropertyName, setTargetPropertyName
 
- 
 
- 
- 
- 
Method Detail- 
getReferenceTypepublic PropertyAdapter.PAType getReferenceType() - Specified by:
- getReferenceTypein interface- PropertyAdapter
 
 - 
getBindingConfigurationpublic BindingConfiguration getBindingConfiguration() - Specified by:
- getBindingConfigurationin interface- SearchablePropertyAdapter
 
 - 
connectpublic void connect(VisionClientContext appContext) Description 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
 
 - 
shutdownpublic void shutdown() Description copied from interface:AdapterNotifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.- Specified by:
- shutdownin interface- Adapter
- Overrides:
- shutdownin class- AbstractPropertyAdapter
 
 - 
getInteractionspublic InteractionDescriptor[] getInteractions() Description 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
 
 - 
propertyChangepublic void propertyChange(java.beans.PropertyChangeEvent evt) Listens to our target for when the target dataset changes- Specified by:
- propertyChangein interface- java.beans.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
 
 - 
getUpdatespublic java.util.List<CellUpdateAdapter.CellUpdateSpec> getUpdates() 
 - 
setUpdatespublic void setUpdates(java.util.List<CellUpdateAdapter.CellUpdateSpec> newList) 
 - 
getGetterMethodNamepublic java.lang.String getGetterMethodName() 
 - 
setGetterMethodNamepublic void setGetterMethodName(java.lang.String getterMethodName) 
 
- 
 
-