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.AbstractPropertyAdapter
AbstractPropertyAdapter.EdtUpdateValueNested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
Adapter.ValueHolderNested classes/interfaces inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
PropertyAdapter.PAType -
Field Summary
Fields inherited from class com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter
appContext, isTargetPropertyDynamic, overlayOptOut, target, targetPropertyName, value, valueClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when a property listener from a sub-expression fires a change.voidconnect(VisionClientContext appContext) Calls connect() on all interaction descriptorsvoidCalls disconnect() on all interaction descriptorsRetrieves an array of the interactions that this adapter depends on.getUpdatedSource(BindingRoot window) protected voidvoidsetExpression(Expression expression) voidsetExpressionSource(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.AbstractPropertyAdapter
getQValue, 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, useQualityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.factorypmi.application.binding.Adapter
getTarget, isValid, setTargetMethods inherited from interface com.inductiveautomation.factorypmi.application.binding.PropertyAdapter
getTargetPropertyName, setTargetPropertyName
-
Constructor Details
-
ExpressionPropertyAdapter
public ExpressionPropertyAdapter()
-
-
Method Details
-
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 interfaceAdapter
-
childInteractionUpdated
public 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 interfaceInteractionListener
-
getExpression
-
setExpression
-
runExpression
protected void runExpression() -
startup
public void startup()Description copied from interface:AdapterNotifies the adapter that it is becoming active, and should start any polling/threaded activities.- Specified by:
startupin interfaceAdapter- Overrides:
startupin classAbstractPropertyAdapter
-
shutdown
public void shutdown()Description copied from interface:AdapterNotifies the adapter that it is becoming inactive, and should cease any polling/threaded activities.- Specified by:
shutdownin interfaceAdapter- Overrides:
shutdownin classAbstractPropertyAdapter
-
connect
Description copied from class:AbstractPropertyAdapterCalls connect() on all interaction descriptors- Specified by:
connectin interfaceAdapter- Overrides:
connectin classAbstractPropertyAdapter
-
disconnect
public void disconnect()Description copied from class:AbstractPropertyAdapterCalls disconnect() on all interaction descriptors- Specified by:
disconnectin interfaceAdapter- Overrides:
disconnectin classAbstractPropertyAdapter
-
getExpressionSource
-
setExpressionSource
-
getUpdatedSource
-
getBindingConfiguration
- Specified by:
getBindingConfigurationin interfaceSearchablePropertyAdapter
-
getReferenceType
- Specified by:
getReferenceTypein interfacePropertyAdapter
-