Uses of Class
jakarta.faces.component.UIComponent
-
-
Uses of UIComponent in jakarta.faces.application
Methods in jakarta.faces.application that return UIComponent Modifier and Type Method Description UIComponent
Application. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)
Call thegetValue()
method on the specifiedValueExpression
.UIComponent
Application. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
UIComponent
Application. createComponent(FacesContext context, Resource componentResource)
???UIComponent
Application. createComponent(FacesContext context, String componentType, String rendererType)
abstract UIComponent
Application. createComponent(String componentType)
Create a new UIComponent subclass, using the mappings defined by previous calls to the addComponent method of this class.UIComponent
ApplicationWrapper. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext contexte, String componentType)
UIComponent
ApplicationWrapper. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)
UIComponent
ApplicationWrapper. createComponent(FacesContext context, Resource componentResource)
UIComponent
ApplicationWrapper. createComponent(FacesContext context, String componentType, String rendererType)
UIComponent
ApplicationWrapper. createComponent(String componentType)
-
Uses of UIComponent in jakarta.faces.component
Subclasses of UIComponent in jakarta.faces.component Modifier and Type Class Description class
UIColumn
see Javadoc of JSF Specificationclass
UICommand
UICommand is a base abstraction for components that implement ActionSource.class
UIComponentBase
Standard implementation of the UIComponent base class; all standard JSF components extend this class.class
UIData
Represents an abstraction of a component which has multiple "rows" of data.class
UIForm
see Javadoc of JSF Specificationclass
UIGraphic
Displays a graphical image.class
UIImportConstants
class
UIInput
UICommand is a base abstraction for components that implement ActionSource.class
UIMessage
class
UIMessages
class
UINamingContainer
Base class for components that provide a new "namespace" for the ids of their child components.class
UIOutcomeTarget
class
UIOutput
Displays a value to the user.class
UIPanel
class
UIParameter
class
UISelectBoolean
A component that allows the user to select or unselect an object.class
UISelectItem
class
UISelectItemGroups
class
UISelectItems
class
UISelectMany
Base class for the various component classes that allow a user to select zero or more options from a set.class
UISelectOne
Component for choosing one option out of a set of possibilities.class
UIViewAction
class
UIViewParameter
TODO: documentation on jsp and pld are not the same.class
UIViewRoot
Creates a JSF View, which is a container that holds all of the components that are part of the view.class
UIWebsocket
Methods in jakarta.faces.component that return UIComponent Modifier and Type Method Description abstract UIComponent
UIComponent. findComponent(String expr)
UIComponent
UIComponentBase. findComponent(String expr)
Standard method for finding other components by id, inherited by most UIComponent objects.static UIComponent
UIComponent. getCompositeComponentParent(UIComponent component)
search for the nearest parent composite component, if no parent is found it has to return null! if the component itself is null we have to return null as well!static UIComponent
UIComponent. getCurrentComponent(FacesContext context)
static UIComponent
UIComponent. getCurrentCompositeComponent(FacesContext context)
abstract UIComponent
UIComponent. getFacet(String name)
UIComponent
UIComponentBase. getFacet(String name)
UIComponent
UIColumn. getFooter()
UIComponent
UIData. getFooter()
UIComponent
UIColumn. getHeader()
UIComponent
UIData. getHeader()
UIComponent
UIComponent. getNamingContainer()
abstract UIComponent
UIComponent. getParent()
Returns the parent of the component.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()
Return a list of the UIComponent objects which are direct children of this component.List<UIComponent>
UIViewRoot. getComponentResources(FacesContext context)
List<UIComponent>
UIViewRoot. getComponentResources(FacesContext context, String target)
abstract Map<String,UIComponent>
UIComponent. getFacets()
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)
void
UIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource, String target)
static UIComponent
UIComponent. getCompositeComponentParent(UIComponent component)
search for the nearest parent composite component, if no parent is found it has to return null! if the component itself is null we have to return null as well!void
ContextCallback. invokeContextCallback(FacesContext context, UIComponent target)
static boolean
UIComponent. isCompositeComponent(UIComponent component)
void
UIComponent. pushComponentToEL(FacesContext context, UIComponent component)
void
UIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource)
void
UIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource, String target)
void
UIColumn. setFooter(UIComponent footer)
void
UIData. setFooter(UIComponent footer)
void
UIColumn. setHeader(UIComponent header)
void
UIData. setHeader(UIComponent header)
abstract void
UIComponent. setParent(UIComponent parent)
For JSF-framework internal use only.void
UIComponentBase. setParent(UIComponent parent)
Set the parentUIComponent
of thisUIComponent
. -
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()
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)
void
ClientBehavior. decode(FacesContext context, UIComponent component)
void
ClientBehaviorBase. decode(FacesContext context, UIComponent component)
-
Uses of UIComponent in jakarta.faces.component.html
Subclasses of UIComponent in jakarta.faces.component.html Modifier and Type Class Description class
HtmlBody
class
HtmlColumn
class
HtmlCommandButton
class
HtmlCommandLink
class
HtmlCommandScript
class
HtmlDataTable
class
HtmlDoctype
class
HtmlForm
class
HtmlGraphicImage
class
HtmlHead
class
HtmlInputFile
class
HtmlInputHidden
Renders as an HTML input tag with its type set to "hidden".class
HtmlInputSecret
class
HtmlInputText
class
HtmlInputTextarea
class
HtmlMessage
class
HtmlMessages
class
HtmlOutcomeTargetButton
class
HtmlOutcomeTargetLink
class
HtmlOutputFormat
class
HtmlOutputLabel
class
HtmlOutputLink
class
HtmlOutputText
class
HtmlPanelGrid
class
HtmlPanelGroup
class
HtmlSelectBooleanCheckbox
class
HtmlSelectManyCheckbox
class
HtmlSelectManyListbox
class
HtmlSelectManyMenu
class
HtmlSelectOneListbox
class
HtmlSelectOneMenu
class
HtmlSelectOneRadio
-
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()
Methods in jakarta.faces.component.search with parameters of type UIComponent Modifier and Type Method Description static SearchExpressionContext
SearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source)
static SearchExpressionContext
SearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)
abstract SearchExpressionContext
SearchExpressionContextFactory. getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)
void
SearchKeywordContext. invokeContextCallback(UIComponent target)
abstract void
SearchExpressionHandler. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback topCallback)
void
SearchExpressionHandlerWrapper. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback topCallback)
abstract void
SearchKeywordResolver. resolve(SearchKeywordContext keywordContext, UIComponent current, String keyword)
-
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)
Collection<String>
VisitContextWrapper. getSubtreeIdsToVisit(UIComponent component)
abstract VisitResult
VisitContext. invokeVisitCallback(UIComponent component, VisitCallback callback)
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)
void
ResponseWriterWrapper. startElement(String name, UIComponent component)
void
ResponseWriter. writeText(Object object, UIComponent component, String string)
void
ResponseWriterWrapper. writeText(Object object, UIComponent component, String string)
-
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 facesContext, UIComponent uiComponent, String value)
Object
BigIntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
BooleanConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
ByteConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
CharacterConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
T
Converter. getAsObject(FacesContext context, UIComponent component, String value)
Object
DateTimeConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
DoubleConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
EnumConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
FloatConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
IntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
LongConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
NumberConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
Object
ShortConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)
String
BigDecimalConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
BigIntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
BooleanConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
ByteConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
CharacterConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
Converter. getAsString(FacesContext context, UIComponent component, T value)
String
DateTimeConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
DoubleConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
EnumConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
FloatConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
IntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
LongConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
NumberConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
String
ShortConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, 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()
UIComponent
ExceptionQueuedEventContext. getComponent()
UIComponent
FacesEvent. getComponent()
Methods in jakarta.faces.event with parameters of type UIComponent Modifier and Type Method Description void
PostRestoreStateEvent. setComponent(UIComponent newComponent)
-
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>
see Javadoc of JSF SpecificationMethods in jakarta.faces.render with parameters of type UIComponent Modifier and Type Method Description void
ClientBehaviorRenderer. decode(FacesContext context, UIComponent component, ClientBehavior behavior)
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
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)
void
DoubleRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
LengthValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
LongRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
void
MethodExpressionValidator. validate(FacesContext context, UIComponent component, Object value)
void
RegexValidator. validate(FacesContext context, UIComponent component, Object value)
void
RequiredValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)
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)
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)
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 attachedobject
to it.List<UIComponent>
AttachedObjectTarget. getTargets(UIComponent topLevelComponent)
void
ViewDeclarationLanguage. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
void
ViewDeclarationLanguageWrapper. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)
void
ViewDeclarationLanguage. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
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)
Methods in jakarta.faces.view.facelets with parameters of type UIComponent Modifier and Type Method Description void
CompositeFaceletHandler. apply(FaceletContext ctx, UIComponent parent)
Process changes on a particular UIComponentvoid
DelegatingMetaTagHandler. apply(FaceletContext ctx, UIComponent parent)
Process changes on a particular UIComponentabstract void
Facelet. apply(FacesContext facesContext, UIComponent parent)
The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose 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 context, UIComponent parent)
Take the argumentparent
and apply this attachedobject
to it.void
Facelet. applyMetadata(FacesContext facesContext, UIComponent parent)
The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document with only the meta data as per thef:metadata
tag.void
DelegatingMetaTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)
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 JSP)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)
void
ComponentHandler. onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)
void
ComponentHandler. onComponentPopulated(FaceletContext ctx, UIComponent c, UIComponent parent)
-
Uses of UIComponent in org.apache.myfaces.core.api.shared
Methods in org.apache.myfaces.core.api.shared that return UIComponent Modifier and Type Method Description static UIComponent
ComponentUtils. findClosestNamingContainer(UIComponent component, boolean returnRootIfNotFound)
static UIComponent
ComponentUtils. findComponent(UIComponent findBase, String id, char separatorChar)
Find the component with the specified id starting from the specified component.static UIComponent
ComponentUtils. findComponentChildOrFacetFrom(UIComponent parent, String id, String innerExpr)
static UIComponent
ComponentUtils. findRootComponent(UIComponent component)
UIComponent
SelectItemsIterator. getCurrentComponent()
Methods in org.apache.myfaces.core.api.shared with parameters of type UIComponent Modifier and Type Method Description static void
MessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId)
static void
MessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId, Object[] args)
static void
MessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, Throwable cause)
static List<SelectItem>
SelectItemsUtil. collectSelectItems(FacesContext context, UIComponent component)
static <S extends SelectItem>
SSelectItemsUtil. createSelectItem(UIComponent component, Object value, Supplier<S> supplier)
static <T> T
ComponentUtils. findClosest(Class<T> type, UIComponent base)
static UIComponent
ComponentUtils. findClosestNamingContainer(UIComponent component, boolean returnRootIfNotFound)
static UIComponent
ComponentUtils. findComponent(UIComponent findBase, String id, char separatorChar)
Find the component with the specified id starting from the specified component.static UIComponent
ComponentUtils. findComponentChildOrFacetFrom(UIComponent parent, String id, String innerExpr)
static UIComponent
ComponentUtils. findRootComponent(UIComponent component)
static boolean
AttributeUtils. getBooleanAttribute(UIComponent component, String attrName, boolean defaultValue)
static int
AttributeUtils. getIntegerAttribute(UIComponent component, String attrName, int defaultValue)
static Object
MessageUtils. getLabel(FacesContext facesContext, UIComponent component)
static long
CommonHtmlAttributes. getMarkedAttributes(UIComponent component)
static long
CommonHtmlEvents. getMarkedEvents(UIComponent component)
static String
ComponentUtils. getPathToComponent(UIComponent component)
static void
ComponentUtils. getPathToComponent(UIComponent component, StringBuilder buf)
static boolean
SelectItemsUtil. isNoSelectionOption(FacesContext context, UIComponent uiComponent, Object value, Iterator<SelectItem> iterator, Converter converter)
static boolean
ComponentUtils. isRendered(FacesContext facesContext, UIComponent uiComponent)
CallpushComponentToEL(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)
, reads the isRendered property, callpopComponentFromEL(jakarta.faces.context.FacesContext)
and returns the value of isRendered.static void
CommonHtmlAttributes. markAttribute(UIComponent component, long propertyConstant)
static void
CommonHtmlAttributes. markAttribute(UIComponent component, String name)
static void
CommonHtmlEvents. markEvent(UIComponent component, String name)
static boolean
SelectItemsUtil. matchValue(FacesContext context, UIComponent uiComponent, Object value, Iterator<SelectItem> iterator, Converter converter)
Constructors in org.apache.myfaces.core.api.shared with parameters of type UIComponent Constructor Description SelectItemsIterator(UIComponent selectItemsParent, FacesContext facesContext)
-