openpss / com.hendraanggrian.openpss.content / Context

Context

interface Context : Resources

Usually being passed around as first constructor of many components.

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.

login

abstract val login: Employee

numberConverter

open val numberConverter: StringConverter<Number>

Number decimal string converter.

stack

abstract val stack: StackPane

Inherited Properties

colorResources

abstract val colorResources: Properties

dimenResources

abstract val dimenResources: Properties

language

open val language: Language

resourceBundle

abstract val resourceBundle: ResourceBundle

Functions

isAdmin

open fun isAdmin(): Boolean

Inherited Functions

getColor

open fun getColor(id: String): Color

getDouble

open fun getDouble(id: String): Double

getProperties

open fun getProperties(propertiesId: String): Properties

getString

open fun getString(id: String): String
open fun getString(id: String, vararg args: Any): String

Inheritors

AboutDialog

class AboutDialog : Dialog<Unit>, Context

The only dialog not using com.hendraanggrian.openpss.popup.dialog.Dialog. This is because it uses native dialog's expandable content.

Action

abstract class Action<T> : Context

AttendeePane

class AttendeePane : _TitledPane, Context

Controller

open class Controller : Initializable, Context

Base class of all controllers.

Dialog

open class Dialog : JFXDialog, Popup, Context

LoginPane

class LoginPane : _StackPane, Context

Popover

open class Popover : PopOver, Popup, Context

Base popup class used across applications.

Popup

interface Popup : Context, NodeInvokable