Interface StatsView.FiltersInitContext
- Enclosing class:
StatsView
-
Method Summary
Modifier and TypeMethodDescriptionTheStatsView.Filtersconfigurations for filtering statistics displayed withStatsView.StatsInitContexts.@NotNull com.thecsdev.commonmc.api.client.gui.panel.TPanelElementgetPanel()TheTPanelElementonto which the filters GUI is to be initialized.default @NotNull StatsViewUtility method for getting the value of theStatsViewUtils.FID_STATSVIEWfilter.@NotNull McbsEditorFileTabgetTab()TheMcbsEditorFileTabinstance of the currently initializing view.default voidsetStatsView(@Nullable StatsView statsView) Utility method for setting the value of theStatsViewUtils.FID_STATSVIEWfilter.
-
Method Details
-
getPanel
@NotNull @NotNull com.thecsdev.commonmc.api.client.gui.panel.TPanelElement getPanel()TheTPanelElementonto which the filters GUI is to be initialized. -
getFilters
TheStatsView.Filtersconfigurations for filtering statistics displayed withStatsView.StatsInitContexts. -
getStatsView
Utility method for getting the value of theStatsViewUtils.FID_STATSVIEWfilter.- See Also:
-
setStatsView
Utility method for setting the value of theStatsViewUtils.FID_STATSVIEWfilter.- Parameters:
statsView- TheStatsViewvalue to set.- See Also:
-
getTab
TheMcbsEditorFileTabinstance of the currently initializing view.- Since:
- 5.2.0
-