Interface StatsTab.StatsInitContext
- Enclosing class:
StatsTab
public static interface StatsTab.StatsInitContext
The "initialization context" for when a
StatsTab
's GUI is "initializing".- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the filter settings/preferences set by the user.io.github.thecsdev.tcdcommons.api.client.gui.panel.TPanelElement
Returns theTPanelElement
onto which the GUI should be initialized.Returns theIStatsProvider
that contains all the statistics.
-
Method Details
-
getStatsPanel
io.github.thecsdev.tcdcommons.api.client.gui.panel.TPanelElement getStatsPanel()Returns theTPanelElement
onto which the GUI should be initialized.Initialize all GUI onto this
TPanelElement
. -
getStatsProvider
IStatsProvider getStatsProvider()Returns theIStatsProvider
that contains all the statistics.Use this to obtain the statistics that should be shown on this
StatsTab
. -
getFilterSettings
StatFilterSettings getFilterSettings()Returns the filter settings/preferences set by the user.
-