Class Key_0_RND

    • Field Detail

      • Fix_Text

        private static final short[] Fix_Text
        Text to be displayed when FIX is selected.
      • Logger

        private static final Logger Logger

        Class logger instance.

      • Rnd_Text

        private static final short[] Rnd_Text
        Text to be displayed when RND is selected.
      • Status_Fix

        private static final int Status_Fix
        dot mode operations selected first char expected
        See Also:
        Constant Field Values
      • Status_Rnd

        private static final int Status_Rnd
        normal mode operations selected
        See Also:
        Constant Field Values
      • TAG

        private static final String TAG

        Class logger tag.

      • Status

        private int Status
        We start with status none.
    • Constructor Detail

      • Key_0_RND

        Key_0_RND​(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.
        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 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)