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
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 = 40
Length of an FP-40 line
Link copied to clipboard
private val Logger: Logger
Class logger instance.
Link copied to clipboard
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
Characters which are not ASCII and can be used in Alpha strings.
Link copied to clipboard
Token used for non ASCII characters.
Link copied to clipboard
private val TAG: String
Class logger tag.
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_Alpha(Token_Text: String): Array<Short>
Link copied to clipboard
open fun Convert_To_Java(Alpha_String: Array<Int>): String
open fun Convert_To_Java(Alpha: Short): String
open fun Convert_To_Java(Alpha_String: Array<Short>): String
Link copied to clipboard
open fun Convert_To_Token(Alpha: Short): String
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
fun Set_Enable(Enable: Boolean)
A disabled interface will ignore all input and output.
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()