Package net.sourceforge.uiq3.fx602p
Class Keyboard
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Keyboard
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
- Direct Known Subclasses:
Key_0_RND
,Key_AC
,Key_C
,Key_Dot_RAN
,Key_FST_SAC
,Key_Hyp_J
,Key_Inv
,Key_MODE_ALPHA
,Key_Simple
public abstract class Keyboard extends Owned_Operation implements IOperation, IClear
An FX-602P Key.- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description static short
AC
NormalAC (all clear)static String[]
Alpha_Text
static short
BST
NormalBST (back step) INFMAC (memory clear) INF ALPHA; (alpha append)static String
Button_Memory_F
static String
Button_Memory_n
static String
Button_Memory_sn
static String
Button_Memory_sn1
static String
Button_Memory_SX
static String
Button_Memory_SX2
static String
Button_Memory_xmean
static String
Button_Mode_DEG
static String
Button_Mode_GRA
static String
Button_Mode_PCL
static String
Button_Mode_RAD
static String
Button_Mode_RUN
static String
Button_Mode_WRT
static String
Button_RND_FIX
static short
C
NormalC<(clear)/dd>static short
cos
Normalcos INFcos⁻¹ hypcosh INV hypcosh⁻¹ ALPHASstatic short
degree
Normal°'" INF°'"← ALPHALstatic short
Divide
Normal÷ INFˣ√y ALPHA÷ INF ALPHA/static short
Dot
Normal.static short
eng
Normaleng INFeng← ALPHALstatic short
Equal
Normal= INF% ALPHA= INF ALPHA# (x recall)static short
EXE
NormalEXE (execute) INFinvEXE (INV execute) ALPHAEXE (execute) INF ALPHA(space)static short
EXP
NormalEXP (exponent) INFπ ALPHAⅇ INF ALPHAπstatic short
FST
NormalFST (forwards step) INFSAC (statistic clear) INF ALPHAar (alpha recall)static short
GOTO
NormalGOTO INFSAVE ALPHAHstatic short
GSB
NormalGSB (Go subroutine) INFLOAD ALPHAIstatic short
HLT
NormalHLT (halt) INFPAUSE ALPHAFstatic short
hyp
Normalhyp ALPHAJstatic short
INV
NormalINV (Inverse) ALPHAlower capsstatic short
LBL
NormalLBL (label) INFIND (indirect) ALPHAGstatic short
ln
Normalln INFeˣ ALPHANstatic short
log
Normallog INF10ˣ ALPHAMprivate static Logger
Logger
Class logger instance.static short
M_Minus
NormalM- (memory subtract) INF¹/x ALPHAYstatic short
M_Plus
NormalM+ (memory add) INFX!static short
Min
NormalMin (memory in) INF√ ALPHAWstatic short
Minus
Normal− (substract) INFP→R (polar to rectangle) ALPHA- INF ALPHA←static short
MODE
NormalMODE INFALPHAstatic short
MR
NormalMR (memory recall) INFx² ALPHAXstatic short
Multiply
Normal× INFxʸ ALPHA× INF ALPHA*static String
No_Text
static String[]
Normal_Text
static short
Num_0
Normal0 INFRND ALPHA0 INF ALPHA:static short
Num_1
Normal1 INFDSZ (decrement and skip zero) ALPHA1 INF ALPHA█static short
Num_2
Normal2 INFx=0 (x equals 0) ALPHA2 INF ALPHA?static short
Num_3
Normal3 INFx=F ALPHA3 INF ALPHA!static short
Num_4
Normal4 INFISZ (increment and skip on zero) ALPHA4 INF ALPHAµstatic short
Num_5
Normal5 INFx≥0 ALPHA5 INF ALPHA<static short
Num_6
Normal6 INFx≥F ALPHA6 INF ALPHA>static short
Num_7
Normal7 INFx (mean) ALPHA7 INF ALPHAstatic short
Num_8
Normal8 INFσn ALPHA8 INF ALPHA(static short
Num_9
Normal9 INFσn-1 ALPHA9 INF ALPHA)static short
P_Close
Normal) INFFRAC (fracture) ALPHAQstatic short
P_Open
Normal( INFINT (integer) ALPHAPstatic short
P0
NormalP0 (program 0) INFP5 (program 5) ALPHAAstatic short
P1
NormalP1 (program 1) INFP6 (program 6) ALPHABstatic short
P2
NormalP2 (program 2) INFP7 (program 7) ALPHADstatic short
P3
NormalP3 (program 3) INFP8 (program 8) ALPHAEstatic short
P4
NormalP4 (program 4) INFP9 (program 9) ALPHAFstatic short
Plus
Normal+ INFR→P (rectangular to polar) ALPHA+ INF ALPHA→static short
Plus_Minus
Normal± INFABS ALPHAOstatic String[]
Shift_Alpha_Text
static String[]
Shift_Text
static short
sin
Normalsin⁻¹ INFsin⁻¹ hypsinh INV hypsinh⁻¹ ALPHARprivate static String
TAG
Class logger tag.static short
tan
Normaltan INFtan⁻¹ hyptanh INV hyptanh⁻¹ ALPHATstatic short
X_M
NormalX↔︎M INFX↔︎Y ALPHAVstatic short
Xd
NormalXd INFxdel ALPHAU-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Keyboard(@NotNull Calculator Owner)
Create Key and attach to owner calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Clear(boolean All_Clear)
Clean Key - no operation as most keys are not actually state full keys which need cleaning-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.uiq3.calculator.IOperation
Execute
-
-
-
-
Field Detail
-
Logger
private static final Logger Logger
Class logger instance.
-
TAG
private static final String TAG
Class logger tag.
-
AC
public static final short AC
- Normal
- AC (all clear)
- See Also:
- Constant Field Values
-
BST
public static final short BST
- Normal
- BST (back step)
- INF
- MAC (memory clear)
- INF ALPHA
- ; (alpha append)
- See Also:
- Constant Field Values
-
C
public static final short C
- Normal
- C<(clear)/dd>
- See Also:
- Constant Field Values
-
Divide
public static final short Divide
- Normal
- ÷
- INF
- ˣ√y
- ALPHA
- ÷
- INF ALPHA
- /
- See Also:
- Constant Field Values
-
Dot
public static final short Dot
- Normal
- . (decimal point)
- INF
- RAN# (random number)
- ALPHA
- .
- INF ALPHA ,
- See Also:
- Constant Field Values
-
EXE
public static final short EXE
- Normal
- EXE (execute)
- INF
- invEXE (INV execute)
- ALPHA
- EXE (execute)
- INF ALPHA
- (space)
- See Also:
- Constant Field Values
-
EXP
public static final short EXP
- Normal
- EXP (exponent)
- INF
- π
- ALPHA
- ⅇ
- INF ALPHA
- π
- See Also:
- Constant Field Values
-
Equal
public static final short Equal
- Normal
- =
- INF
- %
- ALPHA
- =
- INF ALPHA
- # (x recall)
- See Also:
- Constant Field Values
-
FST
public static final short FST
- Normal
- FST (forwards step)
- INF
- SAC (statistic clear)
- INF ALPHA
- ar (alpha recall)
- See Also:
- Constant Field Values
-
GOTO
public static final short GOTO
- Normal
- GOTO
- INF
- SAVE
- ALPHA
- H
- See Also:
- Constant Field Values
-
GSB
public static final short GSB
- Normal
- GSB (Go subroutine)
- INF
- LOAD
- ALPHA
- I
- See Also:
- Constant Field Values
-
HLT
public static final short HLT
- Normal
- HLT (halt)
- INF
- PAUSE
- ALPHA
- F
- See Also:
- Constant Field Values
-
INV
public static final short INV
- Normal
- INV (Inverse)
- ALPHA
- lower caps
- See Also:
- Constant Field Values
-
LBL
public static final short LBL
- Normal
- LBL (label)
- INF
- IND (indirect)
- ALPHA
- G
- See Also:
- Constant Field Values
-
MODE
public static final short MODE
- Normal
- MODE
- INF
- ALPHA
- See Also:
- Constant Field Values
-
MR
public static final short MR
- Normal
- MR (memory recall)
- INF
- x²
- ALPHA
- X
- See Also:
- Constant Field Values
-
M_Minus
public static final short M_Minus
- Normal
- M- (memory subtract)
- INF
- ¹/x
- ALPHA
- Y
- See Also:
- Constant Field Values
-
M_Plus
public static final short M_Plus
- Normal
- M+ (memory add)
- INF
- X!
- ALPHA
- Z
- See Also:
- Constant Field Values
-
Min
public static final short Min
- Normal
- Min (memory in)
- INF
- √
- ALPHA
- W
- See Also:
- Constant Field Values
-
Minus
public static final short Minus
- Normal
- − (substract)
- INF
- P→R (polar to rectangle)
- ALPHA
- -
- INF ALPHA
- ←
- See Also:
- Constant Field Values
-
Multiply
public static final short Multiply
- Normal
- ×
- INF
- xʸ
- ALPHA
- ×
- INF ALPHA
- *
- See Also:
- Constant Field Values
-
Num_0
public static final short Num_0
- Normal
- 0
- INF
- RND
- ALPHA
- 0
- INF ALPHA
- :
- See Also:
- Constant Field Values
-
Num_1
public static final short Num_1
- Normal
- 1
- INF
- DSZ (decrement and skip zero)
- ALPHA
- 1
- INF ALPHA
- █
- See Also:
- Constant Field Values
-
Num_2
public static final short Num_2
- Normal
- 2
- INF
- x=0 (x equals 0)
- ALPHA
- 2
- INF ALPHA
- ?
- See Also:
- Constant Field Values
-
Num_3
public static final short Num_3
- Normal
- 3
- INF
- x=F
- ALPHA
- 3
- INF ALPHA
- !
- See Also:
- Constant Field Values
-
Num_4
public static final short Num_4
- Normal
- 4
- INF
- ISZ (increment and skip on zero)
- ALPHA
- 4
- INF ALPHA
- µ
- See Also:
- Constant Field Values
-
Num_5
public static final short Num_5
- Normal
- 5
- INF
- x≥0
- ALPHA
- 5
- INF ALPHA
- <
- See Also:
- Constant Field Values
-
Num_6
public static final short Num_6
- Normal
- 6
- INF
- x≥F
- ALPHA
- 6
- INF ALPHA
- >
- See Also:
- Constant Field Values
-
Num_7
public static final short Num_7
- Normal
- 7
- INF
- x (mean)
- ALPHA
- 7
- INF ALPHA
- See Also:
- Constant Field Values
-
Num_8
public static final short Num_8
- Normal
- 8
- INF
- σn
- ALPHA
- 8
- INF ALPHA
- (
- See Also:
- Constant Field Values
-
Num_9
public static final short Num_9
- Normal
- 9
- INF
- σn-1
- ALPHA
- 9
- INF ALPHA
- )
- See Also:
- Constant Field Values
-
P0
public static final short P0
- Normal
- P0 (program 0)
- INF
- P5 (program 5)
- ALPHA
- A
- See Also:
- Constant Field Values
-
P1
public static final short P1
- Normal
- P1 (program 1)
- INF
- P6 (program 6)
- ALPHA
- B
- See Also:
- Constant Field Values
-
P2
public static final short P2
- Normal
- P2 (program 2)
- INF
- P7 (program 7)
- ALPHA
- D
- See Also:
- Constant Field Values
-
P3
public static final short P3
- Normal
- P3 (program 3)
- INF
- P8 (program 8)
- ALPHA
- E
- See Also:
- Constant Field Values
-
P4
public static final short P4
- Normal
- P4 (program 4)
- INF
- P9 (program 9)
- ALPHA
- F
- See Also:
- Constant Field Values
-
P_Close
public static final short P_Close
- Normal
- )
- INF
- FRAC (fracture)
- ALPHA
- Q
- See Also:
- Constant Field Values
-
P_Open
public static final short P_Open
- Normal
- (
- INF
- INT (integer)
- ALPHA
- P
- See Also:
- Constant Field Values
-
Plus
public static final short Plus
- Normal
- +
- INF
- R→P (rectangular to polar)
- ALPHA
- +
- INF ALPHA
- →
- See Also:
- Constant Field Values
-
Plus_Minus
public static final short Plus_Minus
- Normal
- ±
- INF
- ABS
- ALPHA
- O
- See Also:
- Constant Field Values
-
X_M
public static final short X_M
- Normal
- X↔︎M
- INF
- X↔︎Y
- ALPHA
- V
- See Also:
- Constant Field Values
-
Xd
public static final short Xd
- Normal
- Xd
- INF
- xdel
- ALPHA
- U
- See Also:
- Constant Field Values
-
cos
public static final short cos
- Normal
- cos
- INF
- cos⁻¹
- hyp
- cosh
- INV hyp
- cosh⁻¹
- ALPHA
- S
- See Also:
- Constant Field Values
-
degree
public static final short degree
- Normal
- °'"
- INF
- °'"←
- ALPHA
- L
- See Also:
- Constant Field Values
-
eng
public static final short eng
- Normal
- eng
- INF
- eng←
- ALPHA
- L
- See Also:
- Constant Field Values
-
hyp
public static final short hyp
- Normal
- hyp
- ALPHA
- J
- See Also:
- Constant Field Values
-
ln
public static final short ln
- Normal
- ln
- INF
- eˣ
- ALPHA
- N
- See Also:
- Constant Field Values
-
log
public static final short log
- Normal
- log
- INF
- 10ˣ
- ALPHA
- M
- See Also:
- Constant Field Values
-
sin
public static final short sin
- Normal
- sin⁻¹
- INF
- sin⁻¹
- hyp
- sinh
- INV hyp
- sinh⁻¹
- ALPHA
- R
- See Also:
- Constant Field Values
-
tan
public static final short tan
- Normal
- tan
- INF
- tan⁻¹
- hyp
- tanh
- INV hyp
- tanh⁻¹
- ALPHA
- T
- See Also:
- Constant Field Values
-
No_Text
public static final String No_Text
-
Alpha_Text
public static final String[] Alpha_Text
-
Normal_Text
public static final String[] Normal_Text
-
Shift_Alpha_Text
public static final String[] Shift_Alpha_Text
-
Shift_Text
public static final String[] Shift_Text
-
Button_Memory_F
public static final String Button_Memory_F
-
Button_Memory_n
public static final String Button_Memory_n
-
Button_Memory_sn1
public static final String Button_Memory_sn1
-
Button_Memory_sn
public static final String Button_Memory_sn
-
Button_Memory_SX2
public static final String Button_Memory_SX2
-
Button_Memory_SX
public static final String Button_Memory_SX
-
Button_Memory_xmean
public static final String Button_Memory_xmean
-
Button_Mode_DEG
public static final String Button_Mode_DEG
-
Button_Mode_GRA
public static final String Button_Mode_GRA
-
Button_Mode_PCL
public static final String Button_Mode_PCL
-
Button_Mode_RAD
public static final String Button_Mode_RAD
-
Button_Mode_RUN
public static final String Button_Mode_RUN
-
Button_Mode_WRT
public static final String Button_Mode_WRT
-
Button_RND_FIX
public static final String Button_RND_FIX
-
-
Constructor Detail
-
Keyboard
Keyboard(@NotNull @NotNull Calculator Owner)
Create Key and attach to owner calculator.- Parameters:
Owner
- Calculator owning the key
-
-
Method Detail
-
Clear
public void Clear(boolean All_Clear)
Clean Key - no operation as most keys are not actually state full keys which need cleaning- Specified by:
Clear
in interfaceIClear
- Parameters:
All_Clear
- true when AC (all clear) is requested.- See Also:
IClear.Clear(boolean)
-
-