Package io.keikai.jsf.ui.impl
Class JSFComponentBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
io.keikai.jsf.ui.impl.JSFComponentBase
- All Implemented Interfaces:
Serializable,EventListener,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder
- Direct Known Subclasses:
JSFSpreadsheet
public abstract class JSFComponentBase
extends javax.faces.component.UIComponentBase
implements Serializable
The base of zk jsf component
- Author:
- Dennis
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringappendStyle(String style, String attr, String value) protected voidapplyProperties(javax.faces.context.FacesContext context, org.zkoss.zk.ui.Component component) protected voidapplyProperty(org.zkoss.zk.ui.Component comp, String nm, Object value) protected static voidassignProperty(org.zkoss.zk.ui.Component comp, String name, Object value) protected voiddoAfterCompose(org.zkoss.zk.ui.Component component) voidencodeBegin(javax.faces.context.FacesContext context) protected ObjectgetStateProperty(String name) org.zkoss.zk.ui.Componentprotected Stringorg.zkoss.zk.ui.Desktopprotected Stringprotected abstract org.zkoss.zk.ui.ComponentvoidprocessUpdates(javax.faces.context.FacesContext context) protected voidreleaseResource(org.zkoss.zk.ui.Component comp) call back to cleanup a component resource, it is in zk execution scopevoidrestoreState(javax.faces.context.FacesContext context, Object state) saveState(javax.faces.context.FacesContext context) voidsetValueExpression(String name, javax.el.ValueExpression binding) Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTree
-
Constructor Details
-
JSFComponentBase
public JSFComponentBase()
-
-
Method Details
-
setValueExpression
- Overrides:
setValueExpressionin classjavax.faces.component.UIComponent
-
getAttributes
- Overrides:
getAttributesin classjavax.faces.component.UIComponentBase
-
newZKComponent
protected abstract org.zkoss.zk.ui.Component newZKComponent() -
getZKComponentUuid
-
getZKComponent
public org.zkoss.zk.ui.Component getZKComponent() -
getZKDesktopId
-
getZKDesktop
public org.zkoss.zk.ui.Desktop getZKDesktop() -
encodeBegin
- Overrides:
encodeBeginin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
newDeadComponentHolderListener
-
releaseResource
protected void releaseResource(org.zkoss.zk.ui.Component comp) call back to cleanup a component resource, it is in zk execution scope -
getStateProperty
-
applyProperties
protected void applyProperties(javax.faces.context.FacesContext context, org.zkoss.zk.ui.Component component) -
applyProperty
-
assignProperty
-
doAfterCompose
- Throws:
Exception
-
getFamily
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context) - Overrides:
processUpdatesin classjavax.faces.component.UIComponentBase
-
restoreState
- Specified by:
restoreStatein interfacejavax.faces.component.StateHolder- Overrides:
restoreStatein classjavax.faces.component.UIComponentBase
-
saveState
- Specified by:
saveStatein interfacejavax.faces.component.StateHolder- Overrides:
saveStatein classjavax.faces.component.UIComponentBase
-
appendStyle
-