Interface GroupInfo
- All Known Implementing Classes:
BaseGroupInfo
@NullMarked
public interface GroupInfo
Represents a group of items in the
GroupListDataComponent.-
Method Summary
Modifier and TypeMethodDescription@Nullable GroupInfo<T> @Nullable TgetPropertyValue(GroupProperty property) Returns the value by group property.<T> @Nullable TgetValue()Returns the value of the group property.
-
Method Details
-
getParent
@Nullable GroupInfo getParent()- Returns:
- parent group or
nullif this is a root group
-
getProperty
GroupProperty getProperty()- Returns:
- group property
-
getPropertyValue
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
<T> @Nullable T getValue()Returns the value of the group property.- Type Parameters:
T- property value type- Returns:
- group property value
-