Printer_Fragment

abstract class Printer_Fragment<Service_Type : IService?, Activity_Type : Main_Activity<Service_Type>?, Preference_Type : SharedPreferencesHelper?> : IFragment<Service_Type, Activity_Type, Preference_Type> , IPrinter_Fragment

the printer fragment

Author

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

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
protected open var Activity: Activity_Type
Calculator main activity
Link copied to clipboard
val Half_Line: Double = 0.5
Needet for the scoll to end functiins
Link copied to clipboard
val New_Line: String = " "
new lines for printouts.
Link copied to clipboard
protected open var Old_Printout: String
currently displayed text
Link copied to clipboard
protected open var Preferences: Preference_Type
Calculator main activity
Link copied to clipboard
val Printout_Bundle_Key: String = "Printout"
Store printout in save bundle
Link copied to clipboard
protected open var Service: Service_Type
calculator service
Link copied to clipboard
private val TAG: String
logging tag

Functions

Link copied to clipboard
open fun asFragment(): Fragment
Returns the instance as a Fragment (saves you an instanceOf check and cast)
Link copied to clipboard
open fun bindActivity(Activity: Activity_Type)
Bind or unbind the calculator activity
Link copied to clipboard
open fun bindPreferences(Preferences: Preference_Type)
Bind or unbind the calculator preferences
Link copied to clipboard
open fun bindService(Service: Service_Type)
Bind or unbind the calculator service
Link copied to clipboard
abstract fun buttonClearClick()
the clear printout button was clicked
Link copied to clipboard
abstract fun buttonFeedClick()
he form feed button was clicked
Link copied to clipboard
abstract fun buttonPrintClick()
the SAVE EXE button was clicked
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
open fun getPrintout(): String
Text currently displayed
Link copied to clipboard
abstract fun getTag(): String
Get the tag name of the fragment, if specified.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun onActivityCreated(savedInstanceState: Bundle)
init widgets
Link copied to clipboard
open fun onCreate(savedInstanceState: Bundle)
Called when the activity is first created.
Link copied to clipboard
open fun onSaveInstanceState(outState: Bundle)
Called to ask the fragment to save its current dynamic state, so it can later be reconstructed in a new instance of its process is restarted.
Link copied to clipboard
open fun setPrintout(Text: String)
Set text to be displayed (java string).
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()