public abstract static class JQuery.AbstractFunction extends Object implements IFunction
IFunction that allows you to chain
function parameters in a javascript safe way.| Modifier | Constructor and Description |
|---|---|
protected |
JQuery.AbstractFunction(CharSequence functionName)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameter(CharSequence parameter)
adds a new parameter to parameter list
|
String |
build() |
protected String |
buildParameters() |
protected char |
getSeparator() |
protected CharSequence |
toParameterValue(Boolean value)
transform given value to a javascript parameter value
|
protected CharSequence |
toParameterValue(Float value)
transform given value to a javascript parameter value
|
protected CharSequence |
toParameterValue(Integer value)
transform given value to a javascript parameter value
|
protected CharSequence |
toParameterValue(JQuery.JavaScriptInlineFunction value)
transform given value to a javascript parameter value
|
protected CharSequence |
toParameterValue(Long value)
transform given value to a javascript parameter value
|
protected CharSequence |
toParameterValue(Object value)
transform given value to a javascript parameter value
|
protected JQuery.AbstractFunction(CharSequence functionName)
functionName - The function name of this IFunction implementationpublic String build()
protected final char getSeparator()
protected String buildParameters()
protected final void addParameter(CharSequence parameter)
parameter - The parameter to addprotected final CharSequence toParameterValue(Object value)
value - The value to transformprotected final CharSequence toParameterValue(JQuery.JavaScriptInlineFunction value)
value - The value to transformprotected final CharSequence toParameterValue(Long value)
value - The value to transformprotected final CharSequence toParameterValue(Integer value)
value - The value to transformprotected final CharSequence toParameterValue(Float value)
value - The value to transformprotected final CharSequence toParameterValue(Boolean value)
value - The value to transformCopyright © 2014. All Rights Reserved.