Package net.sourceforge.uiq3.fx602p
Class Op_Degree
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Op_Degree
-
- All Implemented Interfaces:
IClear,IOperation,IOwned_Operation,IProgrammable_Operation
final class Op_Degree extends Owned_Operation implements IProgrammable_Operation
Halt Calculator- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classOp_Degree.Mode_TypeDegree 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_TextTest to Dispay on Program, Print and Debug.private static LoggerLoggerClass Logger instance.private Op_Degree.Mode_TypeModeDegree 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 StringTAGClass Logger tag.private NumberValueValue of the degree compostion.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Op_Degree(@NotNull Calculator Owner)Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidClear(boolean AC)Reset state - for state full operations.@org.jetbrains.annotations.NotNull short[]Display(short Opcode)Display Operatin in Prog mode.voidExecute(short Opcode)Execute virtual CPU command or key stroke-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Field Detail
-
Display_Text
private static final short[] Display_Text
Test to Dispay 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
@NotNull private Number Value
Value of the degree compostion.
-
-
Constructor Detail
-
Op_Degree
Op_Degree(@NotNull @NotNull 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.- Specified by:
Clearin interfaceIClear- Parameters:
AC- All Clear reset- See Also:
IClear.Clear(boolean)
-
Display
@NotNull public @org.jetbrains.annotations.NotNull short[] Display(short Opcode) throws Op_ErrorDisplay Operatin in Prog mode.- Specified by:
Displayin interfaceIProgrammable_Operation- 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 ErrorDescription copied from interface:IOperationExecute virtual CPU command or key stroke
- Specified by:
Executein interfaceIOperation- Parameters:
Opcode- Virtual CPU Operation to be executed- Throws:
Error- an error happened - somewhere else.Error- See Also:
IOperation.Execute(short)
-
-