|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.zkoss.jsf.zul.impl.AbstractComponent
org.zkoss.jsf.zul.impl.BaseZScript
public class BaseZScript
The Base implementation of ZScript.
This component should be declared nested under Page.
| Field Summary |
|---|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
BaseZScript()
|
|
| Method Summary | |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context)
Override method, We Construct ZUL JSF Component tree here. |
void |
encodeEnd(javax.faces.context.FacesContext context)
Override Method |
protected org.zkoss.jsf.zul.impl.ComponentInfo |
getComponentInfo()
return ComponentInfo of RootComponent |
java.lang.String |
getLanguage()
Returns the name of the scripting language in this ZScript tag. |
boolean |
isDeferred()
Returns whether to defer the execution of this zscript. |
void |
loadZULTree(org.zkoss.zk.ui.Page page,
java.io.StringWriter writer)
Call by RootComponent or BranchComponent to load tree structure of zk zul components. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
Override Method, restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
Override Method, save the state of this component. |
void |
setDeferred(boolean deferred)
Sets whether to defer the execution of this zscript. |
void |
setLanguage(java.lang.String lang)
Sets the name of the scripting language in this ZScript tag. |
| Methods inherited from class org.zkoss.jsf.zul.impl.AbstractComponent |
|---|
findAncestorWithClass, getBodyContent, getFacesContext, getFamily, getIf, getUnless, isEffective, isSuppressed, restoreAttachedMapState, saveAttachedMapState, setBodyContent, setIf, setSuppressed, setUnless |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseZScript()
| Method Detail |
|---|
public void loadZULTree(org.zkoss.zk.ui.Page page,
java.io.StringWriter writer)
throws java.io.IOException
AbstractComponent
loadZULTree in class AbstractComponentjava.io.IOException
public void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeEnd in class javax.faces.component.UIComponentBasejava.io.IOExceptionprotected org.zkoss.jsf.zul.impl.ComponentInfo getComponentInfo()
getComponentInfo in class AbstractComponentpublic boolean isDeferred()
Default: false.
public void setDeferred(boolean deferred)
deferred - whether to defer the execution.public java.lang.String getLanguage()
Default: null (use what is defined in PageTag).
public void setLanguage(java.lang.String lang)
Default: Java.
lang - the name of the scripting language, such as
Java, Ruby and Groovy.public java.lang.Object saveState(javax.faces.context.FacesContext context)
AbstractComponent
saveState in interface javax.faces.component.StateHoldersaveState in class AbstractComponent
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
AbstractComponent
restoreState in interface javax.faces.component.StateHolderrestoreState in class AbstractComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||