Class Key_C

    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • Mode_Error

        private static final String Mode_Error
        Error Message displayed on using the wrong alpha mode!
        See Also:
        Constant Field Values
      • 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

        private int 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

      • Clear

        public void Clear​(boolean All_Clear)
        Clean Key state.
        Specified by:
        Clear in interface IClear
        Overrides:
        Clear in class Keyboard
        Parameters:
        All_Clear - true when AC (all clear) is requested.
        See Also:
        IClear.Clear(boolean)
      • 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

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

        private void Remove_Step​(int Step)

        remove step

        Parameters:
        Step - step to remove