Package net.minheur.potoflux.screen
Class PotoScreen
java.lang.Object
net.minheur.potoflux.screen.PotoScreen
The handler for the main potoflux screen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrame()Getter for theframeGets the tab from its resource locationGetter for thetabMapvoidsetOpenedTab(Tab tab) Sets the opened tab in the app.
-
Constructor Details
-
PotoScreen
public PotoScreen()Constructor for creating the screen
-
-
Method Details
-
getTabMap
Getter for thetabMap- Returns:
- the
tabMap
-
getFromResourceLoc
Gets the tab from its resource location- Parameters:
loc- the loc to get the tab from- Returns:
- the corresponding tab class
-
getFrame
Getter for theframe- Returns:
- the
frame
-
setOpenedTab
Sets the opened tab in the app.- Parameters:
tab- the tab to be set in thetabs
-