public static class ClientFunctionFactory.TranslateFunction extends AbstractFunction implements LocaleListener
Constructor and Description |
---|
TranslateFunction(java.lang.String funcName) |
Modifier and Type | Method and Description |
---|---|
void |
connect(BaseContext context,
InteractionListener updateListener)
Empty implementation from BaseFunction.
|
Function |
copy()
Returns this.
|
QualifiedValue |
execute(Expression[] args)
Execute this function, and return the function's qualified value.
|
java.lang.String |
getArgDocString()
Returns a string to be used in the auto-generated function documentation.
|
protected java.lang.String |
getFunctionDisplayName() |
java.lang.Class<?> |
getType()
Returns the type of Object that this function will generate with execute
|
void |
localeChanged(java.util.Locale newLocale) |
void |
shutdown()
Empty implementation from BaseFunction.
|
initArgs, validateArgType, validateNumArgs
disconnect, executeAll, startup
public QualifiedValue execute(Expression[] args) throws ExpressionException
Function
execute
in interface Function
ExpressionException
public java.lang.Class<?> getType()
Function
public java.lang.String getArgDocString()
Function
getArgDocString
in interface Function
protected java.lang.String getFunctionDisplayName()
getFunctionDisplayName
in class AbstractFunction
public Function copy()
BaseFunction
copy
in interface Function
copy
in class BaseFunction
public void connect(BaseContext context, InteractionListener updateListener)
BaseFunction
connect
in interface Function
connect
in class BaseFunction
public void shutdown()
BaseFunction
shutdown
in interface Function
shutdown
in class BaseFunction
public void localeChanged(java.util.Locale newLocale)
localeChanged
in interface LocaleListener