Menu_Fragment

abstract class Menu_Fragment<Service_Type : IService?, Activity_Type : Main_Activity<Service_Type>?, Preference_Type : SharedPreferencesHelper?> : IFragment<Service_Type, Activity_Type, Preference_Type> , IMenu_Fragment

On Android the activity also controls the main view hence the activity Implements the ICalculatorCanvas interface

Author

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

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Calculator main activity
Link copied to clipboard
protected open var Handler: Handler
A text handler to update the text field.
Link copied to clipboard
protected open var Preferences: Preference_Type
Calculator main activity
Link copied to clipboard
protected open var Service: Service_Type
calculator service
Link copied to clipboard
protected open var Service_Intend: Intent
Service running the actual calculator
Link copied to clipboard
private val TAG: String
logging tag

Functions

Link copied to clipboard
protected open fun Activity(): Activity_Type
protected open fun Activity(Activity: Activity_Type)
Calculator main activity
Link copied to clipboard
open fun asFragment(): Fragment
return this as fragment.
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
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
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
abstract fun Menu_Copy_Display()

Copy display slide in menu was clicked

Link copied to clipboard
abstract fun Menu_Copy_Printer()

Copy printout in menu was clicked

Link copied to clipboard
abstract fun Menu_Documents()

Documents slide in menu was clicked

Link copied to clipboard
abstract fun Menu_Feedback()

Feedback slide in menu was clicked

Link copied to clipboard
abstract fun Menu_Help()

Feedback slide in menu was clicked

Link copied to clipboard
abstract fun Menu_Reset()

Perform a full calculator reset

Link copied to clipboard
abstract fun Menu_Settings()

Settings slide in menu was clicked

Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun onCreate(savedInstanceState: Bundle)
Called when the activity is first created.
Link copied to clipboard
open fun onDestroy()
Calculator destroyed
Link copied to clipboard
open fun onDestroyView()
Calculator destroyed
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()