Interface PromptItem

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getDisabledText()
      Get the text to display when this item is disabled.
      default java.lang.String getFooter()
      Optional footer text shown dimmed below a list or checkbox while this item is focused.
      java.lang.String getName()
      Get the name of this item.
      java.lang.String getText()
      Get the text to display for this item.
      default boolean isDisabled()
      Whether this item is disabled.
      default boolean isSelectable()
      Whether this item is selectable.
    • Method Detail

      • getName

        java.lang.String getName()
        Get the name of this item.
        Returns:
        the name
      • isDisabled

        default boolean isDisabled()
        Whether this item is disabled.
        Returns:
        true if this item is disabled
      • isSelectable

        default boolean isSelectable()
        Whether this item is selectable.
        Returns:
        true if this item is selectable
      • getText

        java.lang.String getText()
        Get the text to display for this item.
        Returns:
        the text
      • getDisabledText

        default java.lang.String getDisabledText()
        Get the text to display when this item is disabled.
        Returns:
        the disabled text
      • getFooter

        default java.lang.String getFooter()
        Optional footer text shown dimmed below a list or checkbox while this item is focused.
        Returns:
        the footer text, or null/empty for no footer