Module technology.sola.engine
Interface GuiNavigatorScreenWithoutPayload<Element extends GuiElement<?,Element>>
- Type Parameters:
Element- theGuiElementtype for the root element
- All Superinterfaces:
GuiNavigationScreen<Element,Void>
@NullMarked
public interface GuiNavigatorScreenWithoutPayload<Element extends GuiElement<?,Element>>
extends GuiNavigationScreen<Element,Void>
GuiNavigatorScreenWithoutPayload is a screen that can be navigated to via
GuiNavigator.navigate(java.lang.Class<T>). This screen
does not receive a payload when navigated to.-
Method Summary
Modifier and TypeMethodDescriptionvoidonNavigate(Element element) Called when a user navigates to the screen.default voidonNavigate(Element element, Void unused) Called when a user navigates to the screen.Methods inherited from interface technology.sola.engine.graphics.gui.navigation.GuiNavigationScreen
rootElement
-
Method Details
-
getPayloadType
- Specified by:
getPayloadTypein interfaceGuiNavigationScreen<Element extends GuiElement<?,Element>, Void> - Returns:
- the payload type for the screen