openpss / com.hendraanggrian.openpss.ui / Controller

Controller

open class Controller : Initializable, Context

Base class of all controllers.

Constructors

<init>

Controller()

Base class of all controllers.

Properties

colorResources

open val colorResources: Properties

dimenResources

open val dimenResources: Properties

login

open lateinit var login: Employee

resourceBundle

open lateinit var resourceBundle: ResourceBundle

stack

open lateinit var stack: StackPane

Inherited Properties

currencyConverter

open val currencyConverter: StringConverter<Number>

Number decimal with currency prefix string converter.

desktop

open val desktop: Desktop?

Returns Desktop instance, may be null if it is unsupported.

numberConverter

open val numberConverter: StringConverter<Number>

Number decimal string converter.

Functions

addExtra

fun addExtra(key: String, value: Any): Controller

Register extra value with key.

getExtra

fun <T : Any> getExtra(key: String): T

Get extra registered with key, should be executed in platform thread.

initialize

open fun initialize(location: URL, resources: ResourceBundle): Unit

Inherited Functions

isAdmin

open fun isAdmin(): Boolean

Inheritors

ActionController

open class ActionController : Controller

MainController

class MainController : Controller, Refreshable

WageRecordController

class WageRecordController : Controller