Class BoundPropertyExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.BoundPropertyExpression
- All Implemented Interfaces:
ObservablePropertySource.PropertyInteractionListener,Expression
public class BoundPropertyExpression
extends AbstractExpression
implements ObservablePropertySource.PropertyInteractionListener
This is an expression that is bound to a property value in a given PropertyValueSource.
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Compute and return the value of this expressionReturn a human-readable name for the operation that this expression performsClass<?>getType()Return the type that this expression will returnvoidpropertyChanged(Property<?> prop) voidshutdown()Tells the expression to shutdown any polling operations.voidstartup()Tells the expression to startup any polling operations.Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren
-
Constructor Details
-
BoundPropertyExpression
-
-
Method Details
-
execute
Description copied from interface:ExpressionCompute and return the value of this expression- Specified by:
executein interfaceExpression- Throws:
ExpressionException
-
getType
Description copied from interface:ExpressionReturn the type that this expression will return- Specified by:
getTypein interfaceExpression
-
getOpName
Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs- Specified by:
getOpNamein interfaceExpression
-
startup
public void startup()Description copied from interface:ExpressionTells the expression to startup any polling operations. Expressions that use this can remember the updateListener from connect() to feed update notification to.- Specified by:
startupin interfaceExpression- Overrides:
startupin classAbstractExpression
-
shutdown
public void shutdown()Description copied from interface:ExpressionTells the expression to shutdown any polling operations.- Specified by:
shutdownin interfaceExpression- Overrides:
shutdownin classAbstractExpression
-
propertyChanged
- Specified by:
propertyChangedin interfaceObservablePropertySource.PropertyInteractionListener
-