|
||||||||||
| 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.LeafComponent
org.zkoss.jsf.zul.impl.BranchComponent
org.zkoss.jsf.zul.impl.BranchOutput
public abstract class BranchOutput
The skeletal class used to implement the ZULJSF components
which needs to support ValueHolder.
Components should be declared nested under Page.
see Javadoc of JSF Specification
| Field Summary |
|---|
| Fields inherited from class org.zkoss.jsf.zul.impl.LeafComponent |
|---|
_compAttrMap, _composer |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
BranchOutput()
|
|
| Method Summary | |
|---|---|
protected void |
afterZULComponentComposed(org.zkoss.zk.ui.Component zulcomp)
Override Method, if instance implements ValueHolderSupport (always for now),
then i will try to set the value from ValueHolder to ZUL Component. |
javax.faces.convert.Converter |
getConverter()
|
java.lang.Object |
getLocalValue()
|
java.lang.String |
getMappedAttributeName()
Return ZUL Component attribute to map to value attribute of ValueHolder, delivering class might override this method to return corresponding name. |
java.lang.Object |
getValue()
|
boolean |
isLocalValueSet()
|
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 |
setConverter(javax.faces.convert.Converter converter)
|
void |
setLocalValueSet(boolean localValueSet)
|
void |
setValue(java.lang.Object value)
|
java.lang.Object |
transferValueForAttribute(java.lang.String value)
Default implementation return original String |
| Methods inherited from class org.zkoss.jsf.zul.impl.BranchComponent |
|---|
loadZULTree |
| Methods inherited from class org.zkoss.jsf.zul.impl.LeafComponent |
|---|
addZULDynamicAttribute, encodeBegin, encodeChildren, encodeEnd, evaluateDynaAttributes, getAttributeValue, getComponentDefName, getComponentInfo, getForward, getRendersChildren, getUse, getZULComponent, setAttributeValue, setForward, setId, setUse, setZULDynamicAttribute |
| 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, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, 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 BranchOutput()
| Method Detail |
|---|
public boolean isLocalValueSet()
public void setLocalValueSet(boolean localValueSet)
public java.lang.Object getLocalValue()
getLocalValue in interface javax.faces.component.ValueHolderpublic javax.faces.convert.Converter getConverter()
getConverter in interface javax.faces.component.ValueHolderpublic void setConverter(javax.faces.convert.Converter converter)
setConverter in interface javax.faces.component.ValueHolderpublic java.lang.Object getValue()
getValue in interface javax.faces.component.ValueHolderpublic void setValue(java.lang.Object value)
setValue in interface javax.faces.component.ValueHolderpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class LeafComponent
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class LeafComponentprotected void afterZULComponentComposed(org.zkoss.zk.ui.Component zulcomp)
ValueHolderSupport (always for now),
then i will try to set the value from ValueHolder to ZUL Component.
afterZULComponentComposed in class LeafComponentpublic java.lang.String getMappedAttributeName()
getMappedAttributeName in interface ValueHolderSupportValueHolderSupportpublic java.lang.Object transferValueForAttribute(java.lang.String value)
transferValueForAttribute in interface ValueHolderSupportvalue - a String value to transfer to a component suitable Object.
ValueHolderSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||