Class AbstractUIGridLayout
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
org.apache.myfaces.tobago.internal.component.AbstractUILayoutBase
org.apache.myfaces.tobago.internal.component.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.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringprotected static final jakarta.faces.component.UIComponentFields inherited from class jakarta.faces.component.UIComponentATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected jakarta.faces.component.UIComponent[][]expand(jakarta.faces.component.UIComponent[][] cells, int rows) protected jakarta.faces.component.UIComponent[][]Deprecated, for removal: This API element is subject to removal in a future version.abstract Stringabstract StringgetRows()protected jakarta.faces.component.UIComponent[][]layout(int columnsCount, int initialRowsCount, List<jakarta.faces.component.UIComponent> components) voidprocessEvent(jakarta.faces.event.ComponentSystemEvent event) Initialize the grid and remove the current width and height values from the component, recursively.abstract voidsetColumns(String columns) abstract voidMethods inherited from class jakarta.faces.component.UIComponentBaseaddClientBehavior, 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, visitTreeMethods inherited from class jakarta.faces.component.UIComponentgetClientId, 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, unsubscribeFromEventMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.myfaces.tobago.component.VisualgetCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
- 
Field Details- 
COMPONENT_FAMILY- See Also:
 
- 
SPANprotected static final jakarta.faces.component.UIComponent SPAN
 
- 
- 
Constructor Details- 
AbstractUIGridLayoutpublic AbstractUIGridLayout()
 
- 
- 
Method Details- 
processEventpublic 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:
- processEventin interface- jakarta.faces.event.ComponentSystemEventListener
- Overrides:
- processEventin class- jakarta.faces.component.UIComponent
- Throws:
- jakarta.faces.event.AbortProcessingException
 
- 
getRows
- 
setRows
- 
getColumns
- 
setColumns
- 
layoutprotected jakarta.faces.component.UIComponent[][] layout(int columnsCount, int initialRowsCount, List<jakarta.faces.component.UIComponent> components) 
- 
expand@Deprecated(since="4.3.0", forRemoval=true) protected jakarta.faces.component.UIComponent[][] expand(jakarta.faces.component.UIComponent[][] cells, Integer minRows, int step) Deprecated, for removal: This API element is subject to removal in a future version.Please useexpand(UIComponent[][], int)
- 
expandprotected jakarta.faces.component.UIComponent[][] expand(jakarta.faces.component.UIComponent[][] cells, int rows) 
 
- 
expand(UIComponent[][], int)