Class UILayout
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UIPanel
com.jk.web.faces.components.layouts.UILayout
- All Implemented Interfaces:
 jakarta.faces.component.NamingContainer,jakarta.faces.component.PartialStateHolder,jakarta.faces.component.StateHolder,jakarta.faces.component.TransientStateHolder,jakarta.faces.event.ComponentSystemEventListener,jakarta.faces.event.FacesListener,jakarta.faces.event.SystemEventListenerHolder,EventListener
- Direct Known Subclasses:
 UIBorderLayout,UIFormLayout,UIGridLayout
public class UILayout
extends jakarta.faces.component.UIPanel
implements jakarta.faces.component.NamingContainer
This class is a UI components that represent layouts.
 
 It extends UIPanel and implements NamingContainer.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Field Summary
FieldsFields inherited from class jakarta.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPEFields inherited from class jakarta.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEYFields inherited from interface jakarta.faces.component.NamingContainer
SEPARATOR_CHAR - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidencodeBegin(jakarta.faces.context.FacesContext context) voidencodeChildren(jakarta.faces.context.FacesContext context) voidencodeEnd(jakarta.faces.context.FacesContext context) getContainerClientId(jakarta.faces.context.FacesContext context) booleanThis method retrieves theUIComponentWrapperassociated with this layout.booleanThis method checks whether the prependId property is set to true or false.voidsetPrependId(boolean prependId) This method sets the prependId property to control whether the ID should include its own ID or not.voidsetWrapper(UIComponentWrapper wrapper) This method sets theUIComponentWrapperfor this layout to the provided value.Methods inherited from class jakarta.faces.component.UIPanel
getFamilyMethods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventMethods inherited from class jakarta.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree 
- 
Field Details
- 
logger
Represents this class logger. 
 - 
 - 
Constructor Details
- 
UILayout
public UILayout() 
 - 
 - 
Method Details
- 
encodeBegin
- Overrides:
 encodeBeginin classjakarta.faces.component.UIComponentBase- Throws:
 IOException
 - 
encodeChildren
- Overrides:
 encodeChildrenin classjakarta.faces.component.UIComponentBase- Throws:
 IOException
 - 
encodeEnd
- Overrides:
 encodeEndin classjakarta.faces.component.UIComponentBase- Throws:
 IOException
 - 
getContainerClientId
- Overrides:
 getContainerClientIdin classjakarta.faces.component.UIComponent
 - 
getRendersChildren
public boolean getRendersChildren()- Overrides:
 getRendersChildrenin classjakarta.faces.component.UIComponentBase
 - 
getWrapper
This method retrieves theUIComponentWrapperassociated with this layout.- Returns:
 - the 
UIComponentWrapperassociated with this layout. 
 - 
isPrependId
public boolean isPrependId()This method checks whether the prependId property is set to true or false.- Returns:
 - true, if it is true, false otherwise.
 
 - 
setPrependId
public void setPrependId(boolean prependId) This method sets the prependId property to control whether the ID should include its own ID or not.- Parameters:
 prependId- Indicates whether to include ID (true) or not (false).
 - 
setWrapper
This method sets theUIComponentWrapperfor this layout to the provided value.- Parameters:
 wrapper- Specifies the newUIComponentWrapperfor this layout.
 
 -