Class Key_C

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

    final class Key_C
    extends Keyboard
    The Clear key was clicked
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • Mode_Error

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

        private static final short[] P_Text
        Text to be displayed when Mode was selected.
      • TAG

        private static final String TAG

        Class logger tag.

      • Status

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

      • Key_C

        Key_C​(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 Op_Error
        Throws:
        Op_Error
        See Also:
        IOperation.Execute(short)
      • Execute_None

        private void Execute_None​(int Program_Store)
      • Execute_Prog

        private void Execute_Prog​(short Key_Code,
                                  int program_Store)
      • Remove_Step

        private void Remove_Step​(int Step)

        remove step

        Parameters:
        Step - step to remove