IPrinter

interface IPrinter : IPropertyNotifier

Printer interface

Properties

Link copied to clipboard
Default size for the print buffer
Link copied to clipboard
val PRINTOUT_PROPERTY: String = "IPrinter::printout"

Functions

Link copied to clipboard

Add a PropertyChangeListener to the listener list. The listener is registered for all properties. The same listener object may be added more than once, and will be called as many times as it is added. If {@code listener} is null, no exception is thrown and no action is taken.

Link copied to clipboard
abstract fun clearPrintout()
clear printout
Link copied to clipboard
protected open fun clone(): Any
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
@BeanProperty(bound = true, description = "The text to printed")
abstract fun getPrintout(): String
get printout for clipboard
Link copied to clipboard
abstract fun getPrintoutLength(): Int
get printout for clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
abstract fun printLine()
Print empty line
abstract fun printLine(Line: String)
abstract fun printLine(Line: Array<Short>)
Print a single line to simulated printer
Link copied to clipboard

Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties. If {@code listener} was added more than once to the same event source, it will be notified one less time after being removed. If {@code listener} is null, or was never added, no exception is thrown and no action is taken.

Link copied to clipboard
abstract fun setPrintout(Printout: String)
set the printout from saved data
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()