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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(CommonContext context, InteractionListener updateListener)Empty implementation from BaseFunction.Functioncopy()Returns this.voiddisconnect()Empty implementation from BaseFunction.protected java.util.LocalegetDefaultLocale()voidonLocaleChange(LocaleChangeEvent ignored)protected java.util.LocaleparseProvidedLocale(java.lang.Object localeValue)- 
Methods inherited from class com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunctionexecute, getArgDocString, getFunctionDisplayName, getTranslationPackage, getType, onTranslationsUpdated, validateNumArgs
 - 
Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.AbstractFunctionexecuteArg, initArgs, log
 - 
Methods inherited from class com.inductiveautomation.ignition.common.expressions.functions.BaseFunctionexecuteAll, shutdown, startup
 
- 
 
- 
- 
- 
Method Detail- 
connectpublic void connect(CommonContext context, InteractionListener updateListener) Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.
 - 
disconnectpublic void disconnect() Description copied from class:BaseFunctionEmpty implementation from BaseFunction. Override if necessary.- Specified by:
- disconnectin interface- Function
- Overrides:
- disconnectin class- com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
 
 - 
parseProvidedLocaleprotected java.util.Locale parseProvidedLocale(java.lang.Object localeValue) throws java.lang.Exception- Overrides:
- parseProvidedLocalein class- com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
- Throws:
- java.lang.Exception
 
 - 
getDefaultLocaleprotected java.util.Locale getDefaultLocale() - Overrides:
- getDefaultLocalein class- com.inductiveautomation.ignition.gateway.expressions.GatewayFunctionFactory.TranslateFunction
 
 - 
onLocaleChangepublic void onLocaleChange(LocaleChangeEvent ignored) 
 - 
copypublic Function copy() Description copied from class:BaseFunctionReturns this. Override to create a clone if you need a unique function object per Expression.
 
- 
 
-