Package net.sourceforge.uiq3.fx602p
Class Key_Simple
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Keyboard
-
- net.sourceforge.uiq3.fx602p.Key_Simple
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
- Direct Known Subclasses:
Key_BST_MAC
,Key_EXE
,Key_GOTO_SAVE
,Key_GSB_LOAD
,Key_HLT_PAUSE
,Key_LBL_IND
,Key_M
,Key_P
,Key_Simple_Hyp
class Key_Simple extends Keyboard
A simple key without hyperbol was clicked. A simple key is a key which can be directly mapped to two operations and two alpha characters.- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description protected short
Inv_Alpha
Invers Normal_Alpha charactersprotected short
Inv_Normal
Inverse operationprivate static Logger
Logger
Class logger instance.protected short
Normal
Normal operationsprotected short
Normal_Alpha
Normal_Alpha charactersprivate 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_Simple(Calculator Owner, short Normal, short Inv_Normal, short Normal_Alpha, short Inv_Alpha)
Create Key and attach to owner calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Execute(short Key_Code)
Execute virtual CPU command or key stroke@NotNull String
toString()
-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset
-
-
-
-
Field Detail
-
Logger
private static final Logger Logger
Class logger instance.
-
TAG
private static final String TAG
Class logger tag.
-
Inv_Alpha
protected final short Inv_Alpha
Invers Normal_Alpha characters
-
Inv_Normal
protected final short Inv_Normal
Inverse operation
-
Normal
protected final short Normal
Normal operations
-
Normal_Alpha
protected final short Normal_Alpha
Normal_Alpha characters
-
-
Constructor Detail
-
Key_Simple
Key_Simple(Calculator Owner, short Normal, short Inv_Normal, short Normal_Alpha, short Inv_Alpha)
Create Key and attach to owner calculator.- Parameters:
Owner
- Calculator owning the keyNormal
- Normal operationsInv_Normal
- Inverse operationNormal_Alpha
- Normal_Alpha charactersInv_Alpha
- Invers Normal_Alpha characters
-
-
Method Detail
-
Execute
public void Execute(short Key_Code) throws Error
Description copied from interface:IOperation
Execute virtual CPU command or key stroke
- 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)
-
toString
@NotNull public @NotNull String toString()
- Overrides:
toString
in classOwned_Operation
-
-