Class Key_Simple

    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Inv_Alpha

        protected final short Inv_Alpha
        Invers Normal_Alpha characters
      • Inv_Normal

        protected final short Inv_Normal
        Inverse operation
      • Normal

        protected final short Normal
        Normal operations
      • Normal_Alpha

        protected final short Normal_Alpha
        Normal_Alpha characters
    • Constructor Detail

      • Key_Simple

        Key_Simple​(Calculator Owner,
                   short Normal,
                   short Inv_Normal,
                   short Normal_Alpha,
                   short Inv_Alpha)
        Create Key and attach to owner calculator.
        Parameters:
        Owner - Calculator owning the key
        Normal - Normal operations
        Inv_Normal - Inverse operation
        Normal_Alpha - Normal_Alpha characters
        Inv_Alpha - Invers Normal_Alpha characters
    • 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:
        Error - "Error" is an abstract exception class representing all possible errors the calculator can produce.
        Error
        See Also:
        IOperation.Execute(short)