Interface GroupInfo

All Known Implementing Classes:
BaseGroupInfo

public interface GroupInfo
Represents a group of items in the GroupListDataComponent.
  • Method Details

    • getParent

      @Nullable GroupInfo getParent()
      Returns:
      parent group or null if this is a root group
    • getProperty

      GroupProperty getProperty()
      Returns:
      group property
    • getPropertyValue

      @Nullable <T> T getPropertyValue(GroupProperty property)
      Returns the value by group property. If the group is a child, it also provides property values of the parent groups.
      Type Parameters:
      T - property value type
      Parameters:
      property - group property
      Returns:
      group property value or null
    • getValue

      @Nullable <T> T getValue()
      Returns the value of the group property.
      Type Parameters:
      T - property value type
      Returns:
      group property value