Class Key_AC

    • Field Detail

      • Logger

        private static final Logger Logger

        Class Logger instance.

      • TAG

        private static final String TAG

        Class Logger tag.

    • Constructor Detail

      • Key_AC

        Key_AC​(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 Error
        Description copied from interface: IOperation

        Execute virtual CPU command or key stroke

        Parameters:
        Key_Code - Virtual CPU Operation to be executed
        Throws:
        M_Error - Calculator memory exhausted
        Error - "Error" is an abstract exception class representing all possible errors the calculator can produce.
        Error
        See Also:
        IOperation.Execute(short)
      • Execute_Clear

        private void Execute_Clear()

        delete a program

      • Execute_Interactive

        private void Execute_Interactive()
                                  throws Error
        Throws:
        Error
      • Execute_Write

        private void Execute_Write()
                            throws M_Error

        insert the AC token.

        Throws:
        M_Error - out of memory