Class Canvas<Type extends IPrinter>

    • Field Detail

      • Logger

        private static final Logger Logger

        class logger instance

      • TAG

        private static final String TAG

        class logger tag.

      • Calculator_Bundle

        private static final ResourceBundle Calculator_Bundle
        Resource Bundle used for I18N
      • owner

        @Nullable
        private final net.sourceforge.uiq3.ui.IFrame owner
      • printer

        @Nullable
        protected Type extends IPrinter printer
        The printer engine used - needed for status related display.
      • Clear_Button

        protected final JButton Clear_Button
      • Copy_MenuItem

        protected final JMenuItem Copy_MenuItem
      • Feet_Button

        protected final JButton Feet_Button
      • Print_Button_1

        protected final JButton Print_Button_1
      • Print_Button_2

        protected final JButton Print_Button_2
      • Print_Button_3

        protected final JButton Print_Button_3
      • Printout_Menu

        protected final JPopupMenu Printout_Menu
      • Printout_ScrollPane

        protected final JScrollPane Printout_ScrollPane
      • Printout_TextArea

        protected final JTextArea Printout_TextArea
    • Constructor Detail

      • Canvas

        public Canvas()
        Creates new form Printer_Canvas
      • Canvas

        public Canvas​(@NotNull
                      net.sourceforge.uiq3.ui.IFrame owner)
        Creates new form Printer_Canvas
    • Method Detail

      • setPrinter

        public void setPrinter​(@NotNull
                               Type printer)
        Set the calculator engine used - needed for status related display.
        Parameters:
        printer - printer to display
      • update

        public void update()
        Update Fields.
      • doPrintButton1

        public void doPrintButton1()
      • doPrintButton2

        public void doPrintButton2()
      • doPrintButton3

        public void doPrintButton3()
      • doClearButton

        public void doClearButton()
      • initComponents

        private void initComponents()
      • formComponentShown

        private void formComponentShown​(ComponentEvent evt)
      • Print_Button_1ActionPerformed

        private void Print_Button_1ActionPerformed​(ActionEvent evt)
      • Print_Button_2ActionPerformed

        private void Print_Button_2ActionPerformed​(ActionEvent evt)
      • Print_Button_3ActionPerformed

        private void Print_Button_3ActionPerformed​(ActionEvent evt)
      • Clear_ButtonActionPerformed

        private void Clear_ButtonActionPerformed​(ActionEvent evt)
      • Feet_ButtonActionPerformed

        private void Feet_ButtonActionPerformed​(ActionEvent evt)
      • Copy_MenuItemActionPerformed

        private void Copy_MenuItemActionPerformed​(ActionEvent evt)
      • getPrintout

        @TestOnly
        @NotNull
        public @NotNull String getPrintout()
        Specified by:
        getPrintout in interface net.sourceforge.uiq3.printer.ICanvas