public class AjaxOptions extends ScriptStringBase
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_PARAMETERS |
static String |
PARAMETERS |
COLON, COMMA, DOT, EMPTY_STRING, EQUALS, FUNCTION, LEFT_CURLY_BRACKET, LEFT_ROUND_BRACKET, LEFT_SQUARE_BRACKET, RIGHT_CURLY_BRACKET, RIGHT_ROUND_BRACKET, RIGHT_SQUARE_BRACKET
Constructor and Description |
---|
AjaxOptions() |
Modifier and Type | Method and Description |
---|---|
void |
addParameters(Map<String,Object> params) |
void |
appendScript(Appendable target)
Append JavaScript code to @link
Appendable |
Object |
get(String optionName) |
Object |
getAjaxComponent() |
Object |
getBeforesubmitHandler() |
Object |
getClientParameters() |
Object |
getParameter(String parameterName) |
Map<String,Object> |
getParameters() |
boolean |
hasParameters() |
boolean |
isEmpty() |
void |
remove(String optionName) |
void |
removeParameter(String parameterName) |
void |
set(String optionName,
Object optionValue) |
void |
setAjaxComponent(Object ajaxComponent) |
void |
setBeforesubmitHandler(Object beforesubmitHandler) |
void |
setClientParameters(Object value) |
void |
setParameter(String parameterName,
Object parameterValue) |
appendScriptToStringBuilder, toScript, toString
public static final String PARAMETERS
public static final String CLIENT_PARAMETERS
public void appendScript(Appendable target) throws IOException
ScriptString
Appendable
IOException
public boolean isEmpty()
public void remove(String optionName)
public boolean hasParameters()
public void removeParameter(String parameterName)
public Object getClientParameters()
public void setClientParameters(Object value)
public Object getAjaxComponent()
public void setAjaxComponent(Object ajaxComponent)
public Object getBeforesubmitHandler()
public void setBeforesubmitHandler(Object beforesubmitHandler)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.