Class AbstractUIGridLayout

  • All Implemented Interfaces:
    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, Visual
    Direct Known Subclasses:
    UIGridLayout

    public abstract class AbstractUIGridLayout
    extends AbstractUILayoutBase
    implements jakarta.faces.event.ComponentSystemEventListener

    A grid layout manager.

    GridLayoutTagDeclaration

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String COMPONENT_FAMILY  
      protected static jakarta.faces.component.UIComponent SPAN  
      • 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
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected jakarta.faces.component.UIComponent[][] expand​(jakarta.faces.component.UIComponent[][] cells, int rows)  
      protected jakarta.faces.component.UIComponent[][] expand​(jakarta.faces.component.UIComponent[][] cells, Integer minRows, int step)
      Deprecated.
      since 4.3.0, please use expand(UIComponent[][], int)
      abstract String getColumns()  
      abstract String getRows()  
      protected jakarta.faces.component.UIComponent[][] layout​(int columnsCount, int initialRowsCount, List<jakarta.faces.component.UIComponent> components)  
      void processEvent​(jakarta.faces.event.ComponentSystemEvent event)
      Initialize the grid and remove the current width and height values from the component, recursively.
      abstract void setColumns​(String columns)  
      abstract void setRows​(String rows)  
      • Methods inherited from class jakarta.faces.component.UIComponentBase

        addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
      • Methods inherited from class jakarta.faces.component.UIComponent

        getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
    • Field Detail

      • SPAN

        protected static final jakarta.faces.component.UIComponent SPAN
    • Constructor Detail

      • AbstractUIGridLayout

        public AbstractUIGridLayout()
    • Method Detail

      • processEvent

        public void processEvent​(jakarta.faces.event.ComponentSystemEvent event)
                          throws jakarta.faces.event.AbortProcessingException
        Initialize the grid and remove the current width and height values from the component, recursively.
        Specified by:
        processEvent in interface jakarta.faces.event.ComponentSystemEventListener
        Overrides:
        processEvent in class jakarta.faces.component.UIComponent
        Throws:
        jakarta.faces.event.AbortProcessingException
      • getRows

        public abstract String getRows()
      • setRows

        public abstract void setRows​(String rows)
      • getColumns

        public abstract String getColumns()
      • setColumns

        public abstract void setColumns​(String columns)
      • layout

        protected jakarta.faces.component.UIComponent[][] layout​(int columnsCount,
                                                                 int initialRowsCount,
                                                                 List<jakarta.faces.component.UIComponent> components)
      • expand

        protected jakarta.faces.component.UIComponent[][] expand​(jakarta.faces.component.UIComponent[][] cells,
                                                                 int rows)