Class TabContent

java.lang.Object
org.patternfly.component.SubComponent<elemental2.dom.HTMLElement, TabContent>
org.patternfly.component.tabs.TabContent
All Implemented Interfaces:
ElementAttributeMethods<elemental2.dom.HTMLElement, TabContent>, ElementClassListMethods<elemental2.dom.HTMLElement, TabContent>, ElementConsumerMethods<elemental2.dom.HTMLElement, TabContent>, ElementContainerMethods<elemental2.dom.HTMLElement, TabContent>, ElementEventMethods<elemental2.dom.HTMLElement, TabContent>, ElementIdMethods<elemental2.dom.HTMLElement, TabContent>, ElementQueryMethods<elemental2.dom.HTMLElement>, ElementTextMethods<elemental2.dom.HTMLElement, TabContent>, HTMLElementAttributeMethods<elemental2.dom.HTMLElement, TabContent>, HTMLElementDataMethods<elemental2.dom.HTMLElement, TabContent>, HTMLElementStyleMethods<elemental2.dom.HTMLElement, TabContent>, HTMLElementVisibilityMethods<elemental2.dom.HTMLElement, TabContent>, IsElement<elemental2.dom.HTMLElement>, TypedBuilder<elemental2.dom.HTMLElement, TabContent>, ComponentContext<elemental2.dom.HTMLElement, TabContent>, OuiaSupport<elemental2.dom.HTMLElement, TabContent>, Modifiers.Disabled<elemental2.dom.HTMLElement, TabContent>

public class TabContent extends SubComponent<elemental2.dom.HTMLElement, TabContent> implements ComponentContext<elemental2.dom.HTMLElement, TabContent>, Modifiers.Disabled<elemental2.dom.HTMLElement, TabContent>, ElementTextMethods<elemental2.dom.HTMLElement, TabContent>
A tab content area within a Tabs component.
  • Field Details

  • Method Details

    • tabContent

      public static TabContent tabContent()
    • addBody

      public TabContent addBody(TabContentBody body)
    • store

      public <T> TabContent store(String key, T value)
      Description copied from interface: ComponentContext
      Stores a value associated with a key.
      Specified by:
      store in interface ComponentContext<elemental2.dom.HTMLElement, TabContent>
      Type Parameters:
      T - the type of the value being stored
      Parameters:
      key - the key associated with the value
      value - the value to be stored
    • that

      public TabContent that()
      Specified by:
      that in interface TypedBuilder<elemental2.dom.HTMLElement, TabContent>
    • has

      public boolean has(String key)
      Description copied from interface: ComponentContext
      Determines whether a value is stored with the specified key.
      Specified by:
      has in interface ComponentContext<elemental2.dom.HTMLElement, TabContent>
      Parameters:
      key - the key to check
      Returns:
      true if a value is stored with the specified key, false otherwise
    • get

      public <T> T get(String key)
      Description copied from interface: ComponentContext
      Retrieves the value associated with the given key from the ComponentContext.
      Specified by:
      get in interface ComponentContext<elemental2.dom.HTMLElement, TabContent>
      Type Parameters:
      T - the type of the value being retrieved
      Parameters:
      key - the key associated with the value
      Returns:
      the value associated with the key, or null if no value is found