Package net.sourceforge.uiq3.fx603p
Class Key_Simple_BaseN
- 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_BaseN
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
- Direct Known Subclasses:
Key_Hyp_C
,Key_Simple_Hyp
class Key_Simple_BaseN extends Key_Simple
A simple key with hyperbol was clicked. A simple key is a key which can be directly mapped to four operations and two alpha characters.- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private short
BaseN
Hyperbol operationprivate static Logger
logger
class logger instanceprivate short
Shift_BaseN
Invers Hyperbol operationprivate 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_Simple_BaseN(Calculator Owner, short Normal, short Shift, short BaseN, short Shift_BaseN, 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()
Operation as java string-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset
-
-
-
-
Constructor Detail
-
Key_Simple_BaseN
Key_Simple_BaseN(Calculator Owner, short Normal, short Shift, short BaseN, short Shift_BaseN, short Normal_Alpha, short Inv_Alpha)
Create Key and attach to owner calculator.- Parameters:
Owner
- Calculator owning the keyNormal
- Normal operationsShift
- Inverse operationBaseN
- BaseN operationsShift_BaseN
- Shifted BaseN operationNormal_Alpha
- Normal_Alpha charactersInv_Alpha
- Inverse 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
- Specified by:
Execute
in interfaceIOperation
- Overrides:
Execute
in classKey_Simple
- Parameters:
Key_Code
- Virtual CPU Operation to be executed- Throws:
Error
- some calculator errorError
- See Also:
IOperation.Execute(short)
-
toString
@NotNull public @NotNull String toString()
Description copied from class:Owned_Operation
Operation as java string- Overrides:
toString
in classKey_Simple
- Returns:
- String representation
-
-