Class TranslationFunction

java.lang.Object
com.inductiveautomation.ignition.common.expressions.functions.BaseFunction
com.inductiveautomation.ignition.common.expressions.functions.AbstractFunction
com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
com.inductiveautomation.perspective.gateway.expression.TranslationFunction
All Implemented Interfaces:
Function

public class TranslationFunction extends com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
  • Method Details

    • connect

      public void connect(CommonContext context, InteractionListener updateListener)
      Description copied from class: BaseFunction
      Empty implementation from BaseFunction. Override if necessary.
      Specified by:
      connect in interface Function
      Overrides:
      connect in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
    • disconnect

      public void disconnect()
      Description copied from class: BaseFunction
      Empty implementation from BaseFunction. Override if necessary.
      Specified by:
      disconnect in interface Function
      Overrides:
      disconnect in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
    • parseProvidedLocale

      protected Locale parseProvidedLocale(Object localeValue) throws Exception
      Overrides:
      parseProvidedLocale in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
      Throws:
      Exception
    • getDefaultLocale

      protected Locale getDefaultLocale()
      Overrides:
      getDefaultLocale in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
    • onLocaleChange

      public void onLocaleChange(LocaleChangeEvent ignored)
    • copy

      public Function copy()
      Description copied from class: BaseFunction
      Returns this. Override to create a clone if you need a unique function object per Expression.
      Specified by:
      copy in interface Function
      Overrides:
      copy in class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction