public abstract class JSFComponentBase extends javax.faces.component.UIComponentBase implements Serializable
Modifier and Type | Class and Description |
---|---|
protected static class |
JSFComponentBase.DeadComponentHolderListener |
Constructor and Description |
---|
JSFComponentBase() |
Modifier and Type | Method and Description |
---|---|
protected static String |
appendStyle(String style,
String attr,
String value) |
protected void |
applyProperties(javax.faces.context.FacesContext context,
org.zkoss.zk.ui.Component component) |
protected void |
applyProperty(org.zkoss.zk.ui.Component comp,
String nm,
Object value) |
protected static void |
assignProperty(org.zkoss.zk.ui.Component comp,
String name,
Object value) |
protected void |
doAfterCompose(org.zkoss.zk.ui.Component component) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
Map<String,Object> |
getAttributes() |
String |
getFamily() |
protected Object |
getStateProperty(String name) |
org.zkoss.zk.ui.Component |
getZKComponent() |
protected String |
getZKComponentUuid() |
org.zkoss.zk.ui.Desktop |
getZKDesktop() |
protected String |
getZKDesktopId() |
protected JSFComponentBase.DeadComponentHolderListener |
newDeadComponentHolderListener() |
protected abstract org.zkoss.zk.ui.Component |
newZKComponent() |
void |
processUpdates(javax.faces.context.FacesContext context) |
protected void |
releaseResource(org.zkoss.zk.ui.Component comp)
call back to cleanup a component resource, it is in zk execution scope
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setValueExpression(String name,
javax.el.ValueExpression binding) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTree
public void setValueExpression(String name, javax.el.ValueExpression binding)
setValueExpression
in class javax.faces.component.UIComponent
public Map<String,Object> getAttributes()
getAttributes
in class javax.faces.component.UIComponentBase
protected abstract org.zkoss.zk.ui.Component newZKComponent()
protected String getZKComponentUuid()
public org.zkoss.zk.ui.Component getZKComponent()
protected String getZKDesktopId()
public org.zkoss.zk.ui.Desktop getZKDesktop()
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
protected JSFComponentBase.DeadComponentHolderListener newDeadComponentHolderListener()
protected void releaseResource(org.zkoss.zk.ui.Component comp)
protected void applyProperties(javax.faces.context.FacesContext context, org.zkoss.zk.ui.Component component)
protected static void assignProperty(org.zkoss.zk.ui.Component comp, String name, Object value)
protected void doAfterCompose(org.zkoss.zk.ui.Component component) throws Exception
Exception
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
Copyright © 2020. All rights reserved.