Class Key_C

    • Field Detail

      • Logger

        private static final Logger Logger

        class Logger instance

      • P1_Text

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

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

        private static final String TAG

        class Logger tag.

      • Status

        @NotNull
        private @NotNull Key_C.Status_Type Status
        We start with status none.
    • Constructor Detail

      • Key_C

        Key_C​(Calculator Owner)
        Create Key and attach to owner calculator.
        Parameters:
        Owner - Calculator owning the key
    • Method Detail

      • Execute

        public void Execute​(short Key_Code)
                     throws Op_Error
        Description copied from interface: IOperation

        Execute virtual CPU command or key stroke

        Parameters:
        Key_Code - Virtual CPU Operation to be executed
        Throws:
        Op_Error
        See Also:
        IOperation.Execute(short)
      • Execute_None

        private void Execute_None​(int Program_Store)
      • Execute_Prog_0

        private void Execute_Prog_0​(short Key_Code,
                                    int program_Store)
      • Execute_Prog_10

        private void Execute_Prog_10​(short Key_Code,
                                     int program_Store)
      • Remove_Step

        private void Remove_Step​(int Step)

        remove step

        Parameters:
        Step - step to remove
      • Rename_Program

        private void Rename_Program​(int Program_Store,
                                    short Program_Token,
                                    boolean P10)

        Rename the program foind at Program_Store

        Parameters:
        Program_Store - where the prog is stored
        Program_Token - the new program
        P10 - true when the program is P10 … P19