Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

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 - Class in net.minheur.potoflux.login
A class that stores every useful info about an account
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 - Variable in class net.minheur.potoflux.screen.menu.MenuContent
 
ACCOUNT - 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
AccountDetailsDialog - Class in net.minheur.potoflux.ui.dialogs
When you ask for a user's details, this dialogs pops up
AccountDetailsDialog(JDialog, Account) - Constructor for class net.minheur.potoflux.ui.dialogs.AccountDetailsDialog
 
accountFor(String) - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
AccountMenu - Class in net.minheur.potoflux.screen.menu.definers
 
AccountMenu() - Constructor for class net.minheur.potoflux.screen.menu.definers.AccountMenu
 
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 ActionRun record 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
add(String) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
add(String, String...) - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
Creates a AbstractTranslationsRegistry.TranslationBuilder with a main key and children (separated by a .)
add(ActionRun) - Method in class net.minheur.potoflux.actionRuns.regs.CloseRunRegistry
Adds an action run to the on close actions
add(ActionRun) - Method in class net.minheur.potoflux.actionRuns.regs.StartLogicRunRegistry
Adds an action run to the on logic start actions
add(ActionRun) - Method in class net.minheur.potoflux.actionRuns.regs.StartUiRunRegistry
Adds an action run to the on UI start actions
add(Mod, boolean, String) - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
 
add(Candidate) - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
 
add(PotoMenuItem) - Method in class net.minheur.potoflux.screen.menu.MenuRegistry
 
add(Tab) - Method in class net.minheur.potoflux.screen.tabs.TabRegistry
Adds a tab to the reg
add(Command) - Method in class net.minheur.potoflux.terminal.CommandRegistry
Adds a command to the reg
add(T) - Method in interface net.minheur.potoflux.registry.IRegistry
Adds an item to the reg
add(T) - Method in class net.minheur.potoflux.registry.RegistryList
Method to add an item to the registry.
addAll() - Method in class net.minheur.potoflux.screen.menu.definers.AccountMenu
 
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
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, as e -> handle(e) or e -> 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
 
AddUserDialog - Class in net.minheur.potoflux.ui.dialogs
Used by admins when creating a new account for someone
AddUserDialog(Frame) - Constructor for class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
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(Frame, List<Account>) - Constructor for class net.minheur.potoflux.ui.dialogs.AllUsersDialog
 
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.
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 - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the ascii command.

B

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 - 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) the BaseTab.setPanel() method, to add data to the BaseTab.PANEL.
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, using big
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.
buildWithCategory(String, String, List<String>) - Static method in class net.minheur.potoflux.logger.PtfLogger
Builds the message with a main category

C

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 Candidate record 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
 
CHANGE_PASSWORD - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
 
CHECK_ALLOW_ACCOUNT_CREATION - Variable in class net.minheur.potoflux.actionRuns.ActionRuns
 
CHECK_POTOFLUX_UPDATE - Variable in class net.minheur.potoflux.actionRuns.ActionRuns
 
CHECK_RICK_ROLL - Variable in class net.minheur.potoflux.actionRuns.ActionRuns
 
checkAndRemoveExistingToken() - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
CheckboxListRenderer - Class in net.minheur.potoflux.ui
This is a checkbox that can be put in a multiple selection list.
CheckboxListRenderer() - Constructor for class net.minheur.potoflux.ui.CheckboxListRenderer
 
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
 
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.
clear() - Static method in class net.minheur.potoflux.login.TokenHandler
 
CLEAR - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the clear command.
clearArea() - Static method in class net.minheur.potoflux.terminal.CommandProcessor
Empties all the terminal content
close() - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
 
close() - Method in class net.minheur.potoflux.screen.LoadingScreen
 
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
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 Command record 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
 
commandHelp() - Method in record class net.minheur.potoflux.terminal.Command
Returns the value of the commandHelp record 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
 
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 commandOutput record 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
Builder to check of the reg has already generated
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 compatible record 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 of compatibleVersions = {"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 in Mod.version()),
and the content an array of strings.
CONNECT_TOKEN - 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) - Static 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 content record component.
create() - Static method in class net.minheur.potoflux.login.CreateAccountHandler
 
CREATE_USERS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
 
createAccount(String, String, String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
 
CreateAccountDialog - Class in net.minheur.potoflux.ui.dialogs
This dialog is used when you create your own account
CreateAccountDialog(Frame) - Constructor for class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
 
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)
createTitle() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
Creates the title, from the text given via BaseTab.getTitle().
It is used in the BaseTab.preset()

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 declaredLastest record 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
DELETE_USERS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
 
DISPLAY_MOD_UPDATES - Variable in class net.minheur.potoflux.actionRuns.ActionRuns
 
displayModUpdates() - Static method in class net.minheur.potoflux.actionRuns.regs.ActionRunRunnable
 
doPreset() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
 
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.

E

ECHO - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the echo command.
email - Variable in class net.minheur.potoflux.login.Account
 
email - Variable in class net.minheur.potoflux.login.response.InfoResponse
 
emailChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
 
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.update.Candidate
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.terminal.Command
Indicates whether some other object is "equal to" this one.
error - Variable in class net.minheur.potoflux.login.response.BaseResponse
 
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
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
EventListener<E> - Interface in net.minheur.potoflux.utils
Used to add event listeners to mod event bus, without telling explicitly the event
exit(int, int) - Static method in class net.minheur.potoflux.Functions
This method is used to call exiting with a delay.

F

FILE - Variable in class net.minheur.potoflux.screen.menu.MenuContent
 
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 - 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
firstName - Variable in class net.minheur.potoflux.login.Account
 
firstName - Variable in class net.minheur.potoflux.login.response.InfoResponse
 
firstNameChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
 
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 ResourceLocation directly with PotoFlux's modId.
Functions - Class in net.minheur.potoflux
This class stores useful methods for all potoflux.
Functions() - Constructor for class net.minheur.potoflux.Functions
 

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
 
get() - Static method in class net.minheur.potoflux.terminal.CommandHistorySaver
 
get(String) - Static method in class net.minheur.potoflux.translations.Translations
Get a translation in the Translations.loadedLang from its key
get(String) - Static method in class net.minheur.potoflux.translations.TranslationsOld
Deprecated.
 
getAccountMenu() - Static method in class net.minheur.potoflux.screen.menu.definers.MenuDefiners
 
getAll() - Static method in class net.minheur.potoflux.actionRuns.regs.CloseRunRegistry
Gets all action runs
getAll() - Static method in class net.minheur.potoflux.actionRuns.regs.StartLogicRunRegistry
Gets all action runs
getAll() - Static method in class net.minheur.potoflux.actionRuns.regs.StartUiRunRegistry
Gets all action runs
getAll() - Static method in class net.minheur.potoflux.loader.mod.update.ModUpdateReg
 
getAll() - Static method in class net.minheur.potoflux.screen.menu.MenuRegistry
 
getAll() - Static method in class net.minheur.potoflux.screen.tabs.TabRegistry
Getter for all the tabs
getAll() - Static method in class net.minheur.potoflux.terminal.CommandRegistry
Getter for all commands
getAppAnchor() - Static method in class net.minheur.potoflux.ui.UiUtils
 
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
 
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
 
getCommandWithKey(String) - Static 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
getDevScanUrls() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
Used to get the URLs to scan for mods in dev environment
getEmail() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
getEmail() - Method in class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
 
getEmail() - Method in class net.minheur.potoflux.ui.dialogs.RmUserDialog
 
getFileMenu() - Static method in class net.minheur.potoflux.screen.menu.definers.MenuDefiners
 
getFirstName() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
getFirstName() - Method in class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
 
getFrame() - Method in class net.minheur.potoflux.screen.PotoScreen
Getter for the PotoScreen.frame
getFromCode(String) - Static method in enum class net.minheur.potoflux.login.perms.Perms
 
getFromObject(String, String) - Static method in class net.minheur.potoflux.utils.Json
Gets a string item from an online JSON object
getFromResourceLoc(ResourceLocation) - Method in class net.minheur.potoflux.screen.PotoScreen
Gets the tab from its resource location
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
 
getLastName() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
getLastName() - Method in class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
 
getListCellRendererComponent(JList<?>, Object, int, boolean, boolean) - Method in class net.minheur.potoflux.ui.CheckboxListRenderer
 
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
 
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
 
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
 
getOnlineJsonObject(String) - Static method in class net.minheur.potoflux.utils.Json
Gets a JSON object from an online file
getOptionalFeatures() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
Getter for the optional features
getOutputArea() - Method in class net.minheur.potoflux.terminal.Terminal
Getter for the Terminal.outputArea
getPanel() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
Getter for the BaseTab.PANEL.
getPassword() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
getPassword() - Method in class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
 
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
 
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.
getRank() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
getSelectedPerms() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
getStrictUserLang() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Getter for the user lang (direct)
getTabMap() - Method in class net.minheur.potoflux.screen.PotoScreen
Getter for the PotoScreen.tabMap
getTerminal() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
Getter for the TerminalTab.terminal
getTerminalASCII() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Getter for the terminal's ASCII
getTheme() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Getter for the user's theme
getTitle() - Method in class net.minheur.potoflux.screen.tabs.all.HomeTab
Used to set the title.
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
 
getTranslations() - Method in class net.minheur.potoflux.translations.AbstractTranslationsRegistry
Getter for the AbstractTranslationsRegistry.modTranslations.
getUserInfos(String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
 
getUserLang() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Getter for the user lang (asking if null)
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
 
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.update.Candidate
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.terminal.Command
Returns a hash code value for this object.
HELLO_WORLD - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the hello command.
HELP - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the help command.
hidden() - Method in record class net.minheur.potoflux.terminal.Command
Returns the value of the hidden record component.
HIDDEN - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the hide command.
It's hidden
HOME - 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

id() - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
Returns the value of the id record component.
id() - Method in record class net.minheur.potoflux.screen.menu.PotoMenuItem
Returns the value of the id record component.
id() - Method in record class net.minheur.potoflux.screen.tabs.Tab
Returns the value of the id record component.
id() - Method in record class net.minheur.potoflux.terminal.Command
Returns the value of the id record component.
ID - Static variable in class net.minheur.potoflux.PotoFlux
The ID for potoflux (namespace)
ILogCategory - Interface in net.minheur.potoflux.logger
Class for creating log categories.
You should implement this in an Enum
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 an Account class
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
 
INSTANCE - Static variable in class net.minheur.potoflux.actionRuns.ActionRuns
The instance of the reg, used to access action runs
INSTANCE - Static variable in class net.minheur.potoflux.screen.menu.MenuContent
 
INSTANCE - Static variable in class net.minheur.potoflux.screen.tabs.Tabs
The instance of this class, used to keep a link to the tab def
INSTANCE - Static variable in class net.minheur.potoflux.terminal.commands.Commands
The only instance of the reg that should exist
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
 
InvalidTokenException(String) - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
 
InvalidTokenException(String, Throwable) - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
 
InvalidTokenException(Throwable) - Constructor for exception net.minheur.potoflux.login.InvalidTokenException
 
invokeLater() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
Deprecated.
IRegistry<T extends IRegistryType> - Interface in net.minheur.potoflux.registry
A registry for an event.
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
 
isAccountCreationEnabled() - Static method in class net.minheur.potoflux.login.RequestPoster
 
IsAccountCreationEnabledResponse - Class in net.minheur.potoflux.login.response
 
IsAccountCreationEnabledResponse() - Constructor for class net.minheur.potoflux.login.response.IsAccountCreationEnabledResponse
 
isConfirmed() - Method in class net.minheur.potoflux.ui.dialogs.AddUserDialog
 
isConfirmed() - Method in class net.minheur.potoflux.ui.dialogs.CreateAccountDialog
 
isConfirmed() - Method in class net.minheur.potoflux.ui.dialogs.RmUserDialog
 
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
 
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
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 key record 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.
lastName - Variable in class net.minheur.potoflux.login.Account
 
lastName - Variable in class net.minheur.potoflux.login.response.InfoResponse
 
lastNameChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
 
list - Variable in class net.minheur.potoflux.login.response.ListUserResponse
 
listFromObject(JsonObject, String) - Static method in class net.minheur.potoflux.utils.Json
Gets a List of String from a JsonObject and it's member name
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
 
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 - 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
 
loadFeatures() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
Called to load optional features from the file
loadFrom(List<String>) - Static method in class net.minheur.potoflux.terminal.CommandHistorySaver
 
LoadingScreen - Class in net.minheur.potoflux.screen
 
LoadingScreen() - Constructor for class net.minheur.potoflux.screen.LoadingScreen
 
loadMods() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
Load mods that in PotoFluxLoadingContext.listedMods and compatible.
loadStringArray(String) - Static method in class net.minheur.potoflux.utils.Json
 
LOCK - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
 
LOCK_ACCOUNT_CREATION - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
 
lockAccountCreation(String, boolean) - Static method in class net.minheur.potoflux.login.RequestPoster
 
locked - Variable in class net.minheur.potoflux.login.Account
 
locked - Variable in class net.minheur.potoflux.login.response.InfoResponse
 
lockUser(String, String, boolean) - Static method in class net.minheur.potoflux.login.RequestPoster
 
LOG_DIR - Variable in class net.minheur.potoflux.terminal.commands.Commands
 
LogAmountManager - Class in net.minheur.potoflux.utils
 
LogAmountManager() - Constructor for class net.minheur.potoflux.utils.LogAmountManager
 
LogCategories - Enum Class in net.minheur.potoflux.logger
Enum containing all potoflux log categories
login() - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
login(String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
 
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
 
LogSaver - Class in net.minheur.potoflux.logger
Class responsible for saving logs.
logWith(String, String) - Static method in class net.minheur.potoflux.login.ConnectionHandler
 

M

main(String[]) - Static method in class net.minheur.potoflux.PotoFlux
The main method, that runs PotoFlux.
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.
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
 
mdUserInfos(String, String, String, String, String, int) - Static method in class net.minheur.potoflux.login.RequestPoster
 
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
 
MenuContent - Class in net.minheur.potoflux.screen.menu
 
MenuDefiners - Class in net.minheur.potoflux.screen.menu.definers
 
MenuDefiners() - Constructor for class net.minheur.potoflux.screen.menu.definers.MenuDefiners
 
MenuRegistry - Class in net.minheur.potoflux.screen.menu
 
MenuRegistry() - Constructor for class net.minheur.potoflux.screen.menu.MenuRegistry
 
mkModClassLoader() - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
Create and fill a class loader in prod environment
mod() - Method in record class net.minheur.potoflux.loader.mod.update.Candidate
Returns the value of the mod record 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_DIR - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the modDir command.
MOD_LIST - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the modList command.
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_LOADER category, under mod update
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
 
modId() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
The mod ID of your 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

name() - Method in record class net.minheur.potoflux.screen.tabs.Tab
Returns the value of the name record component.
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.events - package net.minheur.potoflux.loader.mod.events
 
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.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.terminal - package net.minheur.potoflux.terminal
 
net.minheur.potoflux.terminal.commands - package net.minheur.potoflux.terminal.commands
 
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.dialogs - package net.minheur.potoflux.ui.dialogs
 
net.minheur.potoflux.utils - package net.minheur.potoflux.utils
 
net.minheur.potoflux.utils.ressourcelocation - package net.minheur.potoflux.utils.ressourcelocation
 
NOPE - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the nope command.
It's hidden

O

OnlineReader - Class in net.minheur.potoflux.utils
Utility class to read online files.
OnlineReader() - Constructor for class net.minheur.potoflux.utils.OnlineReader
 
openDir(File) - Static method in class net.minheur.potoflux.Functions
 
openUpdateDialog(Mod, boolean, String) - Static method in class net.minheur.potoflux.loader.PotoFluxLoadingContext
 

P

PANEL - Variable in class net.minheur.potoflux.screen.tabs.BaseTab
The actual JPanel, that will be added to the tabbed pane.
performAuthAction() - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
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
 
perms - Variable in class net.minheur.potoflux.login.response.InfoResponse
 
Perms - Enum Class in net.minheur.potoflux.login.perms
Registers all perms of the app
post(Object) - 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 - 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
 
PotoMenuItem(ResourceLocation, JComponent) - Constructor for record class net.minheur.potoflux.screen.menu.PotoMenuItem
Creates an instance of a PotoMenuItem record class.
PotoScreen - Class in net.minheur.potoflux.screen
The handler for the main potoflux screen
PotoScreen() - Constructor for class net.minheur.potoflux.screen.PotoScreen
Constructor for creating the screen
preset() - Method in class net.minheur.potoflux.screen.tabs.BaseTab
The preset, that is by default enabled.
It sets the layout and add the title.
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
 

Q

QUIT - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the quit command.

R

rank - Variable in class net.minheur.potoflux.login.Account
 
rank - Variable in class net.minheur.potoflux.login.response.InfoResponse
 
rankChanged - Variable in class net.minheur.potoflux.login.response.MdUserInfosResponse
 
read(String) - Static method in class net.minheur.potoflux.utils.OnlineReader
Reads the content of an online file as a string
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.RegisterTabsEvent
Registry containing all tabs.
register(RegisterCommandsEvent) - Static method in class net.minheur.potoflux.terminal.commands.Commands
Registers the commands to the reg
register(RegisterMenuEvent) - Static method in class net.minheur.potoflux.screen.menu.MenuContent
 
register(RegisterRunsEvent) - Static method in class net.minheur.potoflux.actionRuns.ActionRuns
This registers all action runs to the main reg
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(IRegistry<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
 
RegisterRunsEvent - Class in net.minheur.potoflux.loader.mod.events
 
RegisterRunsEvent() - Constructor for class net.minheur.potoflux.loader.mod.events.RegisterRunsEvent
 
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
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
 
reload() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
 
reloadAccountCreationPermission() - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
reloadAuthUi() - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
removeProhibitedChar(String) - Static method in class net.minheur.potoflux.Functions
Method to remove all characters that could be dangerous in a String inputted 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
 
resetTerminalAscii() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Runs the reset for the terminal's ASCII
resetTheme() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Runs the reset for the theme
resetUserLang() - Static method in class net.minheur.potoflux.utils.UserPrefsManager
Runs the reset for the user lang
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
rmOnlineToken() - Static method in class net.minheur.potoflux.login.TokenHandler
 
rmToken(String) - Static method in class net.minheur.potoflux.login.RequestPoster
 
rmUser() - Static method in class net.minheur.potoflux.login.perms.PermRuns
 
rmUser(String, String) - Static method in class net.minheur.potoflux.login.RequestPoster
 
RmUserDialog - Class in net.minheur.potoflux.ui.dialogs
This dialog asks an admin for a username, to delete his account.
RmUserDialog(Frame) - Constructor for class net.minheur.potoflux.ui.dialogs.RmUserDialog
 
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() - Method in record class net.minheur.potoflux.actionRuns.regs.ActionRun
Returns the value of the run record component.
runProgramClosing(int) - Static method in class net.minheur.potoflux.PotoFlux
This method should be used to close the app.
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
 
save(String) - Static method in class net.minheur.potoflux.terminal.CommandHistorySaver
 
SAVE_COMMAND_HISTORY - Variable in class net.minheur.potoflux.actionRuns.ActionRuns
 
SAVE_TERMINAL - 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
 
sendAccountCreationLockRequest(boolean) - Static method in class net.minheur.potoflux.login.ConnectionHandler
 
setAccountCreationState() - Static method in class net.minheur.potoflux.login.perms.PermRuns
 
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.PotoScreen
Sets the opened tab in the app.
setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.AccountTab
 
setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.HomeTab
This is the actual method to set the panel.
The overriding class will have to use this to add content to the BaseTab.PANEL.
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 the BaseTab.PANEL.
setPanel() - Method in class net.minheur.potoflux.screen.tabs.all.TerminalTab
This is the actual method to set the panel.
The overriding class will have to use this to add content to the BaseTab.PANEL.
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 the BaseTab.PANEL.
SETTINGS - 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
 
showErrorPane(String) - Static method in class net.minheur.potoflux.ui.UiUtils
 
showMessagePane(String) - Static method in class net.minheur.potoflux.ui.UiUtils
 
SOURCE - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the source command.
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
 
success - Variable in class net.minheur.potoflux.login.response.BaseResponse
 

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, String, Class<? extends BaseTab>) - Constructor for record class net.minheur.potoflux.screen.tabs.Tab
Creates an instance of a Tab record class.
TAB - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the tab command.
TAB_LIST - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the tabList command.
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 tabClass record component.
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
targetRank - Variable in class net.minheur.potoflux.login.response.RmUserResponse
 
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(JPanel) - 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 - 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
TIME - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the time command.
token - Variable in class net.minheur.potoflux.login.response.LoginResponse
 
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
 
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.update.Candidate
Returns a string representation of this record class.
toString() - Method in enum class net.minheur.potoflux.login.perms.Perms
 
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 record class net.minheur.potoflux.terminal.Command
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.
 

U

UiUtils - Class in net.minheur.potoflux.ui
A utility class for UI related
UiUtils() - Constructor for class net.minheur.potoflux.ui.UiUtils
 
UPDATE_AUTH_BUTTONS - Variable in class net.minheur.potoflux.actionRuns.ActionRuns
 
updateStage(String) - Method in class net.minheur.potoflux.screen.LoadingScreen
 
UserPrefsManager - Class in net.minheur.potoflux.utils
This class is used to store and retrieve user preferences.
UserPrefsManager() - Constructor for class net.minheur.potoflux.utils.UserPrefsManager
 
uuid - Variable in class net.minheur.potoflux.login.Account
 
uuid - Variable in class net.minheur.potoflux.login.response.InfoResponse
 

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.logger.LogCategories
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.translations.Lang
Returns the enum constant of this class with the specified name.
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.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.translations.Lang
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Element in annotation interface net.minheur.potoflux.loader.mod.Mod
The version of your mod.
VERSION - Variable in class net.minheur.potoflux.terminal.commands.Commands
Command for the ptfVersion command.
VIEW_USERS - Enum constant in enum class net.minheur.potoflux.login.perms.Perms
 

W

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
 
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form