Class BaseComponent<E extends elemental2.dom.HTMLElement, B extends TypedBuilder<E,B>>

java.lang.Object
org.patternfly.component.BaseComponent<E,B>
All Implemented Interfaces:
ElementAttributeMethods<E,B>, ElementClassListMethods<E,B>, ElementConsumerMethods<E,B>, ElementContainerMethods<E,B>, ElementEventMethods<E,B>, ElementIdMethods<E,B>, ElementQueryMethods<E>, HTMLElementAttributeMethods<E,B>, HTMLElementDataMethods<E,B>, HTMLElementStyleMethods<E,B>, HTMLElementVisibilityMethods<E,B>, IsElement<E>, TypedBuilder<E,B>, Component, OuiaSupport<E,B>
Direct Known Subclasses:
Accordion, ActionList, Alert, AlertGroup, Avatar, Backdrop, BackToTop, Badge, Banner, BaseTextInputGroup, Brand, Breadcrumb, Button, Card, Checkbox, CodeBlock, CodeEditor, Content, DataList, DescriptionList, Divider, Drawer, EmptyState, ExpandableSection, Finder, Form, FormControl, HelperText, Hint, Icon, InputGroup, JumpLinks, Label, LabelGroup, List, Masthead, Menu, MenuToggle, Navigation, NotificationBadge, NotificationDrawer, NumberInput, Page, PageHeader, Panel, Popover, Progress, ProgressStepper, Radio, ServiceCard, SimpleList, Skeleton, SkipToContent, Slider, Switch, Table, Tabs, TemplateComponent, ThemeSelector, Timestamp, Title, ToggleGroup, Toolbar, Tooltip, TreeView, Truncate, Wizard

public abstract class BaseComponent<E extends elemental2.dom.HTMLElement, B extends TypedBuilder<E,B>> extends Object implements Component, OuiaSupport<E,B>, ElementAttributeMethods<E,B>, ElementClassListMethods<E,B>, ElementConsumerMethods<E,B>, ElementContainerMethods<E,B>, ElementEventMethods<E,B>, ElementIdMethods<E,B>, ElementQueryMethods<E>, HTMLElementAttributeMethods<E,B>, HTMLElementDataMethods<E,B>, HTMLElementStyleMethods<E,B>, HTMLElementVisibilityMethods<E,B>
Base class for PatternFly components backed by an HTMLElement. Provides OUIA support, component type identification, and access to ComponentStore and ComponentRegistry.
See Also:
  • Method Details

    • ouiaComponentType

      public String ouiaComponentType()
      Description copied from interface: OuiaSupport
      Returns the OUIA component type identifier (e.g. "PF6/Component/Button" or "MyApp/MyWidget").
      Specified by:
      ouiaComponentType in interface OuiaSupport<E extends elemental2.dom.HTMLElement, B extends TypedBuilder<E,B>>
    • componentType

      public ComponentType componentType()
      Specified by:
      componentType in interface Component
    • element

      public E element()
      Specified by:
      element in interface IsElement<E extends elemental2.dom.HTMLElement>
    • registerComponent

      public B registerComponent()