Class ExpressionPropertyAdapter
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
- 
- com.inductiveautomation.factorypmi.application.binding.ExpressionPropertyAdapter
 
 
- 
- All Implemented Interfaces:
- Adapter,- Adapter.ValueHolder,- SearchablePropertyAdapter,- PropertyAdapter,- InteractionListener
 
 public class ExpressionPropertyAdapter extends AbstractPropertyAdapter implements SearchablePropertyAdapter, InteractionListener 
- 
- 
Nested Class Summary- 
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, overlayOptOut, target, targetPropertyName, value, valueClass
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExpressionPropertyAdapter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchildInteractionUpdated()Called when a property listener from a sub-expression fires a change.voidconnect(VisionClientContext appContext)Calls connect() on all interaction descriptorsvoiddisconnect()Calls disconnect() on all interaction descriptorsExpressionBindingConfiggetBindingConfiguration()ExpressiongetExpression()java.lang.StringgetExpressionSource()InteractionDescriptor[]getInteractions()Retrieves an array of the interactions that this adapter depends on.PropertyAdapter.PATypegetReferenceType()java.lang.StringgetUpdatedSource(BindingRoot window)protected voidrunExpression()voidsetExpression(Expression expression)voidsetExpressionSource(java.lang.String string)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.- 
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, updateTarget, 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- 
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
 
 - 
childInteractionUpdatedpublic void childInteractionUpdated() Called when a property listener from a sub-expression fires a change. The expression itself caught the PropertyChangeEvent, stored the new value, and then called this, its "InteractionListener"- Specified by:
- childInteractionUpdatedin interface- InteractionListener
 
 - 
getExpressionpublic Expression getExpression() 
 - 
setExpressionpublic void setExpression(Expression expression) 
 - 
runExpressionprotected void runExpression() 
 - 
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
 
 - 
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
 
 - 
getExpressionSourcepublic java.lang.String getExpressionSource() 
 - 
setExpressionSourcepublic void setExpressionSource(java.lang.String string) 
 - 
getUpdatedSourcepublic java.lang.String getUpdatedSource(BindingRoot window) 
 - 
getBindingConfigurationpublic ExpressionBindingConfig getBindingConfiguration() - Specified by:
- getBindingConfigurationin interface- SearchablePropertyAdapter
 
 - 
getReferenceTypepublic PropertyAdapter.PAType getReferenceType() - Specified by:
- getReferenceTypein interface- PropertyAdapter
 
 
- 
 
-