Package net.sourceforge.uiq3.fx603p
Class Op_Alpha
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Owned_Operation
-
- net.sourceforge.uiq3.fx603p.Programmable_Operation
-
- net.sourceforge.uiq3.fx603p.Op_Alpha
-
- All Implemented Interfaces:
IClear,IOp_Alpha,IOperation,IOwned_Operation,IProgrammable_Operation,IProgrammable_Operation
final class Op_Alpha extends Programmable_Operation implements IOp_Alpha
Halt Calculator- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private static short[]Display_Text_1Test to Dispay on Program, Print and Debug.private static short[]Display_Text_2Test to Dispay on Program, Print and Debug.private static LoggerLoggerClass Logger instance.private @Nullable IProgrammable_OperationMerge_TokenPrevious merged token (this should be SAVE or LOADprivate static StringTAGClass Logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
Owner
-
Fields inherited from interface net.sourceforge.uiq3.fx603p.IProgrammable_Operation
No_Display
-
-
Constructor Summary
Constructors Constructor Description Op_Alpha(@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.short @NotNull []Display(short Opcode)Display operation in Prog mode.voidExecute(short Opcode)Execute virtual CPU command or key stroke-
Methods inherited from class net.sourceforge.uiq3.fx603p.Programmable_Operation
Token
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.uiq3.calculator.IOwned_Operation
µReset
-
-
-
-
Field Detail
-
Display_Text_1
private static final short[] Display_Text_1
Test to Dispay on Program, Print and Debug.
-
Display_Text_2
private static final short[] Display_Text_2
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.
-
Merge_Token
@Nullable private @Nullable IProgrammable_Operation Merge_Token
Previous merged token (this should be SAVE or LOAD
-
-
Constructor Detail
-
Op_Alpha
Op_Alpha(@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
public short @NotNull [] Display(short Opcode)
Display operation in Prog mode.- Specified by:
Displayin interfaceIProgrammable_Operation- Parameters:
Opcode- Virtual CPU Operation to be executed- Returns:
- String to be displayed
- 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- "Error" is an abstract exception class representing all possible errors the calculator can produce.Error- See Also:
IOperation.Execute(short)
-
-