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
The Class UILayout.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Logger
    The logger.

    Fields inherited from class jakarta.faces.component.UIPanel

    COMPONENT_FAMILY, COMPONENT_TYPE

    Fields 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_KEY

    Fields inherited from interface jakarta.faces.component.NamingContainer

    SEPARATOR_CHAR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encodeBegin(jakarta.faces.context.FacesContext context)
    Encode begin.
    void
    encodeChildren(jakarta.faces.context.FacesContext context)
    Encode children.
    void
    encodeEnd(jakarta.faces.context.FacesContext context)
    Encode end.
    getContainerClientId(jakarta.faces.context.FacesContext context)
    Gets the container client id.
    boolean
    Gets the renders children.
    Gets the wrapper.
    boolean
    Checks if is prepend id.
    void
    setPrependId(boolean prependId)
    Sets the prepend id.
    void
    Sets the wrapper.

    Methods inherited from class jakarta.faces.component.UIPanel

    getFamily

    Methods 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, unsubscribeFromEvent

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected Logger logger
      The logger.
  • Constructor Details

    • UILayout

      public UILayout()
  • Method Details

    • encodeBegin

      public void encodeBegin(jakarta.faces.context.FacesContext context) throws IOException
      Encode begin.
      Overrides:
      encodeBegin in class jakarta.faces.component.UIComponentBase
      Parameters:
      context - the context
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • encodeChildren

      public void encodeChildren(jakarta.faces.context.FacesContext context) throws IOException
      Encode children.
      Overrides:
      encodeChildren in class jakarta.faces.component.UIComponentBase
      Parameters:
      context - the context
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • encodeEnd

      public void encodeEnd(jakarta.faces.context.FacesContext context) throws IOException
      Encode end.
      Overrides:
      encodeEnd in class jakarta.faces.component.UIComponentBase
      Parameters:
      context - the context
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getContainerClientId

      public String getContainerClientId(jakarta.faces.context.FacesContext context)
      Gets the container client id.
      Overrides:
      getContainerClientId in class jakarta.faces.component.UIComponent
      Parameters:
      context - the context
      Returns:
      the container client id
    • getRendersChildren

      public boolean getRendersChildren()
      Gets the renders children.
      Overrides:
      getRendersChildren in class jakarta.faces.component.UIComponentBase
      Returns:
      the renders children
    • getWrapper

      public UIComponentWrapper getWrapper()
      Gets the wrapper.
      Returns:
      the wrapper
    • isPrependId

      public boolean isPrependId()
      Checks if is prepend id.
      Returns:
      true, if is prepend id
    • setPrependId

      public void setPrependId(boolean prependId)
      Sets the prepend id.
      Parameters:
      prependId - the new prepend id
    • setWrapper

      public void setWrapper(UIComponentWrapper wrapper)
      Sets the wrapper.
      Parameters:
      wrapper - the new wrapper