Interface GuiStateProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies dynamic pseudo-class or custom-state values for a retained component.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive(GuiComponent<?> component, GuiStyleState state) Returns whether the query is currently active.
-
Method Details
-
isActive
Returns whether the query is currently active.- Parameters:
component- component being matchedstate- standard or custom state query- Returns:
- active flag
-