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 UIComponentApplication. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)Call thegetValue()method on the specifiedValueExpression.UIComponentApplication. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)UIComponentApplication. createComponent(FacesContext context, Resource componentResource)???UIComponentApplication. createComponent(FacesContext context, String componentType, String rendererType)abstract UIComponentApplication. createComponent(String componentType)Create a new UIComponent subclass, using the mappings defined by previous calls to the addComponent method of this class.UIComponentApplicationWrapper. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext contexte, String componentType)UIComponentApplicationWrapper. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType, String rendererType)UIComponentApplicationWrapper. createComponent(FacesContext context, Resource componentResource)UIComponentApplicationWrapper. createComponent(FacesContext context, String componentType, String rendererType)UIComponentApplicationWrapper. createComponent(String componentType) -
Uses of UIComponent in jakarta.faces.component
Subclasses of UIComponent in jakarta.faces.component Modifier and Type Class Description classUIColumnsee Javadoc of JSF SpecificationclassUICommandUICommand is a base abstraction for components that implement ActionSource.classUIComponentBaseStandard implementation of the UIComponent base class; all standard JSF components extend this class.classUIDataRepresents an abstraction of a component which has multiple "rows" of data.classUIFormsee Javadoc of JSF SpecificationclassUIGraphicDisplays a graphical image.classUIImportConstantsclassUIInputUICommand is a base abstraction for components that implement ActionSource.classUIMessageclassUIMessagesclassUINamingContainerBase class for components that provide a new "namespace" for the ids of their child components.classUIOutcomeTargetclassUIOutputDisplays a value to the user.classUIPanelclassUIParameterclassUISelectBooleanA component that allows the user to select or unselect an object.classUISelectItemclassUISelectItemGroupsclassUISelectItemsclassUISelectManyBase class for the various component classes that allow a user to select zero or more options from a set.classUISelectOneComponent for choosing one option out of a set of possibilities.classUIViewActionclassUIViewParameterTODO: documentation on jsp and pld are not the same.classUIViewRootCreates a JSF View, which is a container that holds all of the components that are part of the view.classUIWebsocketMethods in jakarta.faces.component that return UIComponent Modifier and Type Method Description abstract UIComponentUIComponent. findComponent(String expr)UIComponentUIComponentBase. findComponent(String expr)Standard method for finding other components by id, inherited by most UIComponent objects.static UIComponentUIComponent. 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 UIComponentUIComponent. getCurrentComponent(FacesContext context)static UIComponentUIComponent. getCurrentCompositeComponent(FacesContext context)abstract UIComponentUIComponent. getFacet(String name)UIComponentUIComponentBase. getFacet(String name)UIComponentUIColumn. getFooter()UIComponentUIData. getFooter()UIComponentUIColumn. getHeader()UIComponentUIData. getHeader()UIComponentUIComponent. getNamingContainer()abstract UIComponentUIComponent. getParent()Returns the parent of the component.UIComponentUIComponentBase. 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 voidUIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource)voidUIViewRoot. addComponentResource(FacesContext context, UIComponent componentResource, String target)static UIComponentUIComponent. 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!voidContextCallback. invokeContextCallback(FacesContext context, UIComponent target)static booleanUIComponent. isCompositeComponent(UIComponent component)voidUIComponent. pushComponentToEL(FacesContext context, UIComponent component)voidUIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource)voidUIViewRoot. removeComponentResource(FacesContext context, UIComponent componentResource, String target)voidUIColumn. setFooter(UIComponent footer)voidUIData. setFooter(UIComponent footer)voidUIColumn. setHeader(UIComponent header)voidUIData. setHeader(UIComponent header)abstract voidUIComponent. setParent(UIComponent parent)For JSF-framework internal use only.voidUIComponentBase. setParent(UIComponent parent)Set the parentUIComponentof thisUIComponent. -
Uses of UIComponent in jakarta.faces.component.behavior
Methods in jakarta.faces.component.behavior that return UIComponent Modifier and Type Method Description abstract UIComponentClientBehaviorContext. getComponent()Methods in jakarta.faces.component.behavior with parameters of type UIComponent Modifier and Type Method Description static ClientBehaviorContextClientBehaviorContext. createClientBehaviorContext(FacesContext context, UIComponent component, String eventName, String sourceId, Collection<ClientBehaviorContext.Parameter> parameters)voidClientBehavior. decode(FacesContext context, UIComponent component)voidClientBehaviorBase. 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 classHtmlBodyclassHtmlColumnclassHtmlCommandButtonclassHtmlCommandLinkclassHtmlCommandScriptclassHtmlDataTableclassHtmlDoctypeclassHtmlFormclassHtmlGraphicImageclassHtmlHeadclassHtmlInputFileclassHtmlInputHiddenRenders as an HTML input tag with its type set to "hidden".classHtmlInputSecretclassHtmlInputTextclassHtmlInputTextareaclassHtmlMessageclassHtmlMessagesclassHtmlOutcomeTargetButtonclassHtmlOutcomeTargetLinkclassHtmlOutputFormatclassHtmlOutputLabelclassHtmlOutputLinkclassHtmlOutputTextclassHtmlPanelGridclassHtmlPanelGroupclassHtmlSelectBooleanCheckboxclassHtmlSelectManyCheckboxclassHtmlSelectManyListboxclassHtmlSelectManyMenuclassHtmlSelectOneListboxclassHtmlSelectOneMenuclassHtmlSelectOneRadio -
Uses of UIComponent in jakarta.faces.component.search
Methods in jakarta.faces.component.search that return UIComponent Modifier and Type Method Description abstract UIComponentSearchExpressionContext. getSource()Methods in jakarta.faces.component.search with parameters of type UIComponent Modifier and Type Method Description static SearchExpressionContextSearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source)static SearchExpressionContextSearchExpressionContext. createSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)abstract SearchExpressionContextSearchExpressionContextFactory. getSearchExpressionContext(FacesContext context, UIComponent source, Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints)voidSearchKeywordContext. invokeContextCallback(UIComponent target)abstract voidSearchExpressionHandler. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback topCallback)voidSearchExpressionHandlerWrapper. invokeOnComponent(SearchExpressionContext searchExpressionContext, UIComponent previous, String expression, ContextCallback topCallback)abstract voidSearchKeywordResolver. 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 VisitResultVisitContext. invokeVisitCallback(UIComponent component, VisitCallback callback)VisitResultVisitContextWrapper. invokeVisitCallback(UIComponent component, VisitCallback callback)VisitResultVisitCallback. 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 voidResponseWriter. startElement(String name, UIComponent component)voidResponseWriterWrapper. startElement(String name, UIComponent component)voidResponseWriter. writeText(Object object, UIComponent component, String string)voidResponseWriterWrapper. 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 ObjectBigDecimalConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectBigIntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectBooleanConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectByteConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectCharacterConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)TConverter. getAsObject(FacesContext context, UIComponent component, String value)ObjectDateTimeConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectDoubleConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectEnumConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectFloatConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectIntegerConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectLongConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectNumberConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)ObjectShortConverter. getAsObject(FacesContext facesContext, UIComponent uiComponent, String value)StringBigDecimalConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringBigIntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringBooleanConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringByteConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringCharacterConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringConverter. getAsString(FacesContext context, UIComponent component, T value)StringDateTimeConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringDoubleConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringEnumConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringFloatConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringIntegerConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringLongConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringNumberConverter. getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)StringShortConverter. 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 UIComponentComponentSystemEvent. getComponent()UIComponentExceptionQueuedEventContext. getComponent()UIComponentFacesEvent. getComponent()Methods in jakarta.faces.event with parameters of type UIComponent Modifier and Type Method Description voidPostRestoreStateEvent. 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 classRenderer<T extends UIComponent>see Javadoc of JSF SpecificationMethods in jakarta.faces.render with parameters of type UIComponent Modifier and Type Method Description voidClientBehaviorRenderer. decode(FacesContext context, UIComponent component, ClientBehavior behavior)voidRendererWrapper. decode(FacesContext context, UIComponent component)voidRendererWrapper. encodeBegin(FacesContext context, UIComponent component)voidRendererWrapper. encodeChildren(FacesContext context, UIComponent component)voidRendererWrapper. encodeEnd(FacesContext context, UIComponent component)ObjectRendererWrapper. 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 voidBeanValidator. validate(FacesContext context, UIComponent component, Object value)voidDoubleRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidLengthValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidLongRangeValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidMethodExpressionValidator. validate(FacesContext context, UIComponent component, Object value)voidRegexValidator. validate(FacesContext context, UIComponent component, Object value)voidRequiredValidator. validate(FacesContext facesContext, UIComponent uiComponent, Object value)voidValidator. 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 UIComponentViewDeclarationLanguage. createComponent(FacesContext context, String taglibURI, String tagName, Map<String,Object> attributes)UIComponentViewDeclarationLanguageWrapper. 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 voidAttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)Take the argumentparentand apply this attachedobjectto it.List<UIComponent>AttachedObjectTarget. getTargets(UIComponent topLevelComponent)voidViewDeclarationLanguage. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)voidViewDeclarationLanguageWrapper. retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent, List<AttachedObjectHandler> handlers)voidViewDeclarationLanguage. retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)voidViewDeclarationLanguageWrapper. 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 UIComponentComponentHandler. createComponent(FaceletContext ctx)Methods in jakarta.faces.view.facelets with parameters of type UIComponent Modifier and Type Method Description voidCompositeFaceletHandler. apply(FaceletContext ctx, UIComponent parent)Process changes on a particular UIComponentvoidDelegatingMetaTagHandler. apply(FaceletContext ctx, UIComponent parent)Process changes on a particular UIComponentabstract voidFacelet. apply(FacesContext facesContext, UIComponent parent)The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.voidFaceletHandler. apply(FaceletContext ctx, UIComponent parent)Process changes on a particular UIComponentabstract voidTagHandlerDelegate. apply(FaceletContext ctx, UIComponent comp)voidFaceletsAttachedObjectHandler. applyAttachedObject(FacesContext context, UIComponent parent)Take the argumentparentand apply this attachedobjectto it.voidFacelet. 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:metadatatag.voidDelegatingMetaTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)abstract voidFaceletContext. 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 voidFaceletContext. includeFacelet(UIComponent parent, URL absolutePath)Include another Facelet defined at some path, absolute to this ClassLoader/OSstatic booleanComponentHandler. isNew(UIComponent component)voidComponentHandler. onComponentCreated(FaceletContext ctx, UIComponent c, UIComponent parent)voidComponentHandler. 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 UIComponentComponentUtils. findClosestNamingContainer(UIComponent component, boolean returnRootIfNotFound)static UIComponentComponentUtils. findComponent(UIComponent findBase, String id, char separatorChar)Find the component with the specified id starting from the specified component.static UIComponentComponentUtils. findComponentChildOrFacetFrom(UIComponent parent, String id, String innerExpr)static UIComponentComponentUtils. findRootComponent(UIComponent component)UIComponentSelectItemsIterator. getCurrentComponent()Methods in org.apache.myfaces.core.api.shared with parameters of type UIComponent Modifier and Type Method Description static voidMessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId)static voidMessageUtils. addErrorMessage(FacesContext facesContext, UIComponent component, String messageId, Object[] args)static voidMessageUtils. 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> TComponentUtils. findClosest(Class<T> type, UIComponent base)static UIComponentComponentUtils. findClosestNamingContainer(UIComponent component, boolean returnRootIfNotFound)static UIComponentComponentUtils. findComponent(UIComponent findBase, String id, char separatorChar)Find the component with the specified id starting from the specified component.static UIComponentComponentUtils. findComponentChildOrFacetFrom(UIComponent parent, String id, String innerExpr)static UIComponentComponentUtils. findRootComponent(UIComponent component)static booleanAttributeUtils. getBooleanAttribute(UIComponent component, String attrName, boolean defaultValue)static intAttributeUtils. getIntegerAttribute(UIComponent component, String attrName, int defaultValue)static ObjectMessageUtils. getLabel(FacesContext facesContext, UIComponent component)static longCommonHtmlAttributes. getMarkedAttributes(UIComponent component)static longCommonHtmlEvents. getMarkedEvents(UIComponent component)static StringComponentUtils. getPathToComponent(UIComponent component)static voidComponentUtils. getPathToComponent(UIComponent component, StringBuilder buf)static booleanSelectItemsUtil. isNoSelectionOption(FacesContext context, UIComponent uiComponent, Object value, Iterator<SelectItem> iterator, Converter converter)static booleanComponentUtils. 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 voidCommonHtmlAttributes. markAttribute(UIComponent component, long propertyConstant)static voidCommonHtmlAttributes. markAttribute(UIComponent component, String name)static voidCommonHtmlEvents. markEvent(UIComponent component, String name)static booleanSelectItemsUtil. 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)
-