Class ActionListItem

java.lang.Object
org.patternfly.component.SubComponent<elemental2.dom.HTMLDivElement, ActionListItem>
org.patternfly.component.list.ActionListItem
All Implemented Interfaces:
ElementAttributeMethods<elemental2.dom.HTMLDivElement, ActionListItem>, ElementClassListMethods<elemental2.dom.HTMLDivElement, ActionListItem>, ElementConsumerMethods<elemental2.dom.HTMLDivElement, ActionListItem>, ElementContainerMethods<elemental2.dom.HTMLDivElement, ActionListItem>, ElementEventMethods<elemental2.dom.HTMLDivElement, ActionListItem>, ElementIdMethods<elemental2.dom.HTMLDivElement, ActionListItem>, ElementQueryMethods<elemental2.dom.HTMLDivElement>, HTMLElementAttributeMethods<elemental2.dom.HTMLDivElement, ActionListItem>, HTMLElementDataMethods<elemental2.dom.HTMLDivElement, ActionListItem>, HTMLElementStyleMethods<elemental2.dom.HTMLDivElement, ActionListItem>, HTMLElementVisibilityMethods<elemental2.dom.HTMLDivElement, ActionListItem>, IsElement<elemental2.dom.HTMLDivElement>, TypedBuilder<elemental2.dom.HTMLDivElement, ActionListItem>, ComponentContext<elemental2.dom.HTMLDivElement, ActionListItem>, HasIdentifier<elemental2.dom.HTMLDivElement, ActionListItem>, OuiaSupport<elemental2.dom.HTMLDivElement, ActionListItem>

public class ActionListItem extends SubComponent<elemental2.dom.HTMLDivElement, ActionListItem> implements HasIdentifier<elemental2.dom.HTMLDivElement, ActionListItem>, ComponentContext<elemental2.dom.HTMLDivElement, ActionListItem>
A action list item within a ActionList component.
  • Field Details

  • Method Details

    • actionListItem

      public static ActionListItem actionListItem()
    • actionListItem

      public static ActionListItem actionListItem(String identifier)
    • store

      public <T> ActionListItem 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.HTMLDivElement, ActionListItem>
      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 ActionListItem that()
      Specified by:
      that in interface TypedBuilder<elemental2.dom.HTMLDivElement, ActionListItem>
    • identifier

      public String identifier()
      Description copied from interface: HasIdentifier
      Retrieves the identifier associated with this component.
      Specified by:
      identifier in interface HasIdentifier<elemental2.dom.HTMLDivElement, ActionListItem>
      Returns:
      the identifier of the component
    • 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.HTMLDivElement, ActionListItem>
      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.HTMLDivElement, ActionListItem>
      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