Class Key_P

    • Field Detail

      • Logger

        private static final Logger Logger

        class Logger instance

      • P1_Text

        private static final short[] P1_Text
        Text to be displayed when P1_ was selected.
      • TAG

        private static final String TAG

        class Logger tag.

    • Constructor Detail

      • Key_P

        Key_P​(Calculator Owner,
              short Normal,
              short Inv_Normal,
              short Alpha,
              short Inv_Alpha)
        Parameters:
        Owner - Calculator owning the key
        Normal - Normal operations
        Inv_Normal - Inverse operation
        Alpha - Normal_Alpha characters
        Inv_Alpha - Invers Normal_Alpha characters
    • Method Detail

      • Execute_Digit

        public void Execute_Digit​(short Key_Code)
                           throws Error

        Execute the Digit after the P_ key

        Throws:
        Error
      • Execute_P1_

        public void Execute_P1_()
                         throws Error

        Execute the P_ key

        Throws:
        Error
      • Execute_Pn

        private void Execute_Pn​(@NotNull
                                Calculator.Program_Type Program)
                         throws M_Error

        Execute P1 … P9 operation

        Parameters:
        Program - operation to store or execute
        Throws:
        M_Error