Enum Screen

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Screen>

    public enum Screen
    extends java.lang.Enum<Screen>
    • Enum Constant Detail

      • FIRST

        public static final Screen FIRST
      • SECOND

        public static final Screen SECOND
    • Method Detail

      • values

        public static Screen[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Screen c : Screen.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Screen valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getOpened

        public static Screen getOpened()
      • getParentId

        public int getParentId()
      • getPARENT_ID

        @Deprecated
        public int getPARENT_ID()
        Deprecated.
      • isOpen

        public boolean isOpen()
      • getPlayerInventorySlots

        public int getPlayerInventorySlots()
      • getValue

        public int getValue​(boolean mine)
      • getAcceptWidget

        public WidgetChild getAcceptWidget()
      • getDeclineWidget

        public WidgetChild getDeclineWidget()
      • getContainerId

        public int getContainerId​(boolean mine)