Printer

abstract class Printer : Interface

Simulation of the some calculator interface.

Author

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

Inheritors

Constructors

Link copied to clipboard
protected constructor(Owner: Calculator)

Properties

Link copied to clipboard
Convert CASIO Alpha Character into Java String
Link copied to clipboard
protected open var Data: StringBuilder
Printout
Link copied to clipboard
private open var Enable: Boolean
When true the interface is enabled.
Link copied to clipboard
private val Line_Length: Int = 20
Length of an FP-10 line
Link copied to clipboard
private val Logger: Logger
private val Logger: Logger
Class logger instance.
Link copied to clipboard
New line string
Link copied to clipboard
private val Owner: Calculator
Calculator to which the interface is connected to
Link copied to clipboard
Handle property changes.
Link copied to clipboard
private val TAG: String
private val TAG: String
Class logger tag.

Functions

Link copied to clipboard
Add a PropertyChangeListener to the listener list.
open fun addPropertyChangeListener(propertyName: String, listener: PropertyChangeListener)
Add a PropertyChangeListener for a specific property.
Link copied to clipboard
open fun clearPrintout()
Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun Convert_To_Java(Alpha_Character: Short): String
open fun Convert_To_Java(Alpha_String: Array<Short>): String
Convert an CASIO String to an Java String (using the old character set)
Link copied to clipboard
fun Enable(Enable: Boolean)
A disabled interface will ignore all input and output.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun getPrintout(): String
get printout for clipboard
Link copied to clipboard
get printout for clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
A disabled interface will ignore all input and output.
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun Print_Alpha()
Print displayed alpha text to simulated printer (max 40 characters)
Link copied to clipboard
open fun Print_Display()
Print displayed register to simulated printer.
Link copied to clipboard
open fun Print_File_Name(Java_File_Name: String)
Print filename.
Link copied to clipboard
open fun Print_M(Java_File_Name: String)
Writes memory register to simulated cassette interface.
Link copied to clipboard
private open fun Print_Step_Count(Buffer: StringBuilder, Count: Int)
Print the ...xxxsteps line.
Link copied to clipboard
open fun Print_Steps(Java_File_Name: String)
Print program steps
Link copied to clipboard
open fun printLine()
Print empty line
open fun printLine(Line: String)

open fun printLine(Line: Array<Short>)
Print a single line to simulated printer
Link copied to clipboard
Remove a PropertyChangeListener from the listener list.
Remove a PropertyChangeListener for a specific property.
Link copied to clipboard
open fun setPrintout(Printout: String)
set the printout from saved data
Link copied to clipboard
open fun toString(): String
open fun toString(): String
Link copied to clipboard
fun wait()