Class Key_MODE_ALPHA

    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • Status_Dot_1

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

        private static final int Status_Dot_2
        dot mode operations selected and second char expected
        See Also:
        Constant Field Values
      • Status_Error

        private static final String Status_Error
        Error Message displayed on using the wrong alpha mode!
        See Also:
        Constant Field Values
      • Status_Mode

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

        private static final String TAG

        Class logger tag.

      • Mode_Dot_Result

        private final short @NotNull [] Mode_Dot_Result
        Text to be displayed when Mode. was selected.
      • Mode_Dot_Text

        private final short[] Mode_Dot_Text
        Text to be displayed when Mode. was selected.
      • Mode_Text

        private final short[] Mode_Text
        Text to be displayed when Mode was selected.
      • Dot_Value

        private int Dot_Value
        current dot value
      • Status

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

      • Key_MODE_ALPHA

        Key_MODE_ALPHA​(Calculator Owner)
        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_Alpha_Off

        private void Execute_Alpha_Off()
                                throws M_Error

        End Alpha entry

        Throws:
        M_Error
      • Execute_Alpha_On

        private void Execute_Alpha_On()
                               throws M_Error

        Begin Alpha entry

        Throws:
        M_Error
      • Execute_Dot_1

        private void Execute_Dot_1​(short Key_Code)

        first character after MODE•

        Parameters:
        Key_Code - the key code
      • Execute_Dot_2

        private void Execute_Dot_2​(short Key_Code)

        second character after MODE•

        Parameters:
        Key_Code - the key code
      • Execute_Mode

        private void Execute_Mode​(short Key_Code,
                                  int keyboard_Mode)
                           throws M_Error

        first character after MODE

        Parameters:
        Key_Code - the key code
        Throws:
        M_Error
      • Execute_Mode_Clear

        private void Execute_Mode_Clear()
      • Execute_Mode_DefM

        private void Execute_Mode_DefM​(int keyboard_Mode)
      • Execute_Mode_Deg

        private void Execute_Mode_Deg​(int keyboard_Mode)
                               throws M_Error
        Throws:
        M_Error
      • Execute_Mode_Gra

        private void Execute_Mode_Gra​(int keyboard_Mode)
                               throws M_Error
        Throws:
        M_Error
      • Execute_Mode_Rad

        private void Execute_Mode_Rad​(int keyboard_Mode)
                               throws M_Error
        Throws:
        M_Error
      • Execute_Mode_Run

        private void Execute_Mode_Run()
      • Execute_Mode_Write

        private void Execute_Mode_Write()