Package com.aliucord.entities
Class Plugin.SettingsTab
-
- All Implemented Interfaces:
public final class Plugin.SettingsTabPlugin SettingsTab
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPlugin.SettingsTab.TypeThe type of this SettingsTab. PAGE is a dedicated page, BOTTOM_SHEET is a popup at the bottom of the screen.
public interfacePlugin.SettingsTab.SettingsPage
-
Field Summary
Fields Modifier and Type Field Description public Plugin.SettingsTab.Typetypepublic Class<out AppFragment>pagepublic Class<out AppBottomSheet>bottomSheetpublic Array<out Object>args
-
Constructor Summary
Constructors Constructor Description Plugin.SettingsTab(Class<out AppFragment> settings)Creates a SettingsTab with a dedicated page Plugin.SettingsTab(Class<?> settings, Plugin.SettingsTab.Type type)Creates a SettingsTab of the specified type
-
Method Summary
Modifier and Type Method Description final Plugin.SettingsTabwithArgs(Object args)Sets the constructor args that will be passed to this SettingsTab -
-
Constructor Detail
-
Plugin.SettingsTab
Plugin.SettingsTab(Class<out AppFragment> settings)
Creates a SettingsTab with a dedicated page
- Parameters:
settings- The settings page fragment
-
Plugin.SettingsTab
Plugin.SettingsTab(Class<?> settings, Plugin.SettingsTab.Type type)
Creates a SettingsTab of the specified type
- Parameters:
settings- The component to use for this SettingsTabtype- The Type of this SettingsTab
-
-
Method Detail
-
withArgs
final Plugin.SettingsTab withArgs(Object args)
Sets the constructor args that will be passed to this SettingsTab
- Parameters:
args- The arguments that should be passed
-
-
-
-