public class Desktop_Calculator extends SE_Calculator
Calculator.A_Type, Calculator.Display_Type, Calculator.Execution_Type, Calculator.Indicator_Type, Calculator.Keyboard_Mode, Calculator.Program_Type, Calculator.Row_Type, Calculator.Token_Plane_Type| Modifier and Type | Field and Description |
|---|---|
private static ResourceBundle |
FX_603P_Desktop
I18N strings
|
private static Logger |
logger
class logger instance
|
Observable |
Memory
An M-Register or F-Register was changed.
|
Observable |
Program
The program execution changed - which happens all the time.
|
Observable |
Register
An L-Register was changed.
|
Observable |
Status
The program status changed - which happens all the time.
|
private static String |
TAG
class logger tag.
|
NICEA_Active, Display_Enable, Display_Error, Execution_Error, FA6, FP40, Indirect, Internal_Steps_High, Internal_Steps_Low, Keyboard_Error, L_Changed, L_Count, L_Used, L_X, L_Y, Last_Operation, M_Changed, M_Count, M_n, M_Sx, M_Sx2, Merge_Key, Merged_Operations, Null_Program, Null_Return, Null_Text, Program_Stack, Realistic_Speed, Stack_Count, Status_Changed, Step_Changed, Steps_Count, User_Steps_High, User_Steps_Low| Constructor and Description |
|---|
Desktop_Calculator() |
| Modifier and Type | Method and Description |
|---|---|
Calculator.A_Type |
A_Active() |
protected void |
Execute_Mode_Run()
Handles running the calculator
|
String |
Get_A(Calculator.A_Type Nr) |
String |
Get_F(int Nr) |
String |
Get_L(int Nr) |
String |
Get_M(int Nr) |
String |
Get_Memory() |
String |
Get_P() |
String |
Get_Registers()
Get text for clipboard
|
String |
Get_Stack(int Nr)
Returns the memory step x as debug info or null for step 0xff which is the empty step.
|
protected void |
Handle_IO() |
boolean |
Indirect()
Currently indirect addressing is active
|
String |
Step_Image(int Nr)
Returns the memory step x as debug info or null for step 0xff which is the empty step.
|
String |
Steps_Image()
get all program steps for clipboard
|
void |
Store_Operation(short Operation) |
Get_Display, Save_Energy , A, BaseN, Clear, Constant_Mode, Constant_Mode, Current_Program, Current_Program, Decrement_Program_Store, Display_A, Display_Clear, Display_Error, Display_Fatal, Display_Formated, Display_Key, Display_L, Display_Message, Display_Message, Display_Mode, Display_Mode, Display_Program_Overview, Display_Program, Display_Steps, Execute_Key, Execution_Mode, Execution_Mode, FA6, Force_IO, Form, FP40, Free_Steps, Get_Alpha_Mode, Get_Merge_Token, Half_Circle, Half_Circle, Hlt_Position, Hlt_Position, Increment_Hlt_Position, Increment_Program_Counter, Increment_Program_Store, Init_A, Init_Keycodes, Init_L, Init_M, Init_MF, Init_Opcodes, Init_Program_Stack, Init_Steps, Is_Alpha_Mode, Is_Alpha, Is_BaseN_B, Is_BaseN_D, Is_BaseN_H, Is_BaseN_O, Is_BaseN, Is_End_Program, Is_HLT_Pause, Is_Mode, Is_Program_Stack_Empty, Is_Program_Stack_Full, Is_Running, Is_Shutdown, Keyboard_Mode, L, Last_Comp_Mode, Load_Status, Load, M, M, Merge_Key, Merge_Key, Merge_Token, Merged_Operations, MF, MF, Pop_L, Pop_L, Pop_Program_Stack, Program_Counter, Program_Counter, Program_Position, Program_Store, Program_Store, Push_L, Push_Program_Stack, Reset, run, Save_Status, SecondF, Service, Set_Alpha_Mode, Set_Current_Program, Set_Keyboard_Mode, Set_Keyboard_No_Shift, Set_Mode, SHIFT, Stack_Pointer, Steps_Delete, Steps, Steps, Stop_Execution, stop, Token_Plane, Token_Plane, toString, Write_Steps, Wrt_Is_Alphaprivate static final ResourceBundle FX_603P_Desktop
private static final Logger logger
class logger instance
private static final String TAG
class logger tag.
public Observable Memory
public Observable Program
public Observable Register
public Observable Status
public Calculator.A_Type A_Active()
protected void Execute_Mode_Run()
throws net.sourceforge.uiq3.calculator.engine.Error
Execute_Mode_Run in class Calculatornet.sourceforge.uiq3.calculator.engine.Error - an error occured while executingpublic String Get_A(Calculator.A_Type Nr)
Nr - Register numberpublic String Get_F(int Nr)
Nr - numberpublic String Get_L(int Nr) throws Error
Nr - numberErrorpublic String Get_M(int Nr)
Nr - numberpublic String Get_Memory()
public String Get_P()
public String Get_Registers() throws Error
Errorpublic String Get_Stack(int Nr)
Nr - step numberprotected void Handle_IO()
throws Error
Handle_IO in class CalculatorErrorpublic boolean Indirect()
public String Step_Image(int Nr)
Nr - step numberpublic String Steps_Image()
public void Store_Operation(short Operation)
throws M_Error
Store_Operation in class CalculatorM_Error - Calculator memory exhaustedCalculator.Store_Operation(short)Copyright © 2013 UIQ3 open-source software. All Rights Reserved.