Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractRegistry<T extends IRegistryType> - Class in net.minheur.potoflux.registry
-
A registry for an event.
- AbstractRegistry() - Constructor for class net.minheur.potoflux.registry.AbstractRegistry
- AbstractTranslationsRegistry - Class in net.minheur.potoflux.translations
-
Abstract registry for a lang
- AbstractTranslationsRegistry(String) - Constructor for class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Creates a reg, from the modID
- AbstractTranslationsRegistry.TranslationBuilder - Class in net.minheur.potoflux.translations
-
Builder for translations
- account - Static variable in class net.minheur.potoflux.login.ConnectionHandler
-
Account of the user currently connected
- Account - Class in net.minheur.potoflux.login
-
A class that stores every useful info about an account.
The user stored by the class can be identified with it'sAccount.uuid - Account() - Constructor for class net.minheur.potoflux.login.Account
- ACCOUNT - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs related to your account
- ACCOUNT - Static variable in class net.minheur.potoflux.screen.menu.MenuContent
-
Item for the account menu
- ACCOUNT - Static variable in class net.minheur.potoflux.screen.tabs.Tabs
-
The item of the account tab (
AccountTab) - ACCOUNT_IDS - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs related to your account's IDs
- ACCOUNT_NOTIFICATION - Static variable in class net.minheur.potoflux.styles.PtfStylesheets
- AccountDetailsDialog - Class in net.minheur.potoflux.ui.dialogs
-
When you ask for a user's details, this dialog pops up
- AccountDetailsDialog(Dialog<?>, Account) - Constructor for class net.minheur.potoflux.ui.dialogs.AccountDetailsDialog
-
Creates the dialog, adds the buttons, the components and sets up the layout
- accountFor(String) - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Logs in with a token.
- AccountMenu - Class in net.minheur.potoflux.screen.menu.definers
-
The menu for the account shortcuts
- AccountMenu() - Constructor for class net.minheur.potoflux.screen.menu.definers.AccountMenu
-
Creates a new account menu, adds all items and actions
- AccountTab - Class in net.minheur.potoflux.screen.tabs.all
-
Tab class for account tab
- AccountTab() - Constructor for class net.minheur.potoflux.screen.tabs.all.AccountTab
- ActionRun - Record Class in net.minheur.potoflux.actionRuns.regs
-
This class creates an action run
- ActionRun(ResourceLocation, Runnable) - Constructor for record class net.minheur.potoflux.actionRuns.regs.ActionRun
-
Creates an instance of a
ActionRunrecord class. - ActionRunRunnable - Class in net.minheur.potoflux.actionRuns.regs
-
This class stores all potoflux action run runnable
- ActionRunRunnable() - Constructor for class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
- ActionRuns - Class in net.minheur.potoflux.actionRuns
-
the potoflux reg for the action runs
- ActionRuns() - Constructor for class net.minheur.potoflux.actionRuns.ActionRuns
- actualDepVersion - Variable in class net.minheur.potoflux.loader.mod.errors.LoadModError
- add(String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Creates a
AbstractTranslationsRegistry.TranslationBuilderwith a raw key - add(String, String...) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Creates a
AbstractTranslationsRegistry.TranslationBuilderwith a main key and children (separated by a.) - add(Supplier<T>) - Method in class net.minheur.potoflux.registry.RegistryList
- add(LoadModError) - Static method in class net.minheur.potoflux.loader.mod.errors.ModErrorReg
- add(Mod, boolean, String) - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
- add(Mod, ModState) - Static method in class net.minheur.potoflux.loader.mod.errors.ModErrorReg
- add(Candidate) - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
- add(SmartSupplier<T>) - Method in class net.minheur.potoflux.registry.RegistryList
-
Method to add an item to the registry.
- add(T) - Method in class net.minheur.potoflux.registry.AbstractRegistry
-
Adds an item to the reg
- addAll() - Method in class net.minheur.potoflux.screen.menu.definers.AccountMenu
-
Adds all items to the menu.
Also adds item to the perm's sub menu - addCommand(String, String...) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Adds a translation for a command
- addCommandUse(String, String...) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Adds a translation for a command usage
- AddFeatureDialog - Class in net.minheur.potoflux.ui.dialogs
-
Dialog displayed to add a new optional feature
- AddFeatureDialog() - Constructor for class net.minheur.potoflux.ui.dialogs.AddFeatureDialog
-
Makes the dialog, sets up the layout, adds the buttons and components
- addItem(Runnable) - Static method in class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry
- addListener(Class<E>, Consumer<E>) - Method in class net.minheur.potoflux.loader.mod.ModEventBus
-
Adds a listener with an event class and a consumer of this event.
This requires the registering mod to explicitly say which event is used. - addListener(EventListener<E>) - Method in class net.minheur.potoflux.loader.mod.ModEventBus
-
Only method references are supported (no lambda expressions).
The listener method must take exactly one parameter.
No inline listeners, ase -> handle(e)ore -> System.out.println() - AddonLoader - Class in net.minheur.potoflux.loader.mod
- AddonLoader() - Constructor for class net.minheur.potoflux.loader.mod.AddonLoader
- addTab(String, String...) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Adds a translation for a tab
- addUser(String, String, String, String, String, String[], int) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Creation of a user by an admin
- AddUserDialog - Class in net.minheur.potoflux.ui.dialogs
-
Used by admins when creating a new account for someone
- AddUserDialog() - Constructor for class net.minheur.potoflux.ui.dialogs.AddUserDialog
-
Creates the dialog and calls
AddUserDialog.initUI() - AllUsersDialog - Class in net.minheur.potoflux.ui.dialogs
-
Contains the list of all users, each with a button allowing the user to see their details.
- AllUsersDialog(List<Account>) - Constructor for class net.minheur.potoflux.ui.dialogs.AllUsersDialog
-
Creates the dialog with a given list of account
- ALREADY_CIRCULAR - Enum constant in enum class net.minheur.potoflux.loader.mod.LoadResult
- app - Static variable in class net.minheur.potoflux.PotoFlux
-
The actual app.
This contains the JFrame and will be instantiated when the app will run. - appendNoCommand() - Static method in class net.minheur.potoflux.terminal.CommandProcessor
-
Method to write in the terminal that no commands has been found.
- appendOutput(String) - Static method in class net.minheur.potoflux.terminal.CommandProcessor
-
Method used to print something in the terminal.
- applyButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
APPLYaction. - argAmountCheck(int, int, List<String>) - Static method in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
Checks for an amount of args, contained between a min and a max
- argAmountCheck(int, List<String>) - Static method in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
Checks for an amount of args, being a fixed amount
- argAmountCheck(List<String>, int...) - Static method in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
Checks for an amount of args, being contained in a given list of allowed amounts
- ASCII - Static variable in class net.minheur.potoflux.settings.Settings
-
Setting to change the ASCII that get printed on startup
Values is betweenASCIIs - ASCII - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
asciicommand. - ASCII_ON_START - Static variable in class net.minheur.potoflux.settings.Settings
-
Weather the terminal's ASCII need to be printed even if it isn't empty
- ASCIIs - Enum Class in net.minheur.potoflux.terminal
-
Enum with all ASCIIs.
Used in the settings
B
- BaseHTab<T extends javafx.scene.Parent> - Class in net.minheur.potoflux.screen.tabs
-
Base tab, but also including a preset
BaseHTab.hContentandBaseHTab.boxPreset() - BaseHTab() - Constructor for class net.minheur.potoflux.screen.tabs.BaseHTab
- BaseResponse - Class in net.minheur.potoflux.login.response
-
A simple response with a success and error field
- BaseResponse() - Constructor for class net.minheur.potoflux.login.response.BaseResponse
- BaseTab<T extends javafx.scene.Parent> - Class in net.minheur.potoflux.screen.tabs
-
The base tab, overridden to create your own tabs.
- BaseTab() - Constructor for class net.minheur.potoflux.screen.tabs.BaseTab
-
Constructor for the tab.
It will do the preset if enabled, and execute (or invokeLater) theBaseTab.setPanel()method, to add data to theBaseTab.PANEL. - BaseVTab<T extends javafx.scene.Parent> - Class in net.minheur.potoflux.screen.tabs
-
Base tab, but also including a preset
BaseVTab.vContentandBaseVTab.boxPreset() - BaseVTab() - Constructor for class net.minheur.potoflux.screen.tabs.BaseVTab
- BASIC - Enum constant in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- BASIC - Enum constant in enum class net.minheur.potoflux.terminal.ASCIIs
-
Basic ASCII, in plain letters
- BIG - Enum constant in enum class net.minheur.potoflux.terminal.ASCIIs
-
Big ASCII, made from other chars on multi-line
- BOOL - Enum constant in enum class net.minheur.potoflux.settings.OptionalFeature.Type
-
If the feature value is a
Boolean - BOOLEAN - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is a
Boolean. - bootstrap(Consumer<String>, String[]) - Static method in class net.minheur.potoflux.Bootstrap
-
It will first check for args, then enable devEnv if args contains it.
We then get version and log it, load all optionalFeatures, set the theme and set the loaded translations.
We get the loading bus, register all into it then list and load mods.
We post all events to the bus, and invoke the app. - Bootstrap - Class in net.minheur.potoflux
- Bootstrap() - Constructor for class net.minheur.potoflux.Bootstrap
- BOOTSTRAP_FAILED - Enum constant in enum class net.minheur.potoflux.utils.close.ExitCode
-
Used when boot failed
- BOTTOM - Enum constant in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Side.BOTTOM - boxPreset() - Method in class net.minheur.potoflux.screen.tabs.all.SettingsTab
- boxPreset() - Method in class net.minheur.potoflux.screen.tabs.BaseHTab
-
Preset layout for the
BaseHTab.hContent - boxPreset() - Method in class net.minheur.potoflux.screen.tabs.BaseVTab
-
Preset layout for the
BaseVTab.vContent - browse(String) - Static method in class net.minheur.potoflux.Functions
-
Opens a directory in your file explorer
- buildASCII() - Static method in class net.minheur.potoflux.terminal.Terminal
-
Write the ASCII (the one set in the user prefs).
By default, usingbig - buildDetail() - Method in class net.minheur.potoflux.login.notifications.Notification
- buildDetails(JsonObject) - Method in interface net.minheur.potoflux.login.notifications.reg.INotificationType
- buildDetails(JsonObject) - Method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- buildMessage() - Method in class net.minheur.potoflux.login.notifications.Notification
- buildMessage(JsonObject) - Method in interface net.minheur.potoflux.login.notifications.reg.INotificationType
- buildMessage(JsonObject) - Method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- buildPrefix(String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Builder retuning
PtfLogger.buildPrefix(List), but with the categories as a vararg. - buildPrefix(List<String>) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Method to get the prefix of the command.
It contains the time, and all the components given in args. - buildTitle() - Method in class net.minheur.potoflux.login.notifications.Notification
- buildTitle(JsonObject) - Method in interface net.minheur.potoflux.login.notifications.reg.INotificationType
- buildTitle(JsonObject) - Method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- buildWithCategory(String, String, List<String>) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Builds the message with a main category
- BYTE_ARRAY - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is a
byte[].
C
- cancelButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
CANCELaction. - Candidate - Record Class in net.minheur.potoflux.loader.mod.update
- Candidate(Mod, boolean, String) - Constructor for record class net.minheur.potoflux.loader.mod.update.Candidate
-
Creates an instance of a
Candidaterecord class. - CATALOG - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs about the mod catalog
- CHANGE_INFORMATIONS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to information of accounts.
RequirePerms.VIEW_USERSperm as well. - CHANGE_PASSWORD - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to reset users passwords, in case they forgot it.
RequirePerms.VIEW_USERSperm as well. - CHECK_ALLOW_ACCOUNT_CREATION - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- CHECK_POTOFLUX_UPDATE - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- CHECK_RICK_ROLL - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- checkAndRemoveExistingToken() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
If there's a token stored in the system, sends a request to remove it on the server.
Weather it succeeds of fails, will clear local token - CheckboxSetting - Class in net.minheur.potoflux.settings.types
-
A setting that uses a checkbox, featuring a
true/falseswitch - CheckboxSetting(String, boolean) - Constructor for class net.minheur.potoflux.settings.types.CheckboxSetting
-
Constructor using a name and a default value to create the setting
- checkNoArgs(List<String>) - Static method in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
Checks if there are no args
- checkRickRoll() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
- checkToken(String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Checks if a token exists
- checkUpdates() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks online for a newer version of potoflux.
If there is one available, tells the user. - CHISELED - Enum constant in enum class net.minheur.potoflux.terminal.ASCIIs
-
Chiseled ASCII, enormous with many lines
- CIRCULAR - Enum constant in enum class net.minheur.potoflux.loader.mod.LoadResult
- CIRCULAR - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- circularLastest - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- clazz - Variable in class net.minheur.potoflux.loader.mod.ModContainer
- clazz() - Method in record class net.minheur.potoflux.login.notifications.reg.NotificationType
-
Returns the value of the
clazzrecord component. - clear() - Static method in class net.minheur.potoflux.login.TokenHandler
-
Removes the local token
- CLEAR - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
clearcommand. - clearArea() - Static method in class net.minheur.potoflux.terminal.CommandProcessor
-
Empties all the terminal content
- close() - Static method in class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry
- close() - Static method in class net.minheur.potoflux.loader.mod.errors.ModErrorReg
- close() - Method in interface net.minheur.potoflux.loader.mod.events.IEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterCommandsEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterLangEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterMenuEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterModEventsEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterNotifTypesEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterRunsEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterSettingEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterStylesheetsEvent
- close() - Method in class net.minheur.potoflux.loader.mod.events.RegisterTabsEvent
- close() - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
- close() - Method in class net.minheur.potoflux.registry.AbstractRegistry
- close() - Method in class net.minheur.potoflux.screen.FXLoadingScreen
-
Shuts up the loading screen, mission ended
- closeButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
CLOSEaction. - closed - Variable in class net.minheur.potoflux.registry.AbstractRegistry
- CLOSED - Enum constant in enum class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry.State
- closeReg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterRunsEvent
- CloseRunRegistry - Class in net.minheur.potoflux.actionRuns.regs
-
The main registry for all close action runs
- CloseRunRegistry() - Constructor for class net.minheur.potoflux.actionRuns.regs.CloseRunRegistry
- code - Variable in enum class net.minheur.potoflux.translations.Lang
-
The code of the translations.
Used to get from the user pref - code() - Method in interface net.minheur.potoflux.logger.ILogCategory
-
Getter to override to get the code.
- code() - Method in enum class net.minheur.potoflux.logger.LogCategories
-
Getter for the code
- code() - Method in enum class net.minheur.potoflux.utils.close.ExitCode
-
Gets the actual code
- ComboSetting<T extends IComboSetting> - Class in net.minheur.potoflux.settings.types
-
A setting using a combo, allowing lots of setting types in one
- ComboSetting(String, ObservableList<T>, T) - Constructor for class net.minheur.potoflux.settings.types.ComboSetting
-
Constructor creating the ComboSetting.content and ComboSetting.node, as well as the labels.
- Command - Record Class in net.minheur.potoflux.terminal
-
A class used to register a command.
- Command(ResourceLocation, String, Consumer<List<String>>) - Constructor for record class net.minheur.potoflux.terminal.Command
-
Creates the command.
It is a hidden command - Command(ResourceLocation, String, Consumer<List<String>>, String) - Constructor for record class net.minheur.potoflux.terminal.Command
-
Creates the command.
It is a normal command - Command(ResourceLocation, String, Consumer<List<String>>, String, boolean) - Constructor for record class net.minheur.potoflux.terminal.Command
-
Creates an instance of a
Commandrecord class. - CommandActions - Class in net.minheur.potoflux.terminal.commands
-
The class containing all potoflux command actions
- CommandActions() - Constructor for class net.minheur.potoflux.terminal.commands.CommandActions
- commandEvent - Static variable in class net.minheur.potoflux.Bootstrap
- commandHelp() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns the value of the
commandHelprecord component. - CommandHelp - Class in net.minheur.potoflux.terminal.commands
-
The class containing all potoflux command helps
- CommandHelp() - Constructor for class net.minheur.potoflux.terminal.commands.CommandHelp
- CommandHistorySaver - Class in net.minheur.potoflux.terminal
-
Store, handle and save the command history
- CommandHistorySaver() - Constructor for class net.minheur.potoflux.terminal.CommandHistorySaver
- CommandMakerHelpers - Class in net.minheur.potoflux.terminal.commands
- CommandMakerHelpers() - Constructor for class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
- commandOutput() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns the value of the
commandOutputrecord component. - CommandProcessor - Class in net.minheur.potoflux.terminal
-
This class is used to handle the processing of the commands, the input and the output
- CommandProcessor() - Constructor for class net.minheur.potoflux.terminal.CommandProcessor
- CommandRegistry - Class in net.minheur.potoflux.terminal
-
Reg containing all commands of the app.
Commands should be added to this - CommandRegistry() - Constructor for class net.minheur.potoflux.terminal.CommandRegistry
- Commands - Class in net.minheur.potoflux.terminal.commands
-
Registry of all commands of potoflux
- Commands() - Constructor for class net.minheur.potoflux.terminal.commands.Commands
- CommonTranslations - Class in net.minheur.potoflux.translations.register
-
Translation registry for all common words, that can be used a lot.
- CommonTranslations() - Constructor for class net.minheur.potoflux.translations.register.CommonTranslations
- compatible() - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
-
Returns the value of the
compatiblerecord component. - compatibleVersions() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
-
The list of all potoflux versions your mod is compatible with.
Should take the form ofcompatibleVersions = {"6.0", "6.1"} - compatibleVersionUrl() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
-
An online URL, leading to a JSON file.
The file must contain a JSON object.
The object must contain 1 entry by version :
The key of the entry is the version (same as set inMod.version()),
and the content an array of strings. - confirmButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
CONFIRMaction. - CONNECT_TOKEN - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
-
Connect to your account with your token, if you have one
- ConnectionHandler - Class in net.minheur.potoflux.login
-
Handles all things related to connecting you to your account, disconnecting you, and keeping your
ConnectionHandler.account
It synchronizes multiple other classes to do so - ConnectionHandler() - Constructor for class net.minheur.potoflux.login.ConnectionHandler
- connectToken() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
-
Checks if you have a token.
- CONNEXION_POST - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs related to posting requests, with your account (this englobes connection and admin actions)
- containsKey(String) - Method in class net.minheur.potoflux.terminal.CommandRegistry
-
Checks if a key is already used by another command
- content() - Method in record class net.minheur.potoflux.screen.menu.PotoMenuItem
-
Returns the value of the
contentrecord component. - create() - Static method in class net.minheur.potoflux.login.CreateAccountHandler
-
Creates, displays and interprets a
CreateAccountDialog.
If validated, will send a request to create the account on the server - CREATE_USERS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to create new users
- createAccount(String, String, String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Account self-creation poster
- CreateAccountDialog - Class in net.minheur.potoflux.ui.dialogs
-
This dialog is used when you create your own account
- CreateAccountDialog() - Constructor for class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
-
Creates the dialog and runs
CreateAccountDialog.initGui() - CreateAccountHandler - Class in net.minheur.potoflux.login
-
This class is in charge when you click the create account button.
It only handles when you create your own account, not when an admin creates one. - CreateAccountHandler() - Constructor for class net.minheur.potoflux.login.CreateAccountHandler
- createInstance() - Method in record class net.minheur.potoflux.screen.tabs.Tab
-
Creates an instance of the tab class (
Tab.tabClass)
D
- de(String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry.TranslationBuilder
-
Utility to create a German translation
- DE - Enum constant in enum class net.minheur.potoflux.translations.Lang
-
German translations
- declaredLastest() - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
-
Returns the value of the
declaredLastestrecord component. - decompose(String, char) - Static method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Decompose a single string into an array containing the modId and the ID
- DEFAULT - Enum constant in enum class net.minheur.potoflux.theme.Themes
-
The default theme, chosen by the devs
- DELETE_USERS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to delete accounts
- dependenciesIds() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
-
A list of dependencies mods.
Each entry needs to be formated likeid:minVersion:maxVersionorid:version - Dependency - Class in net.minheur.potoflux.loader.mod
- Dependency(String) - Constructor for class net.minheur.potoflux.loader.mod.Dependency
- Dependency(String, String) - Constructor for class net.minheur.potoflux.loader.mod.Dependency
- DEPENDENCY_FAILED - Enum constant in enum class net.minheur.potoflux.loader.mod.LoadResult
- DEPENDENCY_WRONG_VERSION - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- detailsAlertType() - Method in class net.minheur.potoflux.login.notifications.Notification
- detailsAlertType(JsonObject) - Method in interface net.minheur.potoflux.login.notifications.reg.INotificationType
- detailsAlertType(JsonObject) - Method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- DISPLAY_MOD_ERRORS - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- DISPLAY_MOD_UPDATES - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- displayModErrors() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
- displayModUpdates() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
- doPreset() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
-
Disables the preset
- doPreset() - Method in class net.minheur.potoflux.screen.tabs.all.ModsTab
- doPreset() - Method in class net.minheur.potoflux.screen.tabs.all.SettingsTab
-
Disables the preset
- doPreset() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
-
Disable the preset
- doPreset() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
Handles if the preset should be executed.
True by default. - DOUBLE - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is a
Double.
E
- ECHO - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
echocommand. - email - Variable in class net.minheur.potoflux.login.Account
-
Email of the user stored in this class.
This is also the user's id, used when logging in - email - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Store the email adress of the user
- email - Variable in class net.minheur.potoflux.ui.dialogData.ModifiedUserData
- email - Variable in class net.minheur.potoflux.ui.dialogData.NewAccountData
-
Email of the new account
- emailChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
-
Says if the user's email has been changed.
Used mainly in debugging / checking for illegal requests - en(String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry.TranslationBuilder
-
Utility to create an English translation
- EN - Enum constant in enum class net.minheur.potoflux.translations.Lang
-
English translations
- enable() - Static method in class net.minheur.potoflux.logger.LogSaver
-
Enables the log saving system
- equals(Object) - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.loader.mod.post.ModEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.login.notifications.reg.NotificationType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.screen.menu.PotoMenuItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.screen.tabs.Tab
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.settings.Setting
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.styles.StylesheetEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.terminal.Command
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.minheur.potoflux.ui.dialogData.LoginData
-
Indicates whether some other object is "equal to" this one.
- error - Variable in class net.minheur.potoflux.login.response.BaseResponse
-
If
BaseResponse.successisfalse, this stores the error sent by the database. - error(String, String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Print an error log message, with a content and optional categories
- error(String, ILogCategory, String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Print an error log message, with a content, a main log category (in the form of an
ILogCategory) and optional categories - errorState - Variable in class net.minheur.potoflux.loader.mod.errors.LoadModError
- es(String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry.TranslationBuilder
-
Utility to create a Espagnol translation
- ES - Enum constant in enum class net.minheur.potoflux.translations.Lang
-
Espagnol translations
- escapeHtml(String) - Static method in class net.minheur.potoflux.Functions
-
Method to remove characters used in HTML code from a
String - event() - Method in record class net.minheur.potoflux.loader.mod.post.ModEvent
-
Returns the value of the
eventrecord component. - EventListener<E> - Interface in net.minheur.potoflux.utils
-
Used to add event listeners to mod event bus, without telling explicitly the event
- EventPostException - Exception in net.minheur.potoflux.utils.close
-
Used to report an exception during event posing stage
- EventPostException() - Constructor for exception net.minheur.potoflux.utils.close.EventPostException
- EventPostException(String) - Constructor for exception net.minheur.potoflux.utils.close.EventPostException
- EventPostException(String, Throwable) - Constructor for exception net.minheur.potoflux.utils.close.EventPostException
- EventPostException(String, Throwable, boolean, boolean) - Constructor for exception net.minheur.potoflux.utils.close.EventPostException
- EventPostException(Throwable) - Constructor for exception net.minheur.potoflux.utils.close.EventPostException
- exit(int, ExitCode) - Static method in class net.minheur.potoflux.Functions
-
This method is used to call exiting with a delay.
- ExitCode - Enum Class in net.minheur.potoflux.utils.close
-
Different exit codes that can be used to close the app, making it easy to debug
- externalDependencies() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
F
- FAILED - Enum constant in enum class net.minheur.potoflux.loader.mod.LoadResult
- FAILED - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- FILE - Static variable in class net.minheur.potoflux.screen.menu.MenuContent
-
Item for the file menu
- FileTranslations - Class in net.minheur.potoflux.translations.register
-
Registry for all file related translations
- FileTranslations() - Constructor for class net.minheur.potoflux.translations.register.FileTranslations
- FILL_TERMINAL - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
-
This action fills the terminal when the UI starts
- fillOutputTextArea() - Method in class net.minheur.potoflux.terminal.Terminal
-
Fills the output area with the content of the terminal, saved in the files
- fillPerms(String[]) - Static method in class net.minheur.potoflux.login.ConnectionHandler
- fillTerminal() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
-
The action to execute for the terminal filling
- finishButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
FINISHaction. - firstName - Variable in class net.minheur.potoflux.login.Account
-
First name of the user stored in this class
- firstName - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Stores the first name of the targeted user
- firstName - Variable in class net.minheur.potoflux.ui.dialogData.ModifiedUserData
- firstName - Variable in class net.minheur.potoflux.ui.dialogData.NewAccountData
-
First name of the user
- firstNameChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
-
Says if the user's first name has been changed.
Used mainly in debugging / checking for illegal requests - FLOAT - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is a
Float. - flush() - Method in class net.minheur.potoflux.logger.TeeOutputStream
- flushAndSave() - Static method in class net.minheur.potoflux.logger.LogSaver
-
Saves the logs to file
- formatMessage(String, Object...) - Static method in class net.minheur.potoflux.Functions
-
Format a message with placeholders.
- fr(String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry.TranslationBuilder
-
Utility to create a French translation
- FR - Enum constant in enum class net.minheur.potoflux.translations.Lang
-
French translations
- fromModId(String) - Static method in class net.minheur.potoflux.PotoFlux
-
PotoFlux's reserved method to get a
ResourceLocationdirectly with PotoFlux's modId. - FULL_MANUAL - Enum constant in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- Functions - Class in net.minheur.potoflux
-
This class stores useful methods for all potoflux.
- Functions() - Constructor for class net.minheur.potoflux.Functions
- FXLoadingScreen - Class in net.minheur.potoflux.screen
-
Potoflux's loading screen
- FXLoadingScreen() - Constructor for class net.minheur.potoflux.screen.FXLoadingScreen
- FXPotoScreen - Class in net.minheur.potoflux.screen
-
Potoflux's screen
- FXPotoScreen(Stage) - Constructor for class net.minheur.potoflux.screen.FXPotoScreen
-
The constructor will init the stage, the layout, then add every item to it
G
- get() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Getter for the only loading context instance
- get() - Static method in class net.minheur.potoflux.login.TokenHandler
-
Gets the actual stores token
- get() - Method in class net.minheur.potoflux.settings.OptionalFeature
-
Gets the value as an
Object - get() - Static method in class net.minheur.potoflux.terminal.CommandHistorySaver
-
Getter for the entire history
- get() - Method in class net.minheur.potoflux.utils.LockableField
-
Gets the stored value
- get() - Method in class net.minheur.potoflux.utils.SmartSupplier
-
Gets the value.
- get(String) - Static method in class net.minheur.potoflux.translations.Translations
-
Get a translation in the
Translations.loadedLangfrom its key - get(String) - Static method in class net.minheur.potoflux.translations.TranslationsOld
-
Deprecated.
- getActualValue() - Method in class net.minheur.potoflux.settings.SettingInfo
-
Getter for the SettingInfo.actualValue
- getAll() - Static method in class net.minheur.potoflux.loader.mod.errors.ModErrorReg
- getAll() - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
- getAll() - Method in class net.minheur.potoflux.registry.AbstractRegistry
-
Getter for all value
- getAsciiFileContent(String) - Static method in class net.minheur.potoflux.terminal.Terminal
-
Gets the content of an ascii (in the files)
- getAuthButtonStatus() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Helper to get the text to apply to connection button, changing is ConnectionHandler.isLogged is
trueorfalse - getAvailableClasses() - Static method in class net.minheur.potoflux.loader.mod.AddonLoader
- getBoolean(String) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a feature with a
Booleanvalue - getBoolean(String, Boolean) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a feature with a
Booleanvalue - getBuiltTab() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
- getCapturingInstance(Object) - Static method in class net.minheur.potoflux.utils.LambdaUtils
-
Tries to extract caught instance (this) if the reference method is an instance reference.
WARNING: this works in most cases (method references non-static), but can fail for certains lambda types (ex : lambdas without captures). - getCode() - Method in enum class net.minheur.potoflux.login.perms.Perms
-
Getter for the perm's SQL code
- getCommandWithKey(String) - Method in class net.minheur.potoflux.terminal.CommandRegistry
-
Gets a command object from his key
- getCurrentClassLoader() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Gets the active
ClassLoader.
Used when switching from main to mod class loader - getDefaultValue() - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Getter for the default value
- getDefaultValue() - Method in class net.minheur.potoflux.settings.types.ComboSetting
-
Getter for the default value
- getDefaultValue() - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Needs to be the type of the
PreferencesTypes.getValueClass()associated inISettingType.prefType() - getDevScanUrls() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Used to get the URLs to scan for mods in dev environment
- getExecutionNode() - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Getter for the checkbox
- getExecutionNode() - Method in class net.minheur.potoflux.settings.types.ComboSetting
-
Getter for the combo panel
- getExecutionNode() - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Gets the node to pair with ISettingType.getIsModifiedLabel() when adding the setting to the list.
- getFeatureMap() - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Getter for the OptionalFeaturesManager.featureMap
- getFileMenu() - Static method in class net.minheur.potoflux.screen.menu.definers.MenuDefiners
-
Defines the file menu, featuring
open mod dirandopen log dirbuttons - getFormattedDate() - Method in class net.minheur.potoflux.login.notifications.Notification
- getFromCode(String) - Static method in enum class net.minheur.potoflux.login.perms.Perms
-
Gets the
Permsfrom an sqlCode.
Used when listing perms sent by the database - getFromCode(String) - Static method in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Static getter for a
TabSidesfrom a code - getFromObject(String, String) - Static method in class net.minheur.potoflux.utils.Json
-
Gets a string item from an online JSON object
- getIcon() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
Sets the graphic displayed in the tab list
- getId() - Method in class net.minheur.potoflux.login.notifications.Notification
- getImplMethod(Serializable) - Static method in class net.minheur.potoflux.utils.LambdaUtils
-
Gets the real method implemented by the reference / lambda.
- getInfos(String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Get infos about your own account with your token
- getInt(String) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a feature with a
Integervalue - getInt(String, Integer) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a feature with an
Integervalue - getIsLocked() - Method in class net.minheur.potoflux.utils.LockableField
-
Checks if the field is locked
- getIsModifiedLabel() - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Getter for if the value got changed
- getIsModifiedLabel() - Method in class net.minheur.potoflux.settings.types.ComboSetting
-
Getter for if the value got changed
- getIsModifiedLabel() - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Paired with ISettingType.getExecutionNode(), it allows the user to know that the value is modified but not yet saved, by displaying a
!.
Will also get a restart reminder graphic if the setting needs to do so to be saved. - getListedMods() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
- getLoadedMods() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Getter for a list of all loaded mods
- getLogAmount() - Static method in class net.minheur.potoflux.utils.LogAmountManager
-
Gets the actual log amount
- getMessageObj() - Method in class net.minheur.potoflux.login.notifications.Notification
- getModDataDir() - Static method in class net.minheur.potoflux.PotoFlux
-
Getter for the mod common folder in the appData folder.
Mods should use this to resolve their modIds: this will be their own appData folder - getModEventBus() - Method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Getter for the only mod event bus
- getModProdEnv() - Static method in class net.minheur.potoflux.loader.mod.AddonLoader
- getModsClassLoader() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Getter for the mod class loader (prod)
- getModVersion(String) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Gets a version of a mod.
- getName() - Method in enum class net.minheur.potoflux.login.perms.Perms
-
Getter for the perm's name.
- getName() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
-
Gets the tab name, displayed in the tab list
- getName() - Method in class net.minheur.potoflux.screen.tabs.all.HomeTab
-
Used to set the title.
- getName() - Method in class net.minheur.potoflux.screen.tabs.all.ModsTab
- getName() - Method in class net.minheur.potoflux.screen.tabs.all.SettingsTab
-
Tells the name of the tab, same as the title
- getName() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
-
Gets the name of the tab, displayed in the tab list
- getName() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
The name of the tab in the list displayed
- getNamespace() - Method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Get the namespace (modID) of the loc
- getNoRunFallback() - Method in enum class net.minheur.potoflux.login.perms.Perms
-
Getter for the perm's fallback in case of no perm action.
If not null, will be getting the actual translated sentence. - getNotifications() - Static method in class net.minheur.potoflux.login.notifications.NotificationHandler
- getNotifications(String) - Static method in class net.minheur.potoflux.login.RequestPoster
- getOnlineJsonObject(String) - Static method in class net.minheur.potoflux.utils.Json
-
Gets a JSON object from an online file
- getOutputArea() - Method in class net.minheur.potoflux.terminal.Terminal
-
Getter for the
Terminal.outputArea - getPath() - Method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Get the ID of the loc
- getPermAction() - Method in enum class net.minheur.potoflux.login.perms.Perms
-
Getter for the perm's action.
- getPotofluxModDir() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Getter for the potoflux mods dir
- getProgramDir() - Static method in class net.minheur.potoflux.PotoFlux
-
Getter for the main program AppData folder.
- getRaw(String) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a raw feature
- getRaw(String, Object) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a raw feature
- getSelectedValue() - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Getter for the selected value
Is directly the value, not an observable like CheckboxSetting.valueProperty() - getSelectedValue() - Method in class net.minheur.potoflux.settings.types.ComboSetting
- getSelectedValue() - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Gets the selected value directly as raw
- getSide() - Method in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Getter for the real side
- getSqlCode() - Method in interface net.minheur.potoflux.login.notifications.reg.INotificationType
- getSqlCode() - Method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- getStage() - Method in class net.minheur.potoflux.screen.FXPotoScreen
- getString(String) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets a feature with a
Stringvalue - getString(String, String) - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Gets feature with a
Stringvalue - getTabMap() - Method in class net.minheur.potoflux.screen.FXPotoScreen
-
Getter for the
FXPotoScreen.tabMap - getTerminal() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
-
Getter for the
TerminalTab.terminal - getTimestamp() - Method in class net.minheur.potoflux.login.notifications.Notification
- getTitle() - Method in class net.minheur.potoflux.screen.tabs.all.HomeTab
-
Gets the title of the tab, displayed in
BaseTab.mkTitle() - getTitle() - Method in class net.minheur.potoflux.screen.tabs.all.ModsTab
- getTitle() - Method in class net.minheur.potoflux.screen.tabs.all.SettingsTab
-
Used to set the title.
- getTitle() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
Used to set the title.
- getToken(String, String) - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Sends a request to the server, getting a connection token for specified IDs
If the connection fails, it will callConnectionHandler.displayLoggingError(LoginResponse)and returnnull - getTranslations() - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Getter for the
AbstractTranslationsRegistry.modTranslations. - getType() - Method in class net.minheur.potoflux.login.notifications.Notification
- getType() - Method in class net.minheur.potoflux.settings.OptionalFeature
-
Getter for the OptionalFeature.type
- getType() - Method in class net.minheur.potoflux.settings.SettingInfo
-
Getter for the
SettingInfo.type - getTypeColorClass() - Method in class net.minheur.potoflux.login.notifications.Notification
- getUserInfos(String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Get infos for a specified user
- getValueClass() - Method in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
Getter for the PreferencesTypes.valueClass, allowing to check
- getValueFor(Setting) - Static method in class net.minheur.potoflux.settings.UserPrefsManager
-
Returns the actual value (or default if not set) for a given setting.
- getValueFor(ISettingType<?>, ResourceLocation) - Static method in class net.minheur.potoflux.settings.UserPrefsManager
-
Returns the actual value for a given setting, from the
ISettingType - getValueFor(PreferencesTypes, Object, ResourceLocation) - Static method in class net.minheur.potoflux.settings.UserPrefsManager
-
Returns the actual value (or default if not set) for a given setting.
- getVersion() - Static method in class net.minheur.potoflux.PotoFlux
-
Getter for the app's version.
If unable to get the version, return null. - GSON - Static variable in class net.minheur.potoflux.utils.Json
-
Use this to do your simple JSON commands.
H
- has() - Static method in class net.minheur.potoflux.login.TokenHandler
-
Checks if there is a token stored
- hashCode() - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.loader.mod.post.ModEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.login.notifications.reg.NotificationType
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.screen.menu.PotoMenuItem
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.screen.tabs.Tab
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.settings.Setting
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.styles.StylesheetEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.minheur.potoflux.ui.dialogData.LoginData
-
Returns a hash code value for this object.
- hContent - Variable in class net.minheur.potoflux.screen.tabs.BaseHTab
-
Preset
HBoxto add to the panel - HELLO_WORLD - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
hellocommand. - HELP - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
helpcommand. - hidden() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns the value of the
hiddenrecord component. - HIDDEN - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
hidecommand.
It's hidden - hideNode(Node) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Hides a node, and also makes sure it isn't managed so it don't take empty room
- HOME - Static variable in class net.minheur.potoflux.screen.tabs.Tabs
-
The item of the home tab (
HomeTab). - HomeTab - Class in net.minheur.potoflux.screen.tabs.all
-
Tab class for the home tab
- HomeTab() - Constructor for class net.minheur.potoflux.screen.tabs.all.HomeTab
I
- IComboSetting - Interface in net.minheur.potoflux.settings.types
-
Helper interface, allowing to keep the
toString()method in displaying the name - id - Variable in class net.minheur.potoflux.loader.mod.Dependency
- id() - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
-
Returns the value of the
idrecord component. - id() - Method in record class net.minheur.potoflux.loader.mod.post.ModEvent
-
Returns the value of the
idrecord component. - id() - Method in record class net.minheur.potoflux.login.notifications.reg.NotificationType
-
Returns the value of the
idrecord component. - id() - Method in interface net.minheur.potoflux.registry.IRegistryType
- id() - Method in record class net.minheur.potoflux.screen.menu.PotoMenuItem
-
Returns the value of the
idrecord component. - id() - Method in record class net.minheur.potoflux.screen.tabs.Tab
-
Returns the value of the
idrecord component. - id() - Method in record class net.minheur.potoflux.settings.Setting
-
Returns the value of the
idrecord component. - id() - Method in record class net.minheur.potoflux.styles.StylesheetEntry
-
Returns the value of the
idrecord component. - id() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns the value of the
idrecord component. - ID - Static variable in class net.minheur.potoflux.PotoFlux
-
The ID for potoflux (namespace)
- IEvent - Interface in net.minheur.potoflux.loader.mod.events
- ILogCategory - Interface in net.minheur.potoflux.logger
-
Class for creating log categories.
You should implement this in anEnum - INCOMPATIBLE - Enum constant in enum class net.minheur.potoflux.loader.mod.LoadResult
- INCOMPATIBLE - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- info(String, String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Print an info log message, with a content and optional categories
- info(String, ILogCategory, String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Print an info log message, with a content, a main log category (in the form of an
ILogCategory) and optional categories - InfoResponse - Class in net.minheur.potoflux.login.response
-
Response when you ask for a specific user's info.
You can then use it to fill anAccountclass - InfoResponse() - Constructor for class net.minheur.potoflux.login.response.InfoResponse
- init() - Static method in class net.minheur.potoflux.logger.LogSaver
-
Runs to set up the log saving system
- init() - Static method in class net.minheur.potoflux.utils.LogAmountManager
-
Gets the LogAmountManager.data, increases the log amount then stores it back
- INIT_NOTIFICATIONS - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- INotificationType - Interface in net.minheur.potoflux.login.notifications.reg
- instantiate() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
-
Instancies all main panels
- instantiate() - Method in class net.minheur.potoflux.screen.tabs.all.HomeTab
-
Instancies the main panel
- instantiate() - Method in class net.minheur.potoflux.screen.tabs.all.ModsTab
- instantiate() - Method in class net.minheur.potoflux.screen.tabs.all.SettingsTab
- instantiate() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
-
Instancies main panels
- instantiate() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
You need to instantiate
BaseTab.PANEL. - INT - Enum constant in enum class net.minheur.potoflux.settings.OptionalFeature.Type
-
If the feature value is an
Integer - INT - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is an
Integer. - InvalidTokenException - Exception in net.minheur.potoflux.login
-
This exception is thrown when your token is invalid, which means you maybe have modified it.
- InvalidTokenException() - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
-
Empty init
- InvalidTokenException(String) - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
-
Constructor with a simple message
- InvalidTokenException(String, Throwable) - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
-
Constructor with a message and a cause
- InvalidTokenException(Throwable) - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
-
Constructor with only a cause
- IRegistryType - Interface in net.minheur.potoflux.registry
-
Used to tag objects that can be stored in registry lists and registered in events, like tabs or commands.
- isAccountCreationEnabled - Static variable in class net.minheur.potoflux.login.ConnectionHandler
-
Easy access to the account self-creation autorisation
- isAccountCreationEnabled() - Static method in class net.minheur.potoflux.login.RequestPoster
-
Gets if the account self-creation is allowed
- IsAccountCreationEnabledResponse - Class in net.minheur.potoflux.login.response
- IsAccountCreationEnabledResponse() - Constructor for class net.minheur.potoflux.login.response.IsAccountCreationEnabledResponse
- isClassAvailable(String) - Static method in class net.minheur.potoflux.loader.mod.AddonLoader
- isDevEnv() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks if the env is dev
- isEnabled - Variable in class net.minheur.potoflux.login.response.IsAccountCreationEnabledResponse
-
Return weather account self-creation is enabled.
- ISettingType<S> - Interface in net.minheur.potoflux.settings.types
-
Interface used to create setting type
- isLogged - Static variable in class net.minheur.potoflux.login.ConnectionHandler
- isModListed(String) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks if a mod is listed (known)
- isModListed(Mod) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks if a mod is listed (known)
- isModLoaded(String) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks if a mod is loaded
- isModLoaded(Mod) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks if a mod is loaded
- isOpened() - Static method in class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry
- isProdEnv() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Checks if the env is prod
- isValidNamespace(String) - Static method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Checks if the namespace is valid
- isValidPath(String) - Static method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Checks if the path is correct
J
- Json - Class in net.minheur.potoflux.utils
-
Class to get a
Gson.
This allows to have less as possible in the project.
K
- key() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns the value of the
keyrecord component.
L
- LambdaUtils - Class in net.minheur.potoflux.utils
-
Utility class for lambas, mainly used in loading mods
- lang(Lang, String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry.TranslationBuilder
-
Adds an actual translation with the key
- Lang - Enum Class in net.minheur.potoflux.translations
-
This contains all languages supported by potoflux.
- LANG - Static variable in class net.minheur.potoflux.settings.Settings
-
Setting to change the lang of the app, between the values of
Lang - langEvent - Static variable in class net.minheur.potoflux.Bootstrap
- lastName - Variable in class net.minheur.potoflux.login.Account
-
Last name of the user stored in this class
- lastName - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Stores the last name of the targeted user
- lastName - Variable in class net.minheur.potoflux.ui.dialogData.ModifiedUserData
- lastName - Variable in class net.minheur.potoflux.ui.dialogData.NewAccountData
-
Last name of the user
- lastNameChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
-
Says if the user's last name has been changed.
Used mainly in debugging / checking for illegal requests - LEFT - Enum constant in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Side.LEFT - list - Variable in class net.minheur.potoflux.login.response.ListUserResponse
-
List of all user uuid
- listFromObject(JsonObject, String) - Static method in class net.minheur.potoflux.utils.Json
- listMod(Mod, Class<?>) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Registers a mod to the listed
- listResourceFiles(String) - Static method in class net.minheur.potoflux.Functions
-
Deprecated.
- ListUserResponse - Class in net.minheur.potoflux.login.response
-
A response with the list of all UUIDs required to ask for an
InfoResponse. - ListUserResponse() - Constructor for class net.minheur.potoflux.login.response.ListUserResponse
- listUsers(String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Lists all users UUIDs
- load() - Static method in class net.minheur.potoflux.login.notifications.NotificationHandler
- load() - Static method in class net.minheur.potoflux.settings.OptionalFeaturesManager
-
Called to load optional features from the file
- load(String) - Static method in class net.minheur.potoflux.translations.Translations
-
Allow to change
Translations.loadedLang, by a lang code (String) - load(String) - Static method in class net.minheur.potoflux.translations.TranslationsOld
-
Deprecated.
- load(Lang) - Static method in class net.minheur.potoflux.translations.Translations
-
Allow to change
Translations.loadedLang - load(Lang) - Static method in class net.minheur.potoflux.translations.TranslationsOld
-
Deprecated.
- LOAD_COMMAND_HISTORY - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- loadAddons() - Method in class net.minheur.potoflux.loader.mod.AddonLoader
- loadCommandHistory() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
- LOADED - Enum constant in enum class net.minheur.potoflux.loader.mod.LoadResult
- LOADED - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- loadFrom(List<String>) - Static method in class net.minheur.potoflux.terminal.CommandHistorySaver
-
Load all history from another list, after clearing all existing commands.
- LOADING - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- LoadModError - Class in net.minheur.potoflux.loader.mod.errors
- LoadModError(Mod, ModState) - Constructor for class net.minheur.potoflux.loader.mod.errors.LoadModError
- LoadModError(Mod, ModState, Dependency) - Constructor for class net.minheur.potoflux.loader.mod.errors.LoadModError
- LoadModError(Mod, ModState, Dependency, String) - Constructor for class net.minheur.potoflux.loader.mod.errors.LoadModError
- loadMods() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Load mods that in
PotoFluxLoadingContext.listedModsand compatible. - LoadResult - Enum Class in net.minheur.potoflux.loader.mod
- loadStringArray(String) - Static method in class net.minheur.potoflux.utils.Json
- LOCK - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to lock accounts, disabling people to modify / delete it
- LOCK_ACCOUNT_CREATION - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to set if users are allowed to self-create an account
- LockableField<T> - Class in net.minheur.potoflux.utils
-
This defines a random object, but it can be locked (so unchangeable)
- LockableField(T, boolean) - Constructor for class net.minheur.potoflux.utils.LockableField
-
Creates a field, with the initial value and if it is locked
- lockAccountCreation(String, boolean) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Disable or enable account self-creation
- locked - Variable in class net.minheur.potoflux.login.Account
-
Weather the current user's account is locked
- locked - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Tells if the user is locked.
- lockUser(String, String, boolean) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Lock or unlock a user's account
- LOG_DIR - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
logDircommand. - LogAmountManager - Class in net.minheur.potoflux.utils
-
Manages the log amount, storing and getting the value
- LogAmountManager() - Constructor for class net.minheur.potoflux.utils.LogAmountManager
- LogCategories - Enum Class in net.minheur.potoflux.logger
-
Enum containing all potoflux log categories
- LogicDelayedPopupsRegistry - Class in net.minheur.potoflux.actionRuns
- LogicDelayedPopupsRegistry.State - Enum Class in net.minheur.potoflux.actionRuns
- login() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Displays a connection dialog, then if confirmed ConnectionHandler.logout() then
ConnectionHandler.logWith(String, String) - login(String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Asks for a token, from an email and a password
- LoginData - Record Class in net.minheur.potoflux.ui.dialogData
-
Data of login
- LoginData(String, String) - Constructor for record class net.minheur.potoflux.ui.dialogData.LoginData
-
Creates an instance of a
LoginDatarecord class. - LoginResponse - Class in net.minheur.potoflux.login.response
-
When you log in with your IDs, you receive this with your token.
- LoginResponse() - Constructor for class net.minheur.potoflux.login.response.LoginResponse
- logout() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
If not already so, remove the online and local token, then clears
ConnectionHandler.accountand setConnectionHandler.isLoggedtofalse - LogSaver - Class in net.minheur.potoflux.logger
-
Class responsible for saving logs.
- logWith(String, String) - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Logs in with an email and a password.
Done when the user connects / reconnects to its account using its IDs - LONG - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is a
Long.
M
- main(String[]) - Static method in class net.minheur.potoflux.PotoFlux
-
The main method, that runs PotoFlux.
It defines the uncaught exception handler, then runsApplication.launch(java.lang.Class<? extends javafx.application.Application>, java.lang.String...) - makeTranslation() - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Actual method to register translations.
- makeTranslation() - Method in class net.minheur.potoflux.translations.register.CommonTranslations
-
Actual registering
- makeTranslation() - Method in class net.minheur.potoflux.translations.register.FileTranslations
-
Actual registering
- makeTranslation() - Method in class net.minheur.potoflux.translations.register.PotoFluxTranslations
-
Actually add translation
- MAX_SIZE - Static variable in class net.minheur.potoflux.terminal.CommandHistorySaver
-
History length.
- maxVersion - Variable in class net.minheur.potoflux.loader.mod.Dependency
- mdUserInfos(String, String, String, String, String, int, String[]) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Modify an account
- MdUserInfosResponse - Class in net.minheur.potoflux.login.response
- MdUserInfosResponse() - Constructor for class net.minheur.potoflux.login.response.MdUserInfosResponse
- mdUserPassword(String, String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Modify an account's password
- MenuContent - Class in net.minheur.potoflux.screen.menu
-
Lists all potoflux's menus
- MenuContent() - Constructor for class net.minheur.potoflux.screen.menu.MenuContent
- MenuDefiners - Class in net.minheur.potoflux.screen.menu.definers
-
Defines all menus that are simple enough to be set withing a single method
- MenuDefiners() - Constructor for class net.minheur.potoflux.screen.menu.definers.MenuDefiners
- menuEvent - Static variable in class net.minheur.potoflux.Bootstrap
- MenuRegistry - Class in net.minheur.potoflux.screen.menu
-
Registry of all menues
- MenuRegistry() - Constructor for class net.minheur.potoflux.screen.menu.MenuRegistry
- minVersion - Variable in class net.minheur.potoflux.loader.mod.Dependency
- MISSING_DEPENDENCIES - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- missingDep - Variable in class net.minheur.potoflux.loader.mod.errors.LoadModError
- mkModClassLoader() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Create and fill a class loader in prod environment
- mkTitle() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
Creates the title, from the text given via
BaseTab.getTitle(). - mod - Variable in class net.minheur.potoflux.loader.mod.errors.LoadModError
- mod - Variable in class net.minheur.potoflux.loader.mod.ModContainer
- mod() - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
-
Returns the value of the
modrecord component. - Mod - Annotation Interface in net.minheur.potoflux.loader.mod
-
The class to annotate your main mod class with.
This contains all main data for the mod (that doesn't need to create the mod to be accessed). - MOD_DEPENDENCIES - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs in
LogCategories.MOD_LOADERcategory, precisely about dependencies - MOD_DIR - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
modDircommand. - MOD_LIST - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
modListcommand. - MOD_LIST_ENTRY - Static variable in class net.minheur.potoflux.styles.PtfStylesheets
- MOD_LOADER - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs related to loading mods
- MOD_UPDATE - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs in
LogCategories.MOD_LOADERcategory, under mod update - ModContainer - Class in net.minheur.potoflux.loader.mod
- ModContainer(Mod, Class<?>) - Constructor for class net.minheur.potoflux.loader.mod.ModContainer
- ModErrorReg - Class in net.minheur.potoflux.loader.mod.errors
- ModErrorReg() - Constructor for class net.minheur.potoflux.loader.mod.errors.ModErrorReg
- ModEvent - Record Class in net.minheur.potoflux.loader.mod.post
- ModEvent(ResourceLocation, IEvent) - Constructor for record class net.minheur.potoflux.loader.mod.post.ModEvent
-
Creates an instance of a
ModEventrecord class. - ModEventBus - Class in net.minheur.potoflux.loader.mod
-
Bus for registering all listeners in potoflux.
Mods add theirs methods to the event listeners, so they can be executed on need. - ModEventBus() - Constructor for class net.minheur.potoflux.loader.mod.ModEventBus
- modEventsEvent - Static variable in class net.minheur.potoflux.Bootstrap
- ModEventsRegistry - Class in net.minheur.potoflux.loader.mod.post
- ModEventsRegistry() - Constructor for class net.minheur.potoflux.loader.mod.post.ModEventsRegistry
- modId() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
-
The mod ID of your mod.
- ModifiedUserData - Class in net.minheur.potoflux.ui.dialogData
- ModifiedUserData() - Constructor for class net.minheur.potoflux.ui.dialogData.ModifiedUserData
- MODS - Static variable in class net.minheur.potoflux.screen.tabs.Tabs
- ModsTab - Class in net.minheur.potoflux.screen.tabs.all
- ModsTab() - Constructor for class net.minheur.potoflux.screen.tabs.all.ModsTab
- ModState - Enum Class in net.minheur.potoflux.loader.mod
- ModUpdateReg - Class in net.minheur.potoflux.loader.mod.update
- ModUpdateReg() - Constructor for class net.minheur.potoflux.loader.mod.update.ModUpdateReg
- more() - Method in interface net.minheur.potoflux.logger.ILogCategory
- more() - Method in enum class net.minheur.potoflux.logger.LogCategories
N
- net.minheur.potoflux - package net.minheur.potoflux
- net.minheur.potoflux.actionRuns - package net.minheur.potoflux.actionRuns
- net.minheur.potoflux.actionRuns.regs - package net.minheur.potoflux.actionRuns.regs
- net.minheur.potoflux.loader - package net.minheur.potoflux.loader
- net.minheur.potoflux.loader.mod - package net.minheur.potoflux.loader.mod
- net.minheur.potoflux.loader.mod.errors - package net.minheur.potoflux.loader.mod.errors
- net.minheur.potoflux.loader.mod.events - package net.minheur.potoflux.loader.mod.events
- net.minheur.potoflux.loader.mod.post - package net.minheur.potoflux.loader.mod.post
- net.minheur.potoflux.loader.mod.update - package net.minheur.potoflux.loader.mod.update
- net.minheur.potoflux.logger - package net.minheur.potoflux.logger
- net.minheur.potoflux.login - package net.minheur.potoflux.login
- net.minheur.potoflux.login.notifications - package net.minheur.potoflux.login.notifications
- net.minheur.potoflux.login.notifications.reg - package net.minheur.potoflux.login.notifications.reg
- net.minheur.potoflux.login.perms - package net.minheur.potoflux.login.perms
- net.minheur.potoflux.login.response - package net.minheur.potoflux.login.response
- net.minheur.potoflux.registry - package net.minheur.potoflux.registry
- net.minheur.potoflux.screen - package net.minheur.potoflux.screen
- net.minheur.potoflux.screen.menu - package net.minheur.potoflux.screen.menu
- net.minheur.potoflux.screen.menu.definers - package net.minheur.potoflux.screen.menu.definers
- net.minheur.potoflux.screen.tabs - package net.minheur.potoflux.screen.tabs
- net.minheur.potoflux.screen.tabs.all - package net.minheur.potoflux.screen.tabs.all
- net.minheur.potoflux.settings - package net.minheur.potoflux.settings
- net.minheur.potoflux.settings.types - package net.minheur.potoflux.settings.types
- net.minheur.potoflux.styles - package net.minheur.potoflux.styles
- net.minheur.potoflux.terminal - package net.minheur.potoflux.terminal
- net.minheur.potoflux.terminal.commands - package net.minheur.potoflux.terminal.commands
- net.minheur.potoflux.theme - package net.minheur.potoflux.theme
- net.minheur.potoflux.translations - package net.minheur.potoflux.translations
- net.minheur.potoflux.translations.register - package net.minheur.potoflux.translations.register
- net.minheur.potoflux.ui - package net.minheur.potoflux.ui
- net.minheur.potoflux.ui.dialogData - package net.minheur.potoflux.ui.dialogData
- net.minheur.potoflux.ui.dialogs - package net.minheur.potoflux.ui.dialogs
- net.minheur.potoflux.utils - package net.minheur.potoflux.utils
- net.minheur.potoflux.utils.close - package net.minheur.potoflux.utils.close
- net.minheur.potoflux.utils.ressourcelocation - package net.minheur.potoflux.utils.ressourcelocation
- NewAccountData - Class in net.minheur.potoflux.ui.dialogData
-
Data for a new account
- NewAccountData() - Constructor for class net.minheur.potoflux.ui.dialogData.NewAccountData
- noButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
NOaction. - NOPE - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
nopecommand.
It's hidden - NOT_PROCESSED - Enum constant in enum class net.minheur.potoflux.loader.mod.ModState
- Notification - Class in net.minheur.potoflux.login.notifications
- Notification(long, JsonObject, String) - Constructor for class net.minheur.potoflux.login.notifications.Notification
- NotificationCellFactory - Class in net.minheur.potoflux.login.notifications
- NotificationCellFactory() - Constructor for class net.minheur.potoflux.login.notifications.NotificationCellFactory
- NotificationHandler - Class in net.minheur.potoflux.login.notifications
- NotificationHandler() - Constructor for class net.minheur.potoflux.login.notifications.NotificationHandler
- NotificationListResponse - Class in net.minheur.potoflux.login.response
- NotificationListResponse() - Constructor for class net.minheur.potoflux.login.response.NotificationListResponse
- notifications - Variable in class net.minheur.potoflux.login.response.NotificationListResponse
- NotificationType - Record Class in net.minheur.potoflux.login.notifications.reg
- NotificationType(ResourceLocation, Class<? extends INotificationType>) - Constructor for record class net.minheur.potoflux.login.notifications.reg.NotificationType
-
Creates an instance of a
NotificationTyperecord class. - notificationTypesEvent - Static variable in class net.minheur.potoflux.Bootstrap
- NotificationTypesRegistry - Class in net.minheur.potoflux.login.notifications.reg
- NotificationTypesRegistry() - Constructor for class net.minheur.potoflux.login.notifications.reg.NotificationTypesRegistry
- NotifTypes - Enum Class in net.minheur.potoflux.login.notifications.reg
- notifyExistingInstance(int) - Static method in class net.minheur.potoflux.loader.SingleInstanceHandler
O
- okButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
OKaction. - OnlineReader - Class in net.minheur.potoflux.utils
-
Utility class to read online files.
- OnlineReader() - Constructor for class net.minheur.potoflux.utils.OnlineReader
- open() - Static method in class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry
- OPEN - Enum constant in enum class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry.State
- openDir(File) - Static method in class net.minheur.potoflux.Functions
-
Simply opens a given file dir in the explorer.
- openUpdateDialog(Mod, boolean, String) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
- OptionalFeature - Class in net.minheur.potoflux.settings
-
Container for a feature's value
- OptionalFeature(Boolean) - Constructor for class net.minheur.potoflux.settings.OptionalFeature
-
Creates a value of Boolean
- OptionalFeature(Integer) - Constructor for class net.minheur.potoflux.settings.OptionalFeature
-
Creates a value of Integer
- OptionalFeature(String) - Constructor for class net.minheur.potoflux.settings.OptionalFeature
-
Creates a value of String
- OptionalFeature.Type - Enum Class in net.minheur.potoflux.settings
-
Enum to store the type of value
- OptionalFeaturesDialog - Class in net.minheur.potoflux.ui.dialogs
-
Dialog to list, see and manage optional features added to the app
- OptionalFeaturesDialog() - Constructor for class net.minheur.potoflux.ui.dialogs.OptionalFeaturesDialog
-
Creates the dialog, and adds all components to it
- OptionalFeaturesManager - Class in net.minheur.potoflux.settings
-
Manages the optional features
P
- PANEL - Variable in class net.minheur.potoflux.screen.tabs.BaseTab
-
The actual
Pane, that will be added to the tabbed pane. - parseSqlDate(String) - Static method in class net.minheur.potoflux.Functions
- password - Variable in class net.minheur.potoflux.ui.dialogData.NewAccountData
-
Password for the new account
- password() - Method in record class net.minheur.potoflux.ui.dialogData.LoginData
-
Returns the value of the
passwordrecord component. - performAuthAction() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Runs
ConnectionHandler.logout()ifConnectionHandler.isLoggedistrue, else callsConnectionHandler.login().
Once the right one is run, follows byConnectionHandler.reloadAuthUi() - PermRuns - Class in net.minheur.potoflux.login.perms
-
Runnable called by perms when you run them
- PermRuns() - Constructor for class net.minheur.potoflux.login.perms.PermRuns
- perms - Variable in class net.minheur.potoflux.login.Account
-
Actual perms of the user stored in this class
- perms - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Array containing all codes of
Permsdetained by the user. - perms - Variable in class net.minheur.potoflux.ui.dialogData.ModifiedUserData
- perms - Variable in class net.minheur.potoflux.ui.dialogData.NewAccountData
-
Perms granted to the new account
- Perms - Enum Class in net.minheur.potoflux.login.perms
-
Registers all perms of the app
- post(IEvent) - Method in class net.minheur.potoflux.loader.mod.ModEventBus
-
This actually posts the events.
When an event is posted, the param given to this method (the event) is then transferred to all method subscribing to the event. - POTATO_COMMAND - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
An Easter egg for Mathis (aka.
- PotoFlux - Class in net.minheur.potoflux
-
Main class for PotoFlux.
- PotoFlux() - Constructor for class net.minheur.potoflux.PotoFlux
- PotoFluxLoadingContext - Class in net.minheur.potoflux.loader
-
This is the main class which handles the loading of potoflux and all mods related compounds
- PotoFluxTranslations - Class in net.minheur.potoflux.translations.register
-
Registry for all potoflux translations
- PotoFluxTranslations() - Constructor for class net.minheur.potoflux.translations.register.PotoFluxTranslations
-
Calls the constructor to set the modID
- PotoMenuItem - Record Class in net.minheur.potoflux.screen.menu
-
Item for a menu
- PotoMenuItem(ResourceLocation, Menu) - Constructor for record class net.minheur.potoflux.screen.menu.PotoMenuItem
-
Creates an instance of a
PotoMenuItemrecord class. - PreferencesTypes - Enum Class in net.minheur.potoflux.settings.types
-
Enum with all types of setting allowed by the preference system
- prefType() - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Getter for the settings pref type
- prefType() - Method in class net.minheur.potoflux.settings.types.ComboSetting
-
Getter for the settings pref type
- prefType() - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Type of preference this is.
- processCommand(String) - Static method in class net.minheur.potoflux.terminal.CommandProcessor
-
Process a raw command to an output in the terminal
- PtfLogger - Class in net.minheur.potoflux.logger
-
Class used to log in potoflux.
- PtfLogger() - Constructor for class net.minheur.potoflux.logger.PtfLogger
- PtfStylesheets - Class in net.minheur.potoflux.styles
- PtfStylesheets() - Constructor for class net.minheur.potoflux.styles.PtfStylesheets
Q
- QUIT - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
quitcommand.
R
- RAN - Enum constant in enum class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry.State
- rank - Variable in class net.minheur.potoflux.login.Account
-
Rank of the user stored in this class
- rank - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Rank of the user.
0 is full powers, 100 is last - rank - Variable in class net.minheur.potoflux.ui.dialogData.ModifiedUserData
- rank - Variable in class net.minheur.potoflux.ui.dialogData.NewAccountData
-
Rank for the new account
- rankChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
-
Says if the user's rank has been changed.
Used mainly in debugging / checking for illegal requests - read(String) - Static method in class net.minheur.potoflux.utils.OnlineReader
-
Reads the content of an online file as a string
- READY - Enum constant in enum class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry.State
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterCommandsEvent
-
Registry containing all commands.
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterMenuEvent
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterModEventsEvent
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterNotifTypesEvent
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterSettingEvent
-
Registry containing all settings.
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterStylesheetsEvent
- reg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterTabsEvent
-
Registry containing all tabs.
- register(RegisterMenuEvent) - Static method in class net.minheur.potoflux.screen.menu.MenuContent
-
Instances the reg and puts all into the event
- register(RegisterSettingEvent) - Static method in class net.minheur.potoflux.settings.Settings
-
Create and registers all items
- register(RegisterStylesheetsEvent) - Static method in class net.minheur.potoflux.styles.PtfStylesheets
- register(RegisterTabsEvent) - Static method in class net.minheur.potoflux.screen.tabs.Tabs
-
Create the instance of the class, then add the tabs to the events.
This is called on the tab register event. - register(RegisterCommandsEvent) - Static method in class net.minheur.potoflux.terminal.commands.Commands
-
Registers the commands to the reg
- register(RegisterNotifTypesEvent) - Static method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
- register(RegisterRunsEvent) - Static method in class net.minheur.potoflux.actionRuns.ActionRuns
-
This registers all action runs to the main reg
- register(AbstractRegistry<T>) - Method in class net.minheur.potoflux.registry.RegistryList
-
Registering all items in an actual registry.
- registerAll() - Static method in class net.minheur.potoflux.translations.TranslationsOld
-
Deprecated.
- registerByStream(Lang, InputStream) - Static method in class net.minheur.potoflux.translations.TranslationsOld
-
Deprecated.
- RegisterCommandsEvent - Class in net.minheur.potoflux.loader.mod.events
-
Event to register your commands.
- RegisterCommandsEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterCommandsEvent
- registerLang(AbstractTranslationsRegistry) - Method in class net.minheur.potoflux.loader.mod.events.RegisterLangEvent
-
Call this to add your lang registry to the list
- RegisterLangEvent - Class in net.minheur.potoflux.loader.mod.events
-
Event to register your lang registries.
- RegisterLangEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterLangEvent
- RegisterMenuEvent - Class in net.minheur.potoflux.loader.mod.events
- RegisterMenuEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterMenuEvent
- RegisterModEventsEvent - Class in net.minheur.potoflux.loader.mod.events
- RegisterModEventsEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterModEventsEvent
- RegisterNotifTypesEvent - Class in net.minheur.potoflux.loader.mod.events
- RegisterNotifTypesEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterNotifTypesEvent
- RegisterRunsEvent - Class in net.minheur.potoflux.loader.mod.events
- RegisterRunsEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterRunsEvent
- RegisterSettingEvent - Class in net.minheur.potoflux.loader.mod.events
-
Event to register settings.
- RegisterSettingEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterSettingEvent
- RegisterStylesheetsEvent - Class in net.minheur.potoflux.loader.mod.events
- RegisterStylesheetsEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterStylesheetsEvent
- RegisterTabsEvent - Class in net.minheur.potoflux.loader.mod.events
-
Event to register your lang tabs.
- RegisterTabsEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterTabsEvent
- registerTranslations() - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
-
Actually fill up
AbstractTranslationsRegistry.modTranslations. - registerTranslations(AbstractTranslationsRegistry) - Static method in class net.minheur.potoflux.translations.Translations
-
Adds a translation registry to
Translations.allTranslations - REGISTRATION_FAILED - Enum constant in enum class net.minheur.potoflux.utils.close.ExitCode
-
Used when a registration failing error got thrown, usually traducing a duped id
- REGISTRY - Variable in class net.minheur.potoflux.registry.AbstractRegistry
-
Actual registry for the
AbstractRegistry, by their ID and their value. - RegistryList<T extends IRegistryType> - Class in net.minheur.potoflux.registry
-
This class is used to store all elements of an event, for a specific mod.
Create one in your registering class, then add your items to it. - RegistryList() - Constructor for class net.minheur.potoflux.registry.RegistryList
- reload() - Method in class net.minheur.potoflux.screen.menu.definers.AccountMenu
-
Reloads the menu, adding or removing perm and updating the allow account creation checkbox
Ran on init (AccountMenu()) and on UI reload (ConnectionHandler.reloadAuthUi()) - reload() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
-
Reloads all the UI
- reloadAccountCreationPermission() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Sends a request, getting / regetting weather the account creation is allowed
- reloadAuthUi() - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Reloads UI related to account state
- removeProhibitedChar(String) - Static method in class net.minheur.potoflux.Functions
-
Method to remove all characters that could be dangerous in a
Stringinputted by the user - RequestPoster - Class in net.minheur.potoflux.login
-
This posts all requests to the SQL database.
- RequestPoster() - Constructor for class net.minheur.potoflux.login.RequestPoster
- requireRestart() - Method in record class net.minheur.potoflux.settings.Setting
-
Returns the value of the
requireRestartrecord component. - ResourceLocation - Class in net.minheur.potoflux.utils.ressourcelocation
-
The ResourceLocation is used to have a unique identifier from the mod's namespace and the item id
- ResourceLocation(String) - Constructor for class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Creates a resourceLocation with a unique string, that gets decomposed
- ResourceLocation(String, String) - Constructor for class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Creates a ResourceLocation from a namespace and an ID
- ResourceLocationException - Exception in net.minheur.potoflux.utils.ressourcelocation
-
This is thrown when there's an error in a
ResourceLocation - ResourceLocationException(String) - Constructor for exception net.minheur.potoflux.utils.ressourcelocation.ResourceLocationException
-
Throws the exception
- ResourceLocationException(String, Throwable) - Constructor for exception net.minheur.potoflux.utils.ressourcelocation.ResourceLocationException
-
Throws the exception with a cause
- returnValue() - Method in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Getter for the
TabSides.code - returnValue() - Method in interface net.minheur.potoflux.settings.types.IComboSetting
-
Gets the value to get stored in the prefs for a given item
- returnValue() - Method in enum class net.minheur.potoflux.terminal.ASCIIs
-
Gets the file name for the ASCII
- returnValue() - Method in enum class net.minheur.potoflux.theme.Themes
-
Getter for the Themes.returnValue
- returnValue() - Method in enum class net.minheur.potoflux.translations.Lang
- RIGHT - Enum constant in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Side.RIGHT - rmOnlineToken() - Static method in class net.minheur.potoflux.login.TokenHandler
-
Sends a request to remove the token stored locally from the server
- rmToken(String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Remove a token from the database active tokens
- rmUser() - Static method in class net.minheur.potoflux.login.perms.PermRuns
-
Used by admins to remove an account
- rmUser(String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
-
Removal of an account by and admin
- RmUserDialog - Class in net.minheur.potoflux.ui.dialogs
-
This dialog asks an admin for a username, to delete his account.
- RmUserDialog() - Constructor for class net.minheur.potoflux.ui.dialogs.RmUserDialog
-
Creates the dialog
- RmUserResponse - Class in net.minheur.potoflux.login.response
-
Response when you delete a user.
If you fail because of your rank, it will give you the target user's rank. - RmUserResponse() - Constructor for class net.minheur.potoflux.login.response.RmUserResponse
- run() - Static method in class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry
- run() - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
-
Returns the value of the
runrecord component. - runEvent - Static variable in class net.minheur.potoflux.Bootstrap
- runExitLogic(ExitCode) - Static method in class net.minheur.potoflux.PotoFlux
-
Runs the logic on exit, saves things and launches close action runs if exit code is
0.
This allows the app to run extra saving code before exiting. - runProgramKill(ExitCode) - Static method in class net.minheur.potoflux.PotoFlux
-
This method should be used to kill the app.
Used when crashing the app mainly - runSaveTerminal() - Static method in class net.minheur.potoflux.terminal.CommandProcessor
-
Saves the terminal content to the file
S
- save(String) - Static method in class net.minheur.potoflux.login.TokenHandler
-
Saves the token in the prefs
- save(String) - Static method in class net.minheur.potoflux.terminal.CommandHistorySaver
-
Save a command to the history.
If the command is already the lastest, do nothing.
Inserts the command in the first position, then if the history is already full, remove the last command. - SAVE_COMMAND_HISTORY - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- SAVE_TERMINAL - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
-
This action saves the terminal when the app closes
- saveCommandHistory() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
- saveTerminal() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
-
The action to execute for the terminal saving
- SCREEN - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs about the main screen system
- seeUsersInfos() - Static method in class net.minheur.potoflux.login.perms.PermRuns
-
Opens the dialog to look up all accounts
- selectValue(Object) - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Helper to select a given value into the CheckboxSetting.node
- selectValue(Object) - Method in class net.minheur.potoflux.settings.types.ComboSetting
-
Helper to select a given value into the ComboSetting.node
- selectValue(Object) - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Selects a value from an object.
- sendAccountCreationLockRequest(boolean) - Static method in class net.minheur.potoflux.login.ConnectionHandler
-
Sends a request to allow or not the creation of account
- set(Object) - Method in class net.minheur.potoflux.settings.OptionalFeature
-
Modifies the value, from an
Object - set(T) - Method in class net.minheur.potoflux.utils.LockableField
-
Sets the value, if it is not LockableField.locked
- setAccountCreationState() - Static method in class net.minheur.potoflux.login.perms.PermRuns
-
Used when an admin wants to toggle if users are allowed to self-create an account
- setActualValue(Object) - Method in class net.minheur.potoflux.settings.SettingInfo
-
Sets the value from an Object.
- setDevEnv(boolean) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
This should only be called once in the scope, setting the environment
- setModClassLoader() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
-
Turns on the mod class loader
- setOpenedTab(Tab) - Method in class net.minheur.potoflux.screen.FXPotoScreen
-
Helper to open a given tab
- setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
-
Create and add all components to the panel
- setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.HomeTab
-
Makes the UI
- setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.ModsTab
- setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.SettingsTab
-
This is the actual method to set the panel.
The overriding class will have to use this to add content to theBaseTab.PANEL. - setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
-
Add content to the pane.
CallsTerminalTab.addTerminal() - setPanel() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
-
This is the actual method to set the panel.
The overriding class will have to use this to add content to theBaseTab.PANEL. - Setting - Record Class in net.minheur.potoflux.settings
-
Container for a setting
- Setting(ResourceLocation, ISettingType<?>, boolean) - Constructor for record class net.minheur.potoflux.settings.Setting
-
Creates an instance of a
Settingrecord class. - settingEvent - Static variable in class net.minheur.potoflux.Bootstrap
- SettingInfo<T> - Class in net.minheur.potoflux.settings
-
Container with infos about a setting
- SettingInfo(PreferencesTypes) - Constructor for class net.minheur.potoflux.settings.SettingInfo
-
Creates the info with only a type.
The value is set later viaSettingInfo.setActualValue(Object) - SettingRegistry - Class in net.minheur.potoflux.settings
-
Registry of all settings
- SettingRegistry() - Constructor for class net.minheur.potoflux.settings.SettingRegistry
- Settings - Class in net.minheur.potoflux.settings
-
List of all Potoflux's settings
- Settings() - Constructor for class net.minheur.potoflux.settings.Settings
- SETTINGS - Static variable in class net.minheur.potoflux.screen.tabs.Tabs
-
The item of the settings tab (
SettingsTab). - SettingsTab - Class in net.minheur.potoflux.screen.tabs.all
-
The settings tab contains all user changeable vars (prefs)
- SettingsTab() - Constructor for class net.minheur.potoflux.screen.tabs.all.SettingsTab
- setup() - Method in class net.minheur.potoflux.screen.FXLoadingScreen
-
Setups the loading screen, makes the stage, labels and layout
- setValueFor(ResourceLocation, PreferencesTypes, Object) - Static method in class net.minheur.potoflux.settings.UserPrefsManager
-
Sets a setting value
- show() - Method in class net.minheur.potoflux.screen.FXLoadingScreen
-
Displays the
FXLoadingScreen.stage - showAlert(Alert.AlertType, String, String, String, String, String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Show an
Alertto the user
IfLogicDelayedPopupsRegistry.isOpened()istrue, meaning we are actually running the logic action runs, adds the alert to the delayed popup reg. - showConfirmationDialog(String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays a confirmation dialog
- showConfirmationDialog(Node) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays a confirmation dialog
- showConfirmationDialog(Node, String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays a confirmation dialog
- showConfirmationDialog(Node, String, Alert.AlertType) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays a confirmation dialog
- showErrorPane(String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays an error pane
- showInputDialog(R[], int, String, String, String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays an input dialog
- showInputDialog(R[], int, String, String, String, String, String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays an input dialog
- showInputDialog(R[], int, String, String, String, String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays an input dialog
- showMessagePane(String) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Displays an information pane
- showNode(Node) - Static method in class net.minheur.potoflux.ui.UiUtils
-
Show a node, used to invert action of
UiUtils.hideNode(Node) - showReload() - Static method in class net.minheur.potoflux.settings.UserPrefsManager
-
Shows a popup to ask the user to restart the app
- SingleInstanceHandler - Class in net.minheur.potoflux.loader
- SingleInstanceHandler() - Constructor for class net.minheur.potoflux.loader.SingleInstanceHandler
- SmartSupplier<T> - Class in net.minheur.potoflux.utils
-
The smart supplier is a
Supplierthat don't recreate the field each time.
Once the value is created from the SmartSupplier.supplier once, it is stored in SmartSupplier.value and given each time SmartSupplier.get() is used - SmartSupplier(Supplier<T>) - Constructor for class net.minheur.potoflux.utils.SmartSupplier
-
Creates the smart supplier from a simple one
- SOURCE - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
sourcecommand. - start(Stage) - Method in class net.minheur.potoflux.PotoFlux
-
The entry point for Potoflux's UI.
- startListener() - Static method in class net.minheur.potoflux.loader.SingleInstanceHandler
- startLogicReg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterRunsEvent
- StartLogicRunRegistry - Class in net.minheur.potoflux.actionRuns.regs
-
The main registry for all logic start action runs
- StartLogicRunRegistry() - Constructor for class net.minheur.potoflux.actionRuns.regs.StartLogicRunRegistry
- startUiReg - Variable in class net.minheur.potoflux.loader.mod.events.RegisterRunsEvent
- StartUiRunRegistry - Class in net.minheur.potoflux.actionRuns.regs
-
The main registry for all UI start action runs
- StartUiRunRegistry() - Constructor for class net.minheur.potoflux.actionRuns.regs.StartUiRunRegistry
- state - Variable in class net.minheur.potoflux.loader.mod.ModContainer
- stop() - Method in class net.minheur.potoflux.PotoFlux
-
When the app is closed normally in the JavaFX system, this gets called to run the exit logic.
- STRING - Enum constant in enum class net.minheur.potoflux.settings.OptionalFeature.Type
-
If the feature value is a
String - STRING - Enum constant in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
The data stored is a
String. - stylesheetDir() - Method in record class net.minheur.potoflux.styles.StylesheetEntry
-
Returns the value of the
stylesheetDirrecord component. - StylesheetEntry - Record Class in net.minheur.potoflux.styles
- StylesheetEntry(ResourceLocation, String) - Constructor for record class net.minheur.potoflux.styles.StylesheetEntry
-
Creates an instance of a
StylesheetEntryrecord class. - stylesheetsEvent - Static variable in class net.minheur.potoflux.Bootstrap
- StylesheetsRegistry - Class in net.minheur.potoflux.styles
- StylesheetsRegistry() - Constructor for class net.minheur.potoflux.styles.StylesheetsRegistry
- success - Variable in class net.minheur.potoflux.login.response.BaseResponse
-
Defines if the action was a success
- SUCCESS - Enum constant in enum class net.minheur.potoflux.utils.close.ExitCode
-
Used when the app closed successfully
T
- tab - Static variable in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
A contant for the tabulation
- Tab - Record Class in net.minheur.potoflux.screen.tabs
-
A registry item to make tabs
- Tab(ResourceLocation, Class<? extends BaseTab<?>>) - Constructor for record class net.minheur.potoflux.screen.tabs.Tab
-
Creates an instance of a
Tabrecord class. - TAB - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
tabcommand. - TAB_LIST - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
tabListcommand. - TAB_PLACEMENT - Static variable in class net.minheur.potoflux.settings.Settings
-
Setting to change the placement of the tab's list.
- tabArrow - Static variable in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
A constant for a tab, preceding an arrow (and space at the end)
- tabClass() - Method in record class net.minheur.potoflux.screen.tabs.Tab
-
Returns the value of the
tabClassrecord component. - tabEvent - Static variable in class net.minheur.potoflux.Bootstrap
- tabLine - Static variable in class net.minheur.potoflux.terminal.commands.CommandMakerHelpers
-
A constant for a tabulation, preceded by a new line.
- TabRegistry - Class in net.minheur.potoflux.screen.tabs
-
Registry to stores all tabs.
All tabs should be added to it, otherwise they will not be found by the app. - TabRegistry() - Constructor for class net.minheur.potoflux.screen.tabs.TabRegistry
- Tabs - Class in net.minheur.potoflux.screen.tabs
-
Registry of the potoflux tabs
- Tabs() - Constructor for class net.minheur.potoflux.screen.tabs.Tabs
- TabSides - Enum Class in net.minheur.potoflux.screen.tabs
-
Enum extending
Side, also featuring a key and translated name - targetRank - Variable in class net.minheur.potoflux.login.response.RmUserResponse
-
If the removal fails with error
rank_to_small, tells what is the target's rank. - TeeOutputStream - Class in net.minheur.potoflux.logger
-
Custom output stream
- TeeOutputStream(OutputStream, OutputStream) - Constructor for class net.minheur.potoflux.logger.TeeOutputStream
- Terminal - Class in net.minheur.potoflux.terminal
-
The main tab used to handle the terminal
- Terminal(StackPane) - Constructor for class net.minheur.potoflux.terminal.Terminal
-
Init the terminal
- TERMINAL - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs talking about the potoflux terminal
- TERMINAL - Static variable in class net.minheur.potoflux.screen.tabs.Tabs
-
The item of the terminal tab (
TerminalTab). - TerminalTab - Class in net.minheur.potoflux.screen.tabs.all
-
The tab that contains the terminal of potoflux.
- TerminalTab() - Constructor for class net.minheur.potoflux.screen.tabs.all.TerminalTab
- THEME - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs about the theme
- THEME - Static variable in class net.minheur.potoflux.settings.Settings
-
Setting to change the theme of the app.
- Themes - Enum Class in net.minheur.potoflux.theme
-
List of all themes that can be chosen from in the settings
- TIME - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
timecommand. - token - Variable in class net.minheur.potoflux.login.response.LoginResponse
-
Once connected, this stores your newly created token.
- TOKEN - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs related to your account's token
- TokenHandler - Class in net.minheur.potoflux.login
-
This saves, stores and retrieve your connection token
- TokenHandler() - Constructor for class net.minheur.potoflux.login.TokenHandler
- TOP - Enum constant in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Side.TOP - toString() - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
-
Returns a string representation of this record class.
- toString() - Method in record class net.minheur.potoflux.loader.mod.post.ModEvent
-
Returns a string representation of this record class.
- toString() - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
-
Returns a string representation of this record class.
- toString() - Method in record class net.minheur.potoflux.login.notifications.reg.NotificationType
-
Returns a string representation of this record class.
- toString() - Method in enum class net.minheur.potoflux.login.perms.Perms
-
Make sure we give the name.
Used in combo boxes, to have an actual translated name - toString() - Method in record class net.minheur.potoflux.screen.menu.PotoMenuItem
-
Returns a string representation of this record class.
- toString() - Method in record class net.minheur.potoflux.screen.tabs.Tab
-
Returns a string representation of this record class.
- toString() - Method in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Make to string gets the translated name
- toString() - Method in record class net.minheur.potoflux.settings.Setting
-
Returns a string representation of this record class.
- toString() - Method in record class net.minheur.potoflux.styles.StylesheetEntry
-
Returns a string representation of this record class.
- toString() - Method in enum class net.minheur.potoflux.terminal.ASCIIs
-
Change the display name to the translated one
- toString() - Method in record class net.minheur.potoflux.terminal.Command
-
Returns a string representation of this record class.
- toString() - Method in enum class net.minheur.potoflux.theme.Themes
-
Makes sure to display the Themes.translatableName, after translation
- toString() - Method in enum class net.minheur.potoflux.translations.Lang
- toString() - Method in record class net.minheur.potoflux.ui.dialogData.LoginData
-
Returns a string representation of this record class.
- toString() - Method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Merge correctly the loc together
- TranslationBuilder(String) - Constructor for class net.minheur.potoflux.translations.AbstractTranslationsRegistry.TranslationBuilder
-
Creates the builder
- Translations - Class in net.minheur.potoflux.translations
-
the class that handle translations
- Translations() - Constructor for class net.minheur.potoflux.translations.Translations
- TRANSLATIONS - Enum constant in enum class net.minheur.potoflux.logger.LogCategories
-
All logs about the translation system
- TranslationsOld - Class in net.minheur.potoflux.translations
-
Deprecated, for removal: This API element is subject to removal in a future version.
- TranslationsOld() - Constructor for class net.minheur.potoflux.translations.TranslationsOld
-
Deprecated.
- tryCreateLock(int) - Static method in class net.minheur.potoflux.loader.SingleInstanceHandler
- type() - Method in record class net.minheur.potoflux.settings.Setting
-
Returns the value of the
typerecord component. - typeBarColorClass(JsonObject) - Method in interface net.minheur.potoflux.login.notifications.reg.INotificationType
- typeBarColorClass(JsonObject) - Method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
U
- UiUtils - Class in net.minheur.potoflux.ui
-
A utility class for UI related
- UNCAUGHT_EXCEPTION - Enum constant in enum class net.minheur.potoflux.utils.close.ExitCode
-
Used when there were a random exception has been thrown in the main thread
- UPDATE_AUTH_BUTTONS - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
- updateItem(Notification, boolean) - Method in class net.minheur.potoflux.login.notifications.NotificationCellFactory
- updateStage(String) - Method in class net.minheur.potoflux.screen.FXLoadingScreen
-
Update what is currently loading
- username() - Method in record class net.minheur.potoflux.ui.dialogData.LoginData
-
Returns the value of the
usernamerecord component. - UserPrefsManager - Class in net.minheur.potoflux.settings
-
This class is used to store and retrieve user preferences.
- uuid - Variable in class net.minheur.potoflux.login.Account
-
UUID of the user stored in this class
- uuid - Variable in class net.minheur.potoflux.login.response.InfoResponse
-
Stores the target user's uuid
V
- validNamespaceChar(char) - Static method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Checks a char of the namespace
- validPathChar(char) - Static method in class net.minheur.potoflux.utils.ressourcelocation.ResourceLocation
-
Checks a char of the ID
- valueOf(String) - Static method in enum class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.loader.mod.LoadResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.loader.mod.ModState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.logger.LogCategories
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.login.perms.Perms
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.settings.OptionalFeature.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.terminal.ASCIIs
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.theme.Themes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.translations.Lang
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.minheur.potoflux.utils.close.ExitCode
-
Returns the enum constant of this class with the specified name.
- valueProperty() - Method in class net.minheur.potoflux.settings.types.CheckboxSetting
-
Getter for the actual selected value, as an
ObservableValue - valueProperty() - Method in class net.minheur.potoflux.settings.types.ComboSetting
-
Getter for the actual selected value, as an
ObservableValue - valueProperty() - Method in interface net.minheur.potoflux.settings.types.ISettingType
-
Gets the property for the selected value, allowing to check if exists or bind it to FX components
- values() - Static method in enum class net.minheur.potoflux.actionRuns.LogicDelayedPopupsRegistry.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.loader.mod.LoadResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.loader.mod.ModState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.logger.LogCategories
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.login.notifications.reg.NotifTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.login.perms.Perms
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.screen.tabs.TabSides
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.settings.OptionalFeature.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.settings.types.PreferencesTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.terminal.ASCIIs
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.theme.Themes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.translations.Lang
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.minheur.potoflux.utils.close.ExitCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vContent - Variable in class net.minheur.potoflux.screen.tabs.BaseVTab
-
Preset
VBoxto add to the panel - version() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
-
The version of your mod.
- VERSION - Static variable in class net.minheur.potoflux.terminal.commands.Commands
-
Command for the
ptfVersioncommand. - VIEW_USERS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
-
Perm required to view all users, as well as their account information.
W
- warmupTls() - Static method in class net.minheur.potoflux.login.RequestPoster
- warning(String, String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Print a warning log message, with a content and optional categories
- warning(String, ILogCategory, String...) - Static method in class net.minheur.potoflux.logger.PtfLogger
-
Print a warning log message, with a content, a main log category (in the form of an
ILogCategory) and optional categories - write(byte[], int, int) - Method in class net.minheur.potoflux.logger.TeeOutputStream
- write(int) - Method in class net.minheur.potoflux.logger.TeeOutputStream
Y
- yesButton - Static variable in class net.minheur.potoflux.ui.UiUtils
-
Button type preset for the
YESaction.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form