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 returnvoid
propertyChanged
(Property<?> prop) void
shutdown()
Tells the expression to shutdown any polling operations.void
startup()
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:Expression
Compute and return the value of this expression- Specified by:
execute
in interfaceExpression
- Throws:
ExpressionException
-
getType
Description copied from interface:Expression
Return the type that this expression will return- Specified by:
getType
in interfaceExpression
-
getOpName
Description copied from interface:Expression
Return a human-readable name for the operation that this expression performs- Specified by:
getOpName
in interfaceExpression
-
startup
public void startup()Description copied from interface:Expression
Tells the expression to startup any polling operations. Expressions that use this can remember the updateListener from connect() to feed update notification to.- Specified by:
startup
in interfaceExpression
- Overrides:
startup
in classAbstractExpression
-
shutdown
public void shutdown()Description copied from interface:Expression
Tells the expression to shutdown any polling operations.- Specified by:
shutdown
in interfaceExpression
- Overrides:
shutdown
in classAbstractExpression
-
propertyChanged
- Specified by:
propertyChanged
in interfaceObservablePropertySource.PropertyInteractionListener
-