Class LazyContainer
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIPanel
-
- de.xima.fc.gui.component.lazycontainer.LazyContainer
-
- All Implemented Interfaces:
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
public class LazyContainer extends javax.faces.component.UIPanel
Allows rendering its children dynamically after page load and enables partial update renders.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LazyContainer.PropertyKeys
Property keys for state saving ofLazyContainer
.
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE
static String
DEFAULT_RENDERER
-
Constructor Summary
Constructors Constructor Description LazyContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFamily()
String
getOnUpdate()
String
getStyle()
String
getStyleClass()
boolean
isChildrenRendered()
boolean
isIgnoreParentUpdates()
boolean
isSkipUpdateIfChildrenAlreadyRendered()
void
setChildrenRendered(boolean childrenRendered)
void
setIgnoreParentUpdates(boolean ignoreParentUpdates)
void
setOnUpdate(String onUpdate)
void
setSkipUpdateIfChildrenAlreadyRendered(boolean skipUpdateIfChildrenAlreadyRendered)
void
setStyle(String style)
void
setStyleClass(String styleClass)
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, 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, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods 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, setValueExpression, visitTree
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIPanel
-
getOnUpdate
public String getOnUpdate()
-
getStyle
public String getStyle()
-
getStyleClass
public String getStyleClass()
-
isChildrenRendered
public boolean isChildrenRendered()
-
isIgnoreParentUpdates
public boolean isIgnoreParentUpdates()
-
isSkipUpdateIfChildrenAlreadyRendered
public boolean isSkipUpdateIfChildrenAlreadyRendered()
-
setChildrenRendered
public void setChildrenRendered(boolean childrenRendered)
-
setIgnoreParentUpdates
public void setIgnoreParentUpdates(boolean ignoreParentUpdates)
-
setOnUpdate
public void setOnUpdate(String onUpdate)
-
setSkipUpdateIfChildrenAlreadyRendered
public void setSkipUpdateIfChildrenAlreadyRendered(boolean skipUpdateIfChildrenAlreadyRendered)
-
setStyle
public void setStyle(String style)
-
setStyleClass
public void setStyleClass(String styleClass)
-
-