Package net.sourceforge.uiq3.fx603p
Class Key_GSB_LOAD_PEEK
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Owned_Operation
-
- net.sourceforge.uiq3.fx603p.Keyboard
-
- net.sourceforge.uiq3.fx603p.Key_Simple
-
- net.sourceforge.uiq3.fx603p.Key_Simple_2nd
-
- net.sourceforge.uiq3.fx603p.Key_GSB_LOAD_PEEK
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
final class Key_GSB_LOAD_PEEK extends Key_Simple_2nd
The Mode key was clicked- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Key_GSB_LOAD_PEEK.Status_Type
-
Field Summary
Fields Modifier and Type Field Description private net.sourceforge.uiq3.calculator.ICalculator.AlphaRegisterType
Backup_A_Active
backup active A register to restore display after key was entered.private net.sourceforge.uiq3.calculator.ICalculator.DisplayType
Backup_Display_Mode
backup display mode to restore display after key was entered.private static short[]
Gsb_Text
Text to be displayed when Mode was selected.private static short[]
GsbP1_Text
Text to be displayed when Mode was selected.private static Logger
Logger
Class logger instance.private Key_GSB_LOAD_PEEK.Status_Type
Status
We start with status none.private static String
TAG
Class logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx603p.Key_Simple
Inv_Alpha, Inv_Normal, Normal, Normal_Alpha
-
Fields inherited from class net.sourceforge.uiq3.fx603p.Keyboard
a_b_c, AC, ALPHA, Alpha_Text, Base_N_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_BaseN, Button_Mode_COMP, Button_Mode_DEG, Button_Mode_GRA, Button_Mode_IO, 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, LBL, ln, log, M_Minus, M_Plus, Min, Minus, MODE, Mode_Text, MR, Multiply, 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, P1_, P2, P3, P4, Plus, Plus_Minus, SecondF, SecondF_Text, SHIFT, Shift_Alpha_Text, Shift_Base_N_Text, Shift_Text, sin, tan, X_M, Xd
-
Fields inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Key_GSB_LOAD_PEEK(Calculator Owner)
-
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 strokevoid
Execute_Digit(short Key_Code)
Execute the Digit after the P_ keyprivate void
Execute_Indirect()
private void
Execute_Pn(short Key_Code)
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Key_Simple_2nd
toString
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset
-
-
-
-
Field Detail
-
GsbP1_Text
private static final short[] GsbP1_Text
Text to be displayed when Mode was selected.
-
Gsb_Text
private static final short[] Gsb_Text
Text to be displayed when Mode was selected.
-
Logger
private static final Logger Logger
Class logger instance.
-
TAG
private static final String TAG
Class logger tag.
-
Backup_A_Active
private net.sourceforge.uiq3.calculator.ICalculator.AlphaRegisterType Backup_A_Active
backup active A register to restore display after key was entered.
-
Backup_Display_Mode
private net.sourceforge.uiq3.calculator.ICalculator.DisplayType Backup_Display_Mode
backup display mode to restore display after key was entered.
-
Status
private Key_GSB_LOAD_PEEK.Status_Type Status
We start with status none.
-
-
Constructor Detail
-
Key_GSB_LOAD_PEEK
Key_GSB_LOAD_PEEK(Calculator Owner)
- 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
- make no difference- See Also:
IClear.Clear(boolean)
-
Execute
public void Execute(short Key_Code) throws Error
Description copied from interface:IOperation
Execute virtual CPU command or key stroke
- Specified by:
Execute
in interfaceIOperation
- Overrides:
Execute
in classKey_Simple_2nd
- Parameters:
Key_Code
- Virtual CPU Operation to be executed- Throws:
Error
- some errorError
- See Also:
IOperation.Execute(short)
-
Execute_Digit
public void Execute_Digit(short Key_Code) throws Error
Execute the Digit after the P_ key
- Throws:
Error
-
-