Class Op_Degree

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  Op_Degree.Mode_Type
      Degree Entry mode Keyboard_Normal Degree entry has not started. Mode_Minutes Hours has have been entered, minutes next. Mode_Second Minutes have been entered, seconds next.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static short[] Display_Text
      Text to Display on Program, Print and Debug.
      private static Logger Logger
      class Logger instance
      private Op_Degree.Mode_Type Mode
      Degree Entry mode Keyboard_Normal Degree entry has not started. Mode_Minutes Hours has have been entered, minutes next. Mode_Second Minutes have been entered, seconds next.
      private static String TAG
      class Logger tag.
      private Number Value
      Value of the degree composition.
    • Constructor Summary

      Constructors 
      Constructor Description
      Op_Degree​(Calculator Owner)
      Create operation and attach to owning calculator.
    • Field Detail

      • Display_Text

        private static final short[] Display_Text
        Text to Display on Program, Print and Debug.
      • Logger

        private static final Logger Logger

        class Logger instance

      • TAG

        private static final String TAG

        class Logger tag.

      • Mode

        private Op_Degree.Mode_Type Mode
        Degree Entry mode
        Keyboard_Normal
        Degree entry has not started.
        Mode_Minutes
        Hours has have been entered, minutes next.
        Mode_Second
        Minutes have been entered, seconds next.
      • Value

        private Number Value
        Value of the degree composition.
    • Constructor Detail

      • Op_Degree

        Op_Degree​(Calculator Owner)
        Create operation and attach to owning calculator.
        Parameters:
        Owner - Calculator which will call this Opcode
    • Method Detail

      • Clear

        public void Clear​(boolean AC)
        Reset state - for state full operations.
        Parameters:
        AC - All Clear reset
        See Also:
        IClear.Clear(boolean)
      • Display

        @NotNull
        public @org.jetbrains.annotations.NotNull short[] Display​(short Opcode)
                                                           throws Op_Error
        Display Operatin in Prog mode.
        Parameters:
        Opcode - Virtual CPU Operation to be executed
        Returns:
        String to be displayed
        Throws:
        Op_Error
        See Also:
        IProgrammable_Operation.Display(short)
      • Execute

        public void Execute​(short Opcode)
                     throws Error
        Description copied from interface: IOperation

        Execute virtual CPU command or key stroke

        Parameters:
        Opcode - Virtual CPU Operation to be executed
        Throws:
        Error - an error happened - somewhere else.
        Error
        See Also:
        IOperation.Execute(short)