viewtify

viewtify.ui

View

IDSeparatorString

The human-readable ID separator.

View()

Use class name as view name.

declareUI()ViewDSL

ViewDSL

Declare user interface.

initialize()void

Initialize View.

name()String

String

Compute human-readable name for this view. Default is simple class name.

id()String

String

Compute computer-awarable identifier for this view.

title()kiss.VariableString

kiss.VariableString

The title of this View.

icon()String

String

The icon of this View.

ui()Node

Node

findRootView()View

View

The root view.

Returns the root View.

findAncestorView(ClassVviewType)kiss.VariableV

VView
ClassVviewType
kiss.VariableV

The typed View.

Returns the nearest ancestor typed View.

findAncestorView(PredicateViewcondition)kiss.VariableView

PredicateViewcondition

A condition to match.

kiss.VariableView

A found View.

Finds the nearest ancestor view that meets the specified criteria.

findUI(ClassTtype)kiss.SignalT

T
ClassTtype
kiss.SignalT

Finds all declared UI by the specified type.

screen()javafx.stage.Screen

javafx.stage.Screen

The Screen which this View is displayed.

Returns the Screen which this View is displayed.

stage()kiss.Variablejavafx.stage.Stage

kiss.Variablejavafx.stage.Stage

Find Stage of this View.

centerize(ScreenSelectorscreenSelector)void

ScreenSelectorscreenSelector

show()void

Force to show the current application window which this View is displayed.

blink()void

Force to blink the current application window which this View is displayed.

visible(booleanvisibility)void

booleanvisibility

Config view visibility.

en(Stringtext, Objectcontext)kiss.VariableString

Stringtext

Your english text.

Objectcontext
kiss.VariableString

Localized text.

Create the localized text. (base lang is english)

vandalize()void

supportAutomaticDispose()boolean

boolean