Package net.sourceforge.uiq3.fx602p
Class Key_FST_SAC
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Keyboard
-
- net.sourceforge.uiq3.fx602p.Key_FST_SAC
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
final class Key_FST_SAC extends Keyboard
Forward Step- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Key_FST_SAC.Status_Type
-
Field Summary
Fields Modifier and Type Field Description private static Logger
Logger
Class logger instance.private static int
Memory_Block_1
private static int
Memory_Block_2
private static int
Memory_Block_2nd_Half_Offset
private static int
Memory_Block_3
private static int
Memory_Block_4
private int
Memory_Register
current dot valueprivate @org.jetbrains.annotations.NotNull short[]
Memory_Text
Text to be displayed when Mode. was selected.(package private) static String
Mode_Error
Error Message displayed on using the wrong alpha mode!private @NotNull Key_FST_SAC.Status_Type
Status
We start with status none.private static String
TAG
Class logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Keyboard
AC, Alpha_Text, BST, Button_Memory_F, Button_Memory_n, Button_Memory_sn, Button_Memory_sn1, Button_Memory_SX, Button_Memory_SX2, Button_Memory_xmean, Button_Mode_DEG, Button_Mode_GRA, Button_Mode_PCL, Button_Mode_RAD, Button_Mode_RUN, Button_Mode_WRT, Button_RND_FIX, C, cos, degree, Divide, Dot, eng, Equal, EXE, EXP, FST, GOTO, GSB, HLT, hyp, INV, LBL, ln, log, M_Minus, M_Plus, Min, Minus, MODE, MR, Multiply, No_Text, Normal_Text, Num_0, Num_1, Num_2, Num_3, Num_4, Num_5, Num_6, Num_7, Num_8, Num_9, P_Close, P_Open, P0, P1, P2, P3, P4, Plus, Plus_Minus, Shift_Alpha_Text, Shift_Text, sin, tan, X_M, Xd
-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Key_FST_SAC(Calculator Owner)
Create Key and attach to owner calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Clear(boolean All_Clear)
Clean Key state.void
Execute(short Key_Code)
Execute virtual CPU command or key strokeprivate void
Execute_AR()
private void
Execute_Write()
Execute in write mode.private void
Execution_Halt()
private void
Status_AR_Digit_1(short Key_Code)
private void
Status_AR_Digit_2(short Key_Code)
private void
Store_Operation(boolean F_Register)
Store M operations-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Field Detail
-
Logger
private static final Logger Logger
Class logger instance.
-
Memory_Block_1
private static final int Memory_Block_1
- See Also:
- Constant Field Values
-
Memory_Block_2
private static final int Memory_Block_2
- See Also:
- Constant Field Values
-
Memory_Block_2nd_Half_Offset
private static final int Memory_Block_2nd_Half_Offset
- See Also:
- Constant Field Values
-
Memory_Block_3
private static final int Memory_Block_3
- See Also:
- Constant Field Values
-
Memory_Block_4
private static final int Memory_Block_4
- See Also:
- Constant Field Values
-
TAG
private static final String TAG
Class logger tag.
-
Mode_Error
static final String Mode_Error
Error Message displayed on using the wrong alpha mode!- See Also:
- Constant Field Values
-
Memory_Text
@NotNull private final @org.jetbrains.annotations.NotNull short[] Memory_Text
Text to be displayed when Mode. was selected.
-
Memory_Register
private int Memory_Register
current dot value
-
Status
@NotNull private @NotNull Key_FST_SAC.Status_Type Status
We start with status none.
-
-
Constructor Detail
-
Key_FST_SAC
Key_FST_SAC(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 interfaceIClear
- Overrides:
Clear
in classKeyboard
- Parameters:
All_Clear
- true when AC (all clear) is requested.- See Also:
IClear.Clear(boolean)
-
Execute
public void Execute(short Key_Code) throws M_Error, Op_Error
Description copied from interface:IOperation
Execute virtual CPU command or key stroke
- Parameters:
Key_Code
- Virtual CPU Operation to be executed- Throws:
M_Error
- Calculator memory exhaustedOp_Error
- See Also:
IOperation.Execute(short)
-
Execute_AR
private void Execute_AR()
-
Execute_Write
private void Execute_Write()
Execute in write mode.
-
Execution_Halt
private void Execution_Halt()
-
-