Calculator_Canvas

Author

martin

Constructors

Link copied to clipboard
constructor()
Creates new form Calculator_Canvas
constructor(owner: IFrame)
Creates new form Calculator_Canvas

Types

Link copied to clipboard
private open class Button_Listener : ActionListener
Listener to listen for button actuion events.

Properties

Link copied to clipboard
private val Alpha_Text: Array<Array<Short>>
Text to be displayed on the calculator display.
Link copied to clipboard
Link copied to clipboard
open var Button_a_b_c: Calculator_Button_5
Link copied to clipboard
open var Button_AC: Calculator_Button_5
Link copied to clipboard
open var Button_ALPHA: Calculator_Button_5
Link copied to clipboard
open var Button_BST: Calculator_Button_5
Link copied to clipboard
open var Button_C: Calculator_Button_5
Link copied to clipboard
open var Button_cos: Calculator_Button_5
Link copied to clipboard
open var Button_degree: Calculator_Button_5
Link copied to clipboard
open var Button_Divide: Calculator_Button_5
Link copied to clipboard
open var Button_Dot: Calculator_Button_5
Link copied to clipboard
open var Button_eng: Calculator_Button_5
Link copied to clipboard
open var Button_Equal: Calculator_Button_5
Link copied to clipboard
open var Button_EXE: Calculator_Button_5
Link copied to clipboard
open var Button_EXP: Calculator_Button_5
Link copied to clipboard
open var Button_FST: Calculator_Button_5
Link copied to clipboard
open var Button_GOTO: Calculator_Button_5
Link copied to clipboard
open var Button_GSB: Calculator_Button_5
Link copied to clipboard
open var Button_HLT: Calculator_Button_5
Link copied to clipboard
open var Button_hyp: Calculator_Button_5
Link copied to clipboard
open var Button_LBL: Calculator_Button_5
Link copied to clipboard
open var Button_ln: Calculator_Button_5
Link copied to clipboard
open var Button_log: Calculator_Button_5
Link copied to clipboard
open var Button_M_Minus: Calculator_Button_5
Link copied to clipboard
open var Button_M_Plus: Calculator_Button_5
Link copied to clipboard
open var Button_Min: Calculator_Button_5
Link copied to clipboard
open var Button_Minus: Calculator_Button_5
Link copied to clipboard
open var Button_MODE: Calculator_Button_5
Link copied to clipboard
open var Button_MR: Calculator_Button_5
Link copied to clipboard
open var Button_Multiply: Calculator_Button_5
Link copied to clipboard
open var Button_Num_0: Calculator_Button_5
Link copied to clipboard
open var Button_Num_1: Calculator_Button_5
Link copied to clipboard
open var Button_Num_2: Calculator_Button_5
Link copied to clipboard
open var Button_Num_3: Calculator_Button_5
Link copied to clipboard
open var Button_Num_4: Calculator_Button_5
Link copied to clipboard
open var Button_Num_5: Calculator_Button_5
Link copied to clipboard
open var Button_Num_6: Calculator_Button_5
Link copied to clipboard
open var Button_Num_7: Calculator_Button_5
Link copied to clipboard
open var Button_Num_8: Calculator_Button_5
Link copied to clipboard
open var Button_Num_9: Calculator_Button_5
Link copied to clipboard
open var Button_P0: Calculator_Button_5
Link copied to clipboard
open var Button_P1: Calculator_Button_5
Link copied to clipboard
open var Button_P1_: Calculator_Button_5
Link copied to clipboard
open var Button_P2: Calculator_Button_5
Link copied to clipboard
open var Button_P3: Calculator_Button_5
Link copied to clipboard
open var Button_P4: Calculator_Button_5
Link copied to clipboard
open var Button_P_Close: Calculator_Button_5
Link copied to clipboard
open var Button_P_Open: Calculator_Button_5
Link copied to clipboard
open var Button_Plus: Calculator_Button_5
Link copied to clipboard
open var Button_Plus_Minus: Calculator_Button_5
Link copied to clipboard
open var Button_SecondF: Calculator_Button_5
Link copied to clipboard
open var Button_SHIFT: Calculator_Button_5
Link copied to clipboard
open var Button_sin: Calculator_Button_5
Link copied to clipboard
open var Button_tan: Calculator_Button_5
Link copied to clipboard
open var Button_X_M: Calculator_Button_5
Link copied to clipboard
open var Button_Xd: Calculator_Button_5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private val Indicators: Array<Boolean>
Indicators:
  1. Inv
  2. Hyp
  3. K
  4. Hlt
  5. Run
  6. Wrt
  7. Pcl
  8. Deg
  9. Rad
  10. Gra
  11. Keyboard_Alpha
Link copied to clipboard
open var jPanel1: JPanel
Link copied to clipboard
open var jPanel2: JPanel
Link copied to clipboard
private val logger: Logger
class logger instance
Link copied to clipboard
private val Off_Colour: Color
The Indicator images for inactivel indicators.
Link copied to clipboard
private val On_Colour: Color
The Indicator images for active indicators.
Link copied to clipboard
private val owner: IFrame
Link copied to clipboard
private val SCALE_HEIGHT: Double = 11.8
Link copied to clipboard
private val SCALE_WIDTH: Double = 5.3
Link copied to clipboard
private val serialVersionUID: Long = 1005672275186071737
Link copied to clipboard
open var Step_0_Image: JLabel
Link copied to clipboard
open var Step_1_Image: JLabel
Link copied to clipboard
open var Step_2_Image: JLabel
Link copied to clipboard
open var Step_3_Image: JLabel
Link copied to clipboard
private val TAG: String
class logger tag.
Link copied to clipboard
Listener to listen for button action events.
Link copied to clipboard

Functions

Link copied to clipboard
open fun displayException(Exception: Throwable)
display additional information on the error.
Link copied to clipboard
private open fun getCharacter(Alpha_Code: Short): Icon
get the characters image to display.
Link copied to clipboard
open fun getDisplayText(Row: Int): Array<Short>
Get text currently displayed (as one java string).
Link copied to clipboard
Link copied to clipboard
open fun getJavaText(Row: Int): String
Link copied to clipboard
private open fun initComponents()
This method is called from within the constructor to initialize the form.
Link copied to clipboard
private open fun initPost()
I had used lazy loading before but frequently there were load interrupted errors with images only loaded partially.
Link copied to clipboard
private open fun initPre()
Link copied to clipboard
open fun setDisplayText(Row: Int, Text: Array<Short>)
Set text to be displayed (calculator alpha codes).
Link copied to clipboard
private open fun setIndicator(Indicator_Panel: JLabel, Indicator_Nr: Int, Active: Boolean)
set the indicator image.
Link copied to clipboard
private open fun setIndicatorFonts()
Link copied to clipboard
open fun setIndicators(Indicators: Array<Boolean>)
Set the indicators
  1. Inv
  2. Hyp
  3. K
  4. Hlt
  5. Run
  6. Wrt
  7. Pcl
  8. Deg
  9. Rad
  10. Gra
  11. Keyboard_Alpha
Link copied to clipboard
open fun setOnOff(on: Boolean)
set the calculators on of status.
Link copied to clipboard
open fun toString(): String