Class UICenter
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UIPanel
com.jk.web.faces.components.layouts.UIAbstractRegion
com.jk.web.faces.components.layouts.UICenter
- 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
This class is a UI component representing the center region within a layout.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Field Summary
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method checks whether to respect the specified height.boolean
This method checks whether to respect the specified width.boolean
This method checks whether to stretch the height to fill the container.boolean
This method checks whether to stretch the width to fill the container.Methods inherited from class com.jk.web.faces.components.layouts.UIAbstractRegion
encodeAll, getHeight, getWidth, getWrapper, isFullSpan, setFullSpan, setHeight, setRespectHight, setRespectWidth, setStretchHeight, setStretchWidth, setWidth, setWrapper
Methods inherited from class jakarta.faces.component.UIPanel
getFamily
Methods inherited from class jakarta.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, 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, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class jakarta.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Constructor Details
-
UICenter
public UICenter()
-
-
Method Details
-
isRespectHight
public boolean isRespectHight()This method checks whether to respect the specified height.- Overrides:
isRespectHight
in classUIAbstractRegion
- Returns:
- true, if the height should be respected, false otherwise.
-
isRespectWidth
public boolean isRespectWidth()This method checks whether to respect the specified width.- Overrides:
isRespectWidth
in classUIAbstractRegion
- Returns:
- true, if the width should be respected, false otherwise.
-
isStretchHeight
public boolean isStretchHeight()This method checks whether to stretch the height to fill the container.- Overrides:
isStretchHeight
in classUIAbstractRegion
- Returns:
- true, if the height should be stretched, false otherwise.
-
isStretchWidth
public boolean isStretchWidth()This method checks whether to stretch the width to fill the container.- Overrides:
isStretchWidth
in classUIAbstractRegion
- Returns:
- true, if the width should be stretched, false otherwise.
-