Package net.sourceforge.uiq3.fx602p
Class Key_GOTO_SAVE
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Keyboard
-
- net.sourceforge.uiq3.fx602p.Key_Simple
-
- net.sourceforge.uiq3.fx602p.Key_GOTO_SAVE
-
- All Implemented Interfaces:
IClear,IOperation,IOwned_Operation
final class Key_GOTO_SAVE extends Key_Simple
The Mode key was clicked- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classKey_GOTO_SAVE.Status_Typeoperation status
-
Field Summary
Fields Modifier and Type Field Description private net.sourceforge.uiq3.calculator.ICalculator.AlphaRegisterTypeBackup_A_Activebackup active A register to restore display after key was entered.private net.sourceforge.uiq3.calculator.ICalculator.DisplayTypeBackup_Display_Modebackup display mode to restore display after key was entered.private static short[]Goto_TextText to be displayed when Mode was selected.private static LoggerLoggerClass logger instance.private Key_GOTO_SAVE.Status_TypeStatusWe start with status none.private static StringTAGClass logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Key_Simple
Inv_Alpha, Inv_Normal, Normal, Normal_Alpha
-
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_GOTO_SAVE(Calculator Owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidClear(boolean All_Clear)Clean Key state.voidExecute(short Key_Code)Compose Goto from two key strokes-
Methods inherited from class net.sourceforge.uiq3.fx602p.Key_Simple
toString
-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset
-
-
-
-
Field Detail
-
Goto_Text
private static final short[] Goto_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_GOTO_SAVE.Status_Type Status
We start with status none.
-
-
Constructor Detail
-
Key_GOTO_SAVE
Key_GOTO_SAVE(Calculator Owner)
- Parameters:
Owner- Calculator owning the key
-
-
Method Detail
-
Clear
public void Clear(boolean All_Clear)
Clean Key state.- Specified by:
Clearin interfaceIClear- Overrides:
Clearin classKeyboard- Parameters:
All_Clear- true when AC (all clear) is requested.- See Also:
IClear.Clear(boolean)
-
Execute
public void Execute(short Key_Code) throws ErrorCompose Goto from two key strokes- Specified by:
Executein interfaceIOperation- Overrides:
Executein classKey_Simple- Parameters:
Key_Code- 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)
-
-