|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.model.imp.ClientHandlerImp com.cc.framework.ui.AjaxSettings
AJAX settings
Field Summary | |
private static AjaxSettings |
DEFAULT
The applications default AJAX settings |
private boolean |
enabled
|
private static long |
serialVersionUID
Serial Version UID |
private int |
timeout
AJAX timeout in milliseconds |
Fields inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
|
Constructor Summary | |
AjaxSettings()
|
Method Summary | |
int |
getTimeout()
|
protected void |
inherit(AjaxSettings base)
Inherits all not set attributes from the base settings Object |
boolean |
isEnabled()
|
static AjaxSettings |
peek(javax.servlet.jsp.PageContext ctx)
Returns the top settings object from the Stack |
static AjaxSettings |
pop(javax.servlet.jsp.PageContext ctx)
Removes the top settings object from the Stack |
static void |
push(AjaxSettings settings,
javax.servlet.jsp.PageContext ctx)
Pushes a new AJAX Setting on the Settings Stack |
void |
setEnabled(boolean enabled)
|
void |
setTimeout(int timeout)
|
Methods inherited from class com.cc.framework.ui.model.imp.ClientHandlerImp |
evaluate, getHandler, getHandlers, setHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private static final AjaxSettings DEFAULT
private boolean enabled
private int timeout
Constructor Detail |
public AjaxSettings()
Method Detail |
public static void push(AjaxSettings settings, javax.servlet.jsp.PageContext ctx)
settings
- the settings to pushctx
- the JSP page contextpublic static AjaxSettings peek(javax.servlet.jsp.PageContext ctx) throws java.util.EmptyStackException
ctx
- the JSP page context
java.util.EmptyStackException
- if this stack is empty.public static AjaxSettings pop(javax.servlet.jsp.PageContext ctx) throws java.util.EmptyStackException
ctx
- the JSP page context
java.util.EmptyStackException
- if this stack is empty.protected void inherit(AjaxSettings base)
base
- the base settings object to inherit frompublic int getTimeout()
public void setTimeout(int timeout)
timeout
- the timeout to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- the enabled to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |