Class EnterAmountDialog


  • public class EnterAmountDialog
    extends java.lang.Object
    The `EnterAmountDialog` class provides methods for interacting with the dialog in Old School RuneScape. It allows for checking if the dialog is open, setting a specified amount, and handling invalid inputs.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isOpen()
      Checks if the dialog is open.
      static boolean set​(int amount)
      Sets the specified amount in the dialog.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnterAmountDialog

        public EnterAmountDialog()
    • Method Detail

      • isOpen

        public static boolean isOpen()
        Checks if the dialog is open.
        Returns:
        true if the dialog is open, false otherwise.
      • set

        public static boolean set​(int amount)
        Sets the specified amount in the dialog.
        Parameters:
        amount - The amount to set in the dialog.
        Returns:
        true if the amount is set successfully, false otherwise.