Module de.agilecoders.wicket.jquery
Class JavaScriptInlineFunction
java.lang.Object
de.agilecoders.wicket.jquery.function.AbstractFunction
de.agilecoders.wicket.jquery.function.JavaScriptInlineFunction
- All Implemented Interfaces:
IFunction,Serializable,IClusterable
simple class to represent a javascript function.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptInlineFunction(String functionBody) Construct.JavaScriptInlineFunction(String functionBody, List<CharSequence> parameters) Construct. -
Method Summary
Methods inherited from class de.agilecoders.wicket.jquery.function.AbstractFunction
addParameter, buildParameters, getParameters, getSeparator, toParameterValue, toParameterValue, toParameterValue, toParameterValue, toParameterValue, toParameterValue
-
Constructor Details
-
JavaScriptInlineFunction
Construct.- Parameters:
functionBody- the function body as string
-
JavaScriptInlineFunction
Construct.- Parameters:
functionBody- the function body as string
-
-
Method Details
-
build
- Specified by:
buildin interfaceIFunction- Overrides:
buildin classAbstractFunction- Returns:
- the function as javascript string.
-
equals
-
hashCode
public int hashCode() -
toString
-
toString
- Parameters:
value- The value to stringify- Returns:
- string representation of given value
-