Class AbstractUIGridLayout

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.internal.component.AbstractUILayoutBase
org.apache.myfaces.tobago.internal.component.AbstractUIGridLayout
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Visual
Direct Known Subclasses:
UIGridLayout

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

A grid layout manager.

GridLayoutTagDeclaration

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    protected static final javax.faces.component.UIComponent
     

    Fields inherited from class javax.faces.component.UIComponent

    BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javax.faces.component.UIComponent[][]
    expand(javax.faces.component.UIComponent[][] cells, int rows)
     
    protected javax.faces.component.UIComponent[][]
    expand(javax.faces.component.UIComponent[][] cells, Integer minRows, int step)
    Deprecated.
    since 4.3.0, please use expand(UIComponent[][], int)
    abstract String
     
    abstract String
     
    protected javax.faces.component.UIComponent[][]
    layout(int columnsCount, int initialRowsCount, List<javax.faces.component.UIComponent> components)
     
    void
    processEvent(javax.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
     

    Methods inherited from class javax.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, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree

    Methods inherited from class javax.faces.component.UIComponent

    getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getFamily, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.myfaces.tobago.component.Visual

    getCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
  • Field Details

    • COMPONENT_FAMILY

      public static final String COMPONENT_FAMILY
      See Also:
    • SPAN

      protected static final javax.faces.component.UIComponent SPAN
  • Constructor Details

    • AbstractUIGridLayout

      public AbstractUIGridLayout()
  • Method Details

    • processEvent

      public void processEvent(javax.faces.event.ComponentSystemEvent event) throws javax.faces.event.AbortProcessingException
      Initialize the grid and remove the current width and height values from the component, recursively.
      Specified by:
      processEvent in interface javax.faces.event.ComponentSystemEventListener
      Overrides:
      processEvent in class javax.faces.component.UIComponent
      Throws:
      javax.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 javax.faces.component.UIComponent[][] layout(int columnsCount, int initialRowsCount, List<javax.faces.component.UIComponent> components)
    • expand

      @Deprecated protected javax.faces.component.UIComponent[][] expand(javax.faces.component.UIComponent[][] cells, Integer minRows, int step)
      Deprecated.
      since 4.3.0, please use expand(UIComponent[][], int)
    • expand

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