Uses of Class
privbot.ui.fx.FxStudioShell.Builder
Packages that use FxStudioShell.Builder
Package
Description
The settings studio: a JavaFX window hosted in Swing, shared by every plugin.
-
Uses of FxStudioShell.Builder in privbot.ui.fx
Methods in privbot.ui.fx that return FxStudioShell.BuilderModifier and TypeMethodDescriptionFxStudioShell.Builder.addConfigSections(net.runelite.client.config.Config config, net.runelite.client.config.ConfigManager configManager) One generated page per@ConfigSection, or a single Settings page.FxStudioShell.Builder.addFxSection(String id, String navLabel, String pageTitle, String pageSubtitle, Supplier<javafx.scene.Node> fxBodySupplier, boolean wrapInScrollPane) A JavaFX page (e.g.FxStudioShell.Builder.addSwingSection(String id, String navLabel, String pageTitle, String pageSubtitle, JComponent swingBody, boolean wrapInScrollPane) A legacy Swing page; the shell draws its heading and frames the panel.Masthead:brandTitlebecomes the mark and name,brandSubtitlethe product line.static FxStudioShell.BuilderFxStudioShell.builder()A blank builder for bespoke studios: add pages withaddConfigSections(net.runelite.client.config.Config, net.runelite.client.config.ConfigManager),addFxSection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.function.Supplier<javafx.scene.Node>, boolean)oraddSwingSection(java.lang.String, java.lang.String, java.lang.String, java.lang.String, javax.swing.JComponent, boolean).FxStudioShell.Builder.footerText(String footerText) The note shown in the footer, e.g.static FxStudioShell.BuilderFxStudioShell.forConfig(String title, String subtitle, net.runelite.client.config.Config config, net.runelite.client.config.ConfigManager configManager) A complete studio for a plain@ConfigItemconfig: one tab per@ConfigSection(a single Settings page when the config declares none), every control generated byFxConfigPageBuilderand writing live, standard size, and a single Done action.FxStudioShell.Builder.modal(boolean modal) Ignored — the studio is always non-modal.Runs on the Swing EDT before the window is closed.Runs on the Swing EDT before the window is closed.Ignored — the studio is always a non-modalJFrame.FxStudioShell.Builder.runningIndicator(BooleanSupplier running) Shows an "Automation running / stopped" pill in the masthead, polled once a second on the FX thread.FxStudioShell.Builder.size(int width, int height) Window size in pixels; preferstandardSize().FxStudioShell.Builder.standardSize()FxStudioShell.Builder.windowTitle(String windowTitle) The OS window title; must not be null.