Class PlatformApplication


  • public class PlatformApplication
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • PlatformApplication

        public PlatformApplication()
    • Method Detail

      • openLink

        public static void openLink​(java.lang.String url)
      • setClipboard

        public static void setClipboard​(java.lang.String text)
      • getClipboard

        public static java.lang.String getClipboard()
      • setLocalStorage

        public static void setLocalStorage​(java.lang.String name,
                                           byte[] data)
      • getLocalStorage

        public static byte[] getLocalStorage​(java.lang.String name)
      • saveScreenshot

        public static java.lang.String saveScreenshot()
      • showPopup

        public static void showPopup​(java.lang.String msg)
      • displayFileChooser

        public static void displayFileChooser​(java.lang.String mime,
                                              java.lang.String ext)
      • fileChooserHasResult

        public static boolean fileChooserHasResult()
      • openCreditsPopup

        public static void openCreditsPopup​(java.lang.String text)