Uses of Class
jakarta.faces.component.UIComponent
-
Packages that use UIComponent Package Description jakarta.faces.application jakarta.faces.component jakarta.faces.component.behavior jakarta.faces.component.html Specialized user interface component classes for HTML.jakarta.faces.component.search jakarta.faces.component.visit jakarta.faces.context jakarta.faces.convert jakarta.faces.event jakarta.faces.render jakarta.faces.validator jakarta.faces.view jakarta.faces.view.facelets -
-
Uses of UIComponent in jakarta.faces.application
Methods in jakarta.faces.application that return UIComponent Modifier and Type Method Description UIComponent
Application. createComponent(ValueExpression componentExpression, FacesContext context, String componentType)
UIComponent
Application. createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
LikeApplication.createComponent(ValueExpression, FacesContext, String)
except theRenderer
for the component to be returned must be inspected for the annotations mentioned inApplication.createComponent(ValueExpression, FacesContext, String)
as specified in the documentation for that method.UIComponent
Application. createComponent(FacesContext context, Resource componentResource)
UIComponent
Application. createComponent(FacesContext context, String componentType, String rendererType)
LikeApplication.createComponent(String)
except theRenderer
for the component to be returned must be inspected for the annotations mentioned inApplication.createComponent(ValueExpression, FacesContext, String)
as specified in the documentation for that method.abstract UIComponent
Application. createComponent(String componentType)
Instantiate and return a newUIComponent
instance of the class specified by a previous call toaddComponent()
for the specified component type.UIComponent
ApplicationWrapper. createComponent(ValueExpression componentExpression, FacesContext context, String componentType)
The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String)
on the wrappedApplication
object.UIComponent
ApplicationWrapper. createComponent(ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String, String)
on the wrappedApplication
object.UIComponent
ApplicationWrapper. createComponent(FacesContext context, Resource componentResource)
The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, Resource)
on the wrappedApplication
object.UIComponent
ApplicationWrapper. createComponent(FacesContext context, String componentType, String rendererType)
The default behavior of this method is to callApplication.createComponent(jakarta.faces.context.FacesContext, String, String)
on the wrappedApplication
object.UIComponent
ApplicationWrapper. createComponent(String componentType)
The default behavior of this method is to callApplication.createComponent(String)
on the wrappedApplication
object. -
Uses of UIComponent in jakarta.faces.component
Subclasses of UIComponent in jakarta.faces.component Modifier and Type Class Description class
UIColumn
UIColumn is aUIComponent
that represents a single column of data within a parentUIData
component.class
UICommand
UICommand is aUIComponent
that represents a user interface component which, when activated by the user, triggers an application specific "command" or "action".class
UIComponentBase
UIComponentBase is a convenience base class that implements the default concrete behavior of all methods defined byUIComponent
.class
UIData
UIData is aUIComponent
that supports data binding to a collection of data objects represented by aDataModel
instance, which is the current value of this component itself (typically established via aValueExpression
).class
UIForm
UIForm is aUIComponent
that represents an input form to be presented to the user, and whose child components represent (among other things) the input fields to be included when the form is submitted.class
UIGraphic
UIGraphic is aUIComponent
that displays a graphical image to the user.class
UIImportConstants
class
UIInput
UIInput is aUIComponent
that represents a component that both displays output to the user (likeUIOutput
components do) and processes request parameters on the subsequent request that need to be decoded.class
UIMessage
This component is responsible for displaying messages for a specificUIComponent
, identified by aclientId
or component id relative to the closest ancestorNamingContainer
.class
UIMessages
The renderer for this component is responsible for obtaining the messages from theFacesContext
and displaying them to the user.class
UINamingContainer
UINamingContainer is a convenience base class for components that wish to implementNamingContainer
functionality.class
UIOutcomeTarget
This component is paired with thejakarta.faces.Button
orjakarta.faces.Link
renderers and encapsulates properties relating to the rendering of outcomes directly to the response.class
UIOutput
UIOutput is aUIComponent
that has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user.class
UIPanel
UIPanel is aUIComponent
that manages the layout of its child components.class
UIParameter
UIParameter is aUIComponent
that represents an optionally named configuration parameter for a parent component.class
UISelectBoolean
class
UISelectItem
UISelectItem is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of aSelectItem
instance to the list of available options for the parent component.class
UISelectItemGroup
UISelectItemGroup is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of oneSelectItemGroup
of one or moreSelectItem
instances to the list of available options in the parent component.class
UISelectItemGroups
UISelectItemGroups is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of one or moreSelectItemGroup
of one or moreSelectItem
instances to the list of available options in the parent component.class
UISelectItems
UISelectItems is a component that may be nested inside aUISelectMany
orUISelectOne
component, and causes the addition of one or moreSelectItem
instances to the list of available options in the parent component.class
UISelectMany
UISelectMany is aUIComponent
that represents the user's choice of a zero or more items from among a discrete set of available options.class
UISelectOne
UISelectOne is aUIComponent
that represents the user's choice of zero or one items from among a discrete set of available options.class
UIViewAction
UIViewAction represents a method invocation that occurs during the request processing lifecycle, usually in response to an initial request, as opposed to a postback.class
UIViewParameter
UIViewParameter represents a binding between a request parameter and a model property orUIViewRoot
property.class
UIViewRoot
UIViewRoot is the UIComponent that represents the root of the UIComponent tree.class
UIWebsocket
The<f:websocket>
tag opens an one-way (server to client) websocket based push connection in client side which can be reached from server side viaPushContext
interface injected in any CDI/container managed artifact via@
Push
annotation.Methods in jakarta.faces.component that return UIComponent Modifier and Type Method Description abstract UIComponent
UIComponent. findComponent(String expr)
Search for and return theUIComponent
with anid
that matches the specified search expression (if any), according to the algorithm described below.UIComponent
UIComponentBase. findComponent(String expression)
static UIComponent
UIComponent. getCompositeComponentParent(UIComponent component)
Finds the nearest composite component parent of the specified component.static UIComponent
UIComponent. getCurrentComponent(FacesContext context)
Return theUIComponent
instance that is currently processing.static UIComponent
UIComponent. getCurrentCompositeComponent(FacesContext context)
Return the closest ancestor component, relative to the component returned fromgetCurrentComponent(jakarta.faces.context.FacesContext)
, that is a composite component, ornull
if no such component exists.abstract UIComponent
UIComponent. getFacet(String name)
Convenience method to return the named facet, if it exists, ornull
otherwise.UIComponent
UIComponentBase. getFacet(String name)
UIComponent
UIColumn. getFooter()
Return the footer facet of the column (if any).UIComponent
UIData. getFooter()
Return the footer facet of this component (if any).UIComponent
UIColumn. getHeader()
Return the header facet of the column (if any).UIComponent
UIData. getHeader()
Return the header facet of this component (if any).UIComponent
UIComponent. getNamingContainer()
Starting with "this", return the closest component in the ancestry that is aNamingContainer
ornull
if none can be found.abstract UIComponent
UIComponent. getParent()
Return the parentUIComponent
of thisUIComponent
, if any.UIComponent
UIComponentBase. getParent()
Methods in jakarta.faces.component that return types with arguments of type UIComponent Modifier and Type Method Description abstract List<UIComponent>
UIComponent. getChildren()
List<UIComponent>
UIComponentBase. getChildren()
List<UIComponent>
UIViewRoot. getComponentResources(FacesContext context)
Return an unmodifiable orderedList
of allUIComponent
resources of all supported targets.List<UIComponent>
UIViewRoot. getComponentResources(FacesContext context, String target)
abstract Map<String,UIComponent>
UIComponent. getFacets()
Return a mutableMap
representing the facetUIComponent
s associated with thisUIComponent
, keyed by facet name (which must be a String).Map<String,UIComponent>
UIComponentBase. getFacets()
abstract Iterator<UIComponent>
UIComponent. getFacetsAndChildren()
Iterator<UIComponent>
UIComponentBase. getFacetsAndChildren()
Methods in jakarta.faces.component with parameters of type UIComponent Modifier and Type Method Description void
UIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource)
Add argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.void
UIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource, String target)
Add argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.static UIComponent
UIComponent. getCompositeComponentParent(UIComponent component)
Finds the nearest composite component parent of the specified component.void
ContextCallback. invokeContextCallback(FacesContext context, UIComponent target)
This method will be called by an implementation ofinvokeOnComponent(jakarta.faces.context.FacesContext, java.lang.String, jakarta.faces.component.ContextCallback)
and must be passed the component with theclientId
given as an argument toinvokeOnComponent
.static boolean
UIComponent. isCompositeComponent(UIComponent component)
Returntrue
ifcomponent
is a composite component, otherwisefalse
.void
UIComponent. pushComponentToEL(FacesContext context, UIComponent component)
Push the currentUIComponent
this
to theFacesContext
attribute map saving the previousUIComponent
for a subsequent call topopComponentFromEL(jakarta.faces.context.FacesContext)
.void
UIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource)
Remove argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.void
UIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource, String target)
Remove argumentcomponent
, which is assumed to represent a resource instance, as a resource to this view.void
UIColumn. setFooter(UIComponent footer)
Set the footer facet of the column.void
UIData. setFooter(UIComponent footer)
Set the footer facet of this component.void
UIColumn. setHeader(UIComponent header)
Set the header facet of the column.void
UIData. setHeader(UIComponent header)
Set the header facet of this component.abstract void
UIComponent. setParent(UIComponent parent)
Set the parentUIComponent
of thisUIComponent
.void
UIComponentBase. setParent(UIComponent parent)
-
Uses of UIComponent in jakarta.faces.component.behavior
Methods in jakarta.faces.component.behavior that return UIComponent Modifier and Type Method Description abstract UIComponent
ClientBehaviorContext. getComponent()
Returns theUIComponent
that is requesting theClientBehavior
script.Methods in jakarta.faces.component.behavior with parameters of type UIComponent Modifier and Type Method Description static ClientBehaviorContext
ClientBehaviorContext. createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)
Creates a ClientBehaviorContext instance.void
ClientBehavior. decode(FacesContext context, UIComponent component)
Decode any new state of thisClientBehavior
from the request contained in the specifiedFacesContext
.void
ClientBehaviorBase. decode(FacesContext context, UIComponent component)
Default implementation of ofClientBehavior.decode(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)
. -
Uses of UIComponent in jakarta.faces.component.html
Subclasses of UIComponent in jakarta.faces.component.html Modifier and Type Class Description class
HtmlBody
NONEclass
HtmlColumn
Represents a column that will be rendered in an HTMLtable
element.class
HtmlCommandButton
Represents an HTMLinput
element for a button of typesubmit
orreset
.class
HtmlCommandLink
Represents an HTMLa
element for a hyperlink that acts like a submit button.class
HtmlCommandScript
Represents an HTMLscript
element for a function that acts like an ajax form submit.class
HtmlDataTable
Represents a set of repeating data (segregated into columns by child UIColumn components) that will be rendered in an HTMLtable
element.class
HtmlDoctype
NONEclass
HtmlForm
Represents an HTMLform
element.class
HtmlGraphicImage
Represents an HTMLimg
element, used to retrieve and render a graphical image.class
HtmlHead
NONEclass
HtmlInputFile
Represents an HTMLinput
element of typefile
.class
HtmlInputHidden
Represents an HTMLinput
element of typehidden
.class
HtmlInputSecret
Represents an HTMLinput
element of typepassword
.class
HtmlInputText
Represents an HTMLinput
element of typetext
.class
HtmlInputTextarea
Represents an HTMLtextarea
element.class
HtmlMessage
By default, therendererType
property must be set to "jakarta.faces.Message
".class
HtmlMessages
By default, therendererType
property must be set to "jakarta.faces.Messages
".class
HtmlOutcomeTargetButton
Represents an HTMLinput
element of type "button" or image that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by theoutcome
property.class
HtmlOutcomeTargetLink
Represents an HTMLa
(hyperlink) element that may be used to link to a URL handled by the Faces Servlet resolved preemptively using the logical outcome defined by theoutcome
property.class
HtmlOutputFormat
Represents a component that looks up a localized message in a resource bundle, optionally uses it as aMessageFormat
pattern string and substitutes in parameter values from nested UIParameter components, and renders the result.class
HtmlOutputLabel
Represents an HTMLlabel
element, used to define an accessible label for a corresponding input element.class
HtmlOutputLink
Represents an HTMLa
(hyperlink) element that may be used to link to an arbitrary URL defined by thevalue
property.class
HtmlOutputText
Renders the component value as text, optionally wrapping in aspan
element if I18N attributes, CSS styles or style classes are specified.class
HtmlPanelGrid
Renders child components in a table, starting a new row after the specified number of columns.class
HtmlPanelGroup
Causes all child components of this component to be rendered.class
HtmlSelectBooleanCheckbox
Represents an HTMLinput
element of typecheckbox
.class
HtmlSelectManyCheckbox
Represents a multiple-selection component that is rendered as a set of HTMLinput
elements of typecheckbox
.class
HtmlSelectManyListbox
Represents a multiple-selection component that is rendered as an HTMLselect
element, showing either all available options or the specified number of options.class
HtmlSelectManyMenu
Represents a multiple-selection component that is rendered as an HTMLselect
element, showing a single available option at a time.class
HtmlSelectOneListbox
Represents a single-selection component that is rendered as an HTMLselect
element, showing either all available options or the specified number of options.class
HtmlSelectOneMenu
Represents a single-selection component that is rendered as an HTMLselect
element, showing a single available option at a time.class
HtmlSelectOneRadio
Represents a single-selection component that is rendered as a set of HTMLinput
elements of typeradio
. -
Uses of UIComponent in jakarta.faces.component.search
Methods in jakarta.faces.component.search that return UIComponent Modifier and Type Method Description abstract UIComponent
SearchExpressionContext. getSource()
Returns the source / base component from which we will start to perform our search.Methods in jakarta.faces.component.search with parameters of type UIComponent Modifier and Type Method Description static SearchExpressionContext
SearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source)
Creates aSearchExpressionContext
instance for use with theSearchExpressionHandler
.static SearchExpressionContext
SearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)
Creates aSearchExpressionContext
instance for use with theSearchExpressionHandler
.abstract SearchExpressionContext
SearchExpressionContextFactory. getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)
Creates aSearchExpressionContext
instance for use with theSearchExpressionHandler
.void
SearchKeywordContext. invokeContextCallback(UIComponent target)
This method will be called by an implementation ofSearchKeywordResolver.resolve(jakarta.faces.component.search.SearchKeywordContext, jakarta.faces.component.UIComponent, java.lang.String)
with the resolved component for the keyword.abstract void
SearchExpressionHandler. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback)
Resolves multipleUIComponent
s for the given expression.void
SearchExpressionHandlerWrapper. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback callback)
abstract void
SearchKeywordResolver. resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword)
Try to resolve one or multipleUIComponent
s based on the keyword and callsSearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent)
for each resolved component. -
Uses of UIComponent in jakarta.faces.component.visit
Methods in jakarta.faces.component.visit with parameters of type UIComponent Modifier and Type Method Description abstract Collection<String>
VisitContext. getSubtreeIdsToVisit(UIComponent component)
Given aNamingContainer
component, returns the client ids of any components underneath the NamingContainer that should be visited.Collection<String>
VisitContextWrapper. getSubtreeIdsToVisit(UIComponent component)
abstract VisitResult
VisitContext. invokeVisitCallback(UIComponent component, VisitCallback callback)
Called byUIComponent.visitTree()
to visit a single component.VisitResult
VisitContextWrapper. invokeVisitCallback(UIComponent component, VisitCallback callback)
VisitResult
VisitCallback. visit(VisitContext context, UIComponent target)
This method is called during component tree visits byVisitContext.invokeVisitCallback()
to visit the specified component. -
Uses of UIComponent in jakarta.faces.context
Methods in jakarta.faces.context with parameters of type UIComponent Modifier and Type Method Description abstract void
ResponseWriter. startElement(String name, UIComponent component)
Write the start of an element, up to and including the element name.void
ResponseWriterWrapper. startElement(String name, UIComponent component)
The default behavior of this method is to callResponseWriter.startElement(String, jakarta.faces.component.UIComponent)
on the wrappedResponseWriter
object.void
ResponseWriter. writeText(Object text, UIComponent component, String property)
Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered.void
ResponseWriterWrapper. writeText(Object text, UIComponent component, String property)
The default behavior of this method is to callResponseWriter.writeText(Object, UIComponent, String)
on the wrappedResponseWriter
object. -
Uses of UIComponent in jakarta.faces.convert
Methods in jakarta.faces.convert with parameters of type UIComponent Modifier and Type Method Description Object
BigDecimalConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
BigIntegerConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
BooleanConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
ByteConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
CharacterConverter. getAsObject(FacesContext context, UIComponent component, String value)
T
Converter. getAsObject(FacesContext context, UIComponent component, String value)
Convert the specified string value, which is associated with the specifiedUIComponent
, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.Object
DateTimeConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
DoubleConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
EnumConverter. getAsObject(FacesContext context, UIComponent component, String value)
Convert thevalue
argument to one of the enum constants of the class provided in our constructor.Object
FloatConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
IntegerConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
LongConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
NumberConverter. getAsObject(FacesContext context, UIComponent component, String value)
Object
ShortConverter. getAsObject(FacesContext context, UIComponent component, String value)
String
BigDecimalConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
BigIntegerConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
BooleanConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
ByteConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
CharacterConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
Converter. getAsString(FacesContext context, UIComponent component, T value)
Convert the specified model object value, which is associated with the specifiedUIComponent
, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.String
DateTimeConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
DoubleConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
EnumConverter. getAsString(FacesContext context, UIComponent component, Object value)
Convert the enum constant given by thevalue
argument into a String.String
FloatConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
IntegerConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
LongConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
NumberConverter. getAsString(FacesContext context, UIComponent component, Object value)
String
ShortConverter. getAsString(FacesContext context, UIComponent component, Object value)
-
Uses of UIComponent in jakarta.faces.event
Methods in jakarta.faces.event that return UIComponent Modifier and Type Method Description UIComponent
ComponentSystemEvent. getComponent()
the sourceUIComponent
that sent this event.UIComponent
ExceptionQueuedEventContext. getComponent()
Return theUIComponent
which was being processed when the exception was thrown.UIComponent
FacesEvent. getComponent()
Return the sourceUIComponent
that sent this event.Methods in jakarta.faces.event with parameters of type UIComponent Modifier and Type Method Description void
PostRestoreStateEvent. setComponent(UIComponent newComponent)
Constructors in jakarta.faces.event with parameters of type UIComponent Constructor Description ActionEvent(UIComponent component)
Construct a new event object from the specified source component and action command.ActionEvent(FacesContext facesContext, UIComponent component)
Construct a new event object from the Faces context, specified source component and action command.AjaxBehaviorEvent(UIComponent component, Behavior behavior)
Construct a new event object from the specified source component and Ajax behavior.AjaxBehaviorEvent(FacesContext facesContext, UIComponent component, Behavior behavior)
Construct a new event object from the Faces context, specified source component and Ajax behavior.BehaviorEvent(UIComponent component, Behavior behavior)
Construct a new event object from the specified source component andbehavior
.BehaviorEvent(FacesContext facesContext, UIComponent component, Behavior behavior)
Construct a new event object from the Faces context, specified source component and behavior.ComponentSystemEvent(UIComponent component)
Pass the argumentcomponent
to the superclass constructor.ComponentSystemEvent(FacesContext facesContext, UIComponent component)
Pass the argumentcomponent
to the superclass constructor.ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component)
Instantiate a newExceptionQueuedEventContext
that indicates the argumentThrowable
just occurred, relevant to the argumentcomponent
.ExceptionQueuedEventContext(FacesContext context, Throwable thrown, UIComponent component, PhaseId phaseId)
Instantiate a newExceptionQueuedEventContext
that indicates the argumentThrowable
just occurred, relevant to the argumentcomponent
, during the lifecycle phasephaseId
.FacesEvent(UIComponent component)
Construct a new event object from the specified source component.FacesEvent(FacesContext facesContext, UIComponent component)
Construct a new event object from the Faces context and specified source component.PostAddToViewEvent(UIComponent component)
Instantiate a newPostAddToViewEvent
that indicates the argumentcomponent
was just added to the view.PostAddToViewEvent(FacesContext facesContext, UIComponent component)
Instantiate a newPostAddToViewEvent
that indicates the argumentcomponent
was just added to the view.PostRestoreStateEvent(UIComponent component)
Instantiate a newPostRestoreStateEvent
that indicates the argumentcomponent
just had its state restored.PostRestoreStateEvent(FacesContext facesContext, UIComponent component)
Instantiate a newPostRestoreStateEvent
that indicates the argumentcomponent
just had its state restored.PostValidateEvent(UIComponent component)
ConstructorPostValidateEvent(FacesContext facesContext, UIComponent component)
ConstructorPreRemoveFromViewEvent(UIComponent component)
Instantiate a newBeforeRemoveFromView
that indicates the argumentcomponent
is about to be removed from the view.PreRemoveFromViewEvent(FacesContext facesContext, UIComponent component)
Instantiate a newBeforeRemoveFromView
that indicates the argumentcomponent
is about to be removed from the view.PreRenderComponentEvent(UIComponent component)
Instantiate a newPreRenderComponentEvent
that indicates the argumentcomponent
is about to be rendered.PreRenderComponentEvent(FacesContext facesContext, UIComponent component)
Instantiate a newPreRenderComponentEvent
that indicates the argumentcomponent
is about to be rendered.PreValidateEvent(UIComponent component)
ConstructorPreValidateEvent(FacesContext facesContext, UIComponent component)
ConstructorValueChangeEvent(UIComponent component, Object oldValue, Object newValue)
Construct a new event object from the specified source component, old value, and new value.ValueChangeEvent(FacesContext facesContext, UIComponent component, Object oldValue, Object newValue)
Construct a new event object from the Faces context, specified source component, old value and new value. -
Uses of UIComponent in jakarta.faces.render
Classes in jakarta.faces.render with type parameters of type UIComponent Modifier and Type Class Description class
Renderer<T extends UIComponent>
A Renderer converts the internal representation ofUIComponent
s into the output stream (or writer) associated with the response we are creating for a particular request.Methods in jakarta.faces.render with parameters of type UIComponent Modifier and Type Method Description void
ClientBehaviorRenderer. decode(FacesContext context, UIComponent component, ClientBehavior behavior)
Decode any new state of thisClientBehavior
from the request contained in the specifiedFacesContext
.void
RendererWrapper. decode(FacesContext context, UIComponent component)
void
RendererWrapper. encodeBegin(FacesContext context, UIComponent component)
void
RendererWrapper. encodeChildren(FacesContext context, UIComponent component)
void
RendererWrapper. encodeEnd(FacesContext context, UIComponent component)
Object
Renderer. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registeredConverter
for this component, if there is one).Object
RendererWrapper. getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
-
Uses of UIComponent in jakarta.faces.validator
Methods in jakarta.faces.validator with parameters of type UIComponent Modifier and Type Method Description void
BeanValidator. validate(FacesContext context, UIComponent component, Object value)
Verify that the value is valid according to the Bean Validation constraints.void
DoubleRangeValidator. validate(FacesContext context, UIComponent component, Object value)
void
LengthValidator. validate(FacesContext context, UIComponent component, Object value)
void
LongRangeValidator. validate(FacesContext context, UIComponent component, Object value)
void
MethodExpressionValidator. validate(FacesContext context, UIComponent component, Object value)
void
RegexValidator. validate(FacesContext context, UIComponent component, Object value)
Validate a String against a regular expression pattern.void
RequiredValidator. validate(FacesContext context, UIComponent component, Object value)
Verify that the converted object value is not null.void
Validator. validate(FacesContext context, UIComponent component, T value)
-
Uses of UIComponent in jakarta.faces.view
Methods in jakarta.faces.view that return UIComponent Modifier and Type Method Description UIComponent
ViewDeclarationLanguage. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)
Create a component given aViewDeclarationLanguage
specific tag library URI and tag name.UIComponent
ViewDeclarationLanguageWrapper. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)
Methods in jakarta.faces.view that return types with arguments of type UIComponent Modifier and Type Method Description List<UIComponent>
AttachedObjectTarget. getTargets(UIComponent topLevelComponent)
Returns theList<UIComponent>
that thisAttachedObjectTarget
exposes.Methods in jakarta.faces.view with parameters of type UIComponent Modifier and Type Method Description void
AttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparent
and apply this attached object to it.List<UIComponent>
AttachedObjectTarget. getTargets(UIComponent topLevelComponent)
Returns theList<UIComponent>
that thisAttachedObjectTarget
exposes.void
ViewDeclarationLanguage. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
Assuming the component metadata for argumenttopLevelComponent
has been made available by an earlier call toViewDeclarationLanguage.getComponentMetadata(jakarta.faces.context.FacesContext, jakarta.faces.application.Resource)
, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individualAttachedObjectTarget
instances inside the composite component.void
ViewDeclarationLanguageWrapper. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
void
ViewDeclarationLanguage. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
Assuming the component metadata for argumenttopLevelComponent
has been made available by an earlier call toViewDeclarationLanguage.getComponentMetadata(jakarta.faces.context.FacesContext, jakarta.faces.application.Resource)
, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component.void
ViewDeclarationLanguageWrapper. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
-
Uses of UIComponent in jakarta.faces.view.facelets
Methods in jakarta.faces.view.facelets that return UIComponent Modifier and Type Method Description UIComponent
ComponentHandler. createComponent(FaceletContext ctx)
Subclasses that wish to take over the task of instantiating theUIComponent
instance corresponding to this tag handler my override this method to do so.Methods in jakarta.faces.view.facelets with parameters of type UIComponent Modifier and Type Method Description void
CompositeFaceletHandler. apply(FaceletContext ctx, UIComponent parent)
Calls apply on any child handlers.void
DelegatingMetaTagHandler. apply(FaceletContext ctx, UIComponent parent)
The default implementation simply calls through toTagHandlerDelegate.apply(jakarta.faces.view.facelets.FaceletContext, jakarta.faces.component.UIComponent)
.abstract void
Facelet. apply(FacesContext facesContext, UIComponent parent)
The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document.void
FaceletHandler. apply(FaceletContext ctx, UIComponent parent)
Process changes on a particular UIComponentabstract void
TagHandlerDelegate. apply(FaceletContext ctx, UIComponent comp)
void
FaceletsAttachedObjectHandler. applyAttachedObject(FacesContext ctx, UIComponent parent)
Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argumentparent
.void
Facelet. applyMetadata(FacesContext facesContext, UIComponent parent)
The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document with only the meta data as per thef:metadata
tag.void
DelegatingMetaTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)
Invoke theapply()
method on this instance'sTagHandler.nextHandler
.abstract void
FaceletContext. includeFacelet(UIComponent parent, String relativePath)
Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in Jakarta Server Pages)abstract void
FaceletContext. includeFacelet(UIComponent parent, URL absolutePath)
Include another Facelet defined at some path, absolute to this ClassLoader/OSstatic boolean
ComponentHandler. isNew(UIComponent component)
Determine if the passed component is not null and if it's new to the tree.void
ComponentHandler. onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
This method is guaranteed to be called after the component has been created but before it has been populated with children.void
ComponentHandler. onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)
This method is guaranteed to be called after the component has been populated with children.
-