Interface Section

All Known Implementing Classes:
BorderSection, CustomSection, FillSection, PaginatedListSection, SlotSection, StorageSection, ValueBarSection

Sealed marker for every section record. Each section knows its id and its type handle. The sealed set permits both built-ins and a generic carrier for registered widgets.
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Returns this section's id within its menu.
    SectionType<? extends Section>
    Returns the handle describing this section's type.
  • Method Details

    • id

      String id()
      Returns this section's id within its menu.
      Returns:
      the section id, unique among the menu's sections
    • type

      SectionType<? extends Section> type()
      Returns the handle describing this section's type.
      Returns:
      the type this section was decoded as