Package rsb.plugin

Class AccountPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.runelite.client.ui.PluginPanel
rsb.plugin.AccountPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScriptListener

public class AccountPanel extends net.runelite.client.ui.PluginPanel implements ScriptListener
A class that acts as effectively a single button to launch the account manager interface
See Also:
  • Constructor Details

    • AccountPanel

      public AccountPanel(RuneLite bot)
      Creates an account panel bound to a singleton of a bot TODO: Change this to not be hard bound, but rather iterable through a list of active clients
      Parameters:
      bot - the bot singleton to associate with this panel
  • Method Details

    • scriptStarted

      public void scriptStarted(ScriptHandler handler, Script script)
      Handles any task necessary if a script has been started
      Specified by:
      scriptStarted in interface ScriptListener
      Parameters:
      handler - the script handler
      script - the script to start
    • scriptStopped

      public void scriptStopped(ScriptHandler handler, Script script)
      Handles any task necessary if a script has been stopped
      Specified by:
      scriptStopped in interface ScriptListener
      Parameters:
      handler - the script handler
      script - the script to stop
    • scriptResumed

      public void scriptResumed(ScriptHandler handler, Script script)
      Handles any task necessary on a script being resumed
      Specified by:
      scriptResumed in interface ScriptListener
      Parameters:
      handler - the script handler
      script - the script to resume
    • scriptPaused

      public void scriptPaused(ScriptHandler handler, Script script)
      Handles any task necessary on a script being paused
      Specified by:
      scriptPaused in interface ScriptListener
      Parameters:
      handler - the script handler
      script - the script to pause
    • inputChanged

      public void inputChanged(RuneLite bot, int mask)
      Handles any task necessary if the input has changed
      Specified by:
      inputChanged in interface ScriptListener
      Parameters:
      bot - the bot instance to check
      mask - the mask to check for