Class Key_FST_SAC

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation

    final class Key_FST_SAC
    extends Keyboard
    Forward Step
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • Memory_Block_2nd_Half_Offset

        private static final int Memory_Block_2nd_Half_Offset
        See Also:
        Constant Field Values
      • TAG

        private static final String TAG

        Class logger tag.

      • Memory_Text

        @NotNull
        private final @org.jetbrains.annotations.NotNull short[] Memory_Text
        Text to be displayed when Mode. was selected.
      • Memory_Register

        private int Memory_Register
        current dot value
    • Constructor Detail

      • Key_FST_SAC

        Key_FST_SAC​(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 net.sourceforge.uiq3.calculator.IClear
        Overrides:
        Clear in class Keyboard
        See Also:
        IClear.Clear(boolean)
      • Execute

        public void Execute​(short Key_Code)
                     throws M_Error,
                            Op_Error
        Throws:
        M_Error - Calculator memory exhausted
        Op_Error
        See Also:
        IOperation.Execute(short)
      • Execute_AR

        private void Execute_AR()
      • Execute_Write

        private void Execute_Write()

        Execute in write mode.

      • Execution_Halt

        private void Execution_Halt()
      • Status_AR_Digit_1

        private void Status_AR_Digit_1​(short Key_Code)
                                throws M_Error
        Throws:
        M_Error
      • Status_AR_Digit_2

        private void Status_AR_Digit_2​(short Key_Code)
                                throws M_Error
        Throws:
        M_Error
      • Store_Operation

        private void Store_Operation​(boolean F_Register)
                              throws M_Error
        Store M operations
        Parameters:
        F_Register - M or MF register?
        Throws:
        M_Error - Calculator memory exhausted