Class EditBookScreen

    • Method Detail

      • setClipboard

        private void setClipboard​(java.lang.String p_238760_1_)
      • getClipboard

        private java.lang.String getClipboard()
      • getNumPages

        private int getNumPages()
      • init

        protected void init()
        Overrides:
        init in class Screen
      • pageBack

        private void pageBack()
      • pageForward

        private void pageForward()
      • removed

        public void removed()
        Overrides:
        removed in class Screen
      • updateButtonVisibility

        private void updateButtonVisibility()
      • eraseEmptyTrailingPages

        private void eraseEmptyTrailingPages()
      • saveChanges

        private void saveChanges​(boolean p_214198_1_)
      • appendPageToBook

        private void appendPageToBook()
      • charTyped

        public boolean charTyped​(char p_231042_1_,
                                 int p_231042_2_)
      • bookKeyPressed

        private boolean bookKeyPressed​(int p_214230_1_,
                                       int p_214230_2_,
                                       int p_214230_3_)
      • keyUp

        private void keyUp()
      • keyDown

        private void keyDown()
      • changeLine

        private void changeLine​(int p_238755_1_)
      • keyHome

        private void keyHome()
      • keyEnd

        private void keyEnd()
      • titleKeyPressed

        private boolean titleKeyPressed​(int p_214196_1_,
                                        int p_214196_2_,
                                        int p_214196_3_)
      • getCurrentPageText

        private java.lang.String getCurrentPageText()
      • setCurrentPageText

        private void setCurrentPageText​(java.lang.String p_214217_1_)
      • renderHighlight

        private void renderHighlight​(Rectangle2d[] p_238764_1_)
      • mouseClicked

        public boolean mouseClicked​(double p_231044_1_,
                                    double p_231044_3_,
                                    int p_231044_5_)
      • selectWord

        private void selectWord​(int p_238765_1_)
      • mouseDragged

        public boolean mouseDragged​(double p_231045_1_,
                                    double p_231045_3_,
                                    int p_231045_5_,
                                    double p_231045_6_,
                                    double p_231045_8_)
      • clearDisplayCache

        private void clearDisplayCache()
      • clearDisplayCacheAfterPageChange

        private void clearDisplayCacheAfterPageChange()
      • findLineFromPos

        private static int findLineFromPos​(int[] p_238768_0_,
                                           int p_238768_1_)
      • createPartialLineSelection

        private Rectangle2d createPartialLineSelection​(java.lang.String p_238761_1_,
                                                       CharacterManager p_238761_2_,
                                                       int p_238761_3_,
                                                       int p_238761_4_,
                                                       int p_238761_5_,
                                                       int p_238761_6_)