Main

class Main

Main class for an FX-602p calculator.

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Constructors

Link copied to clipboard
constructor()
init main

Properties

Link copied to clipboard
private open var calculator: Desktop_Calculator
The calculator engine with debug capability.
Link copied to clipboard
private open var canvas: Calculator_Canvas
Calculator_Canvas displaying the calculator
Link copied to clipboard
private open var frame: Calculator_Frame
Main window frame
Link copied to clipboard
private val Half_A_Second: Int = 500
Link copied to clipboard
Link copied to clipboard
private val logger: Logger
class logger instance
Link copied to clipboard
private open var self: Main
reference to protect instance from garbage collector.
Link copied to clipboard
private val TAG: String
class logger tag.

Functions

Link copied to clipboard
open fun about()
General info dialog; fed to the OSXAdapter as the method to call when "About OSXAdapter" is selected from the application menu
Link copied to clipboard
protected open fun Create_Calculator(): ICalculator
Link copied to clipboard
protected open fun createCanvas(): ICalculatorCanvas
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun initializeLAF()
To make widget classes compatible with GUI designer they must be instantiatable from there default constructor.
Link copied to clipboard
open fun isRunning(): Boolean
Link copied to clipboard
open fun loadFile(Filename: File)
load a file
Link copied to clipboard
open fun main(args: Array<String>)
main method.
Link copied to clipboard
open fun pauseApp()
Signals the MIDlet to enter the Paused state.
Link copied to clipboard
open fun preferences()
General preferences dialog; fed to the OSXAdapter as the method to call when "About OSXAdapter" is selected from the application menu
Link copied to clipboard
open fun quit(): Boolean
General quit handler; fed to the OSXAdapter as the method to call when a system quit event occurs A quit event is triggered by Cmd-Q, selecting Quit from the application or Dock menu, or logging out
Link copied to clipboard
open fun toString(): String