Class FunctionExpression

    • Constructor Detail

      • FunctionExpression

        public FunctionExpression()
    • Method Detail

      • connect

        public void connect​(CommonContext context,
                            InteractionListener updateListener)
        Description copied from interface: Expression
        Gives the expression a chance to connect itself to things, if necessary. Most expressions do not have any connections. An expression should notify the updateListener if they change.
        Specified by:
        connect in interface Expression
        connect in class AbstractExpression
      • 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 interface Expression
        startup in class AbstractExpression
      • getType

        public java.lang.Class<?> getType()
        Description copied from interface: Expression
        Return the type that this expression will return
      • getOpName

        public java.lang.String getOpName()
        Description copied from interface: Expression
        Return a human-readable name for the operation that this expression performs
      • getFuncName

        public java.lang.String getFuncName()
      • setFunc

        public void setFunc​(Function function)
      • setFuncName

        public void setFuncName​(java.lang.String string)