Class UIGridLayout
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UIPanel
com.jk.web.faces.components.layouts.UILayout
com.jk.web.faces.components.layouts.UIGridLayout
- 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
This class is a UI component representing a grid layout.
 
This layout organizes its children components in a table-based format.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Field Summary
Fields 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 TypeMethodDescriptionvoidencodeAll(jakarta.faces.context.FacesContext context) intgetCols()This method retrieves the number of columns in the layout.intgetRows()This method retrieves the number of rows in the layout.voidsetCols(int cols) This method sets the number of columns in the layout to the provided value.voidsetRows(int rows) This method sets the number of rows in the layout to the provided value.Methods inherited from class com.jk.web.faces.components.layouts.UILayout
encodeBegin, encodeChildren, encodeEnd, getContainerClientId, getRendersChildren, getWrapper, isPrependId, setPrependId, setWrapperMethods 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
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree 
- 
Constructor Details
- 
UIGridLayout
public UIGridLayout() 
 - 
 - 
Method Details
- 
encodeAll
- Overrides:
 encodeAllin classjakarta.faces.component.UIComponent- Throws:
 IOException
 - 
getCols
public int getCols()This method retrieves the number of columns in the layout.- Returns:
 - the number of columns in the layout.
 
 - 
getRows
public int getRows()This method retrieves the number of rows in the layout.- Returns:
 - the number of rows in the layout.
 
 - 
setCols
public void setCols(int cols) This method sets the number of columns in the layout to the provided value.- Parameters:
 cols- Specifies the new number of columns in the layout.
 - 
setRows
public void setRows(int rows) This method sets the number of rows in the layout to the provided value.- Parameters:
 rows- Specifies the new number of rows in the layout.
 
 -