Dialog

Extends
AwtWindow
Methods
8
Fields
1

Methods

MethodReturnsDescription
getTitle()stringThe title: exactly what the plugin set ("" until then).
setTitle(string?)()Sets the title the OS window shows, exactly as given (nil: empty).
isResizable()booleanWhether the user may resize the dialog.
setResizable(boolean)()Lets the user resize the dialog, or not.
isModal()booleanWhether the dialog is modal.
setModal(boolean)()Makes the dialog modal from its next show: while it shows, the plugin's other windows and its side panel take no input (APPLICATION_MODAL…
init(Dialog)()The implicit no-argument constructor: the fresh state a node of this kind starts with, and nothing more. Construction runs it as every nati…
isInstance(any)booleanWhether obj is a Dialog object, a class(Dialog) subclass's included.

Fields

FieldTypeDescription
superAwtWindowClassAwtWindow's class table: the base class.

Method details

getTitle

getTitle: (Dialog) -> string

The title: exactly what the plugin set ("" until then).

setTitle

setTitle: (Dialog, string?) -> ()

Sets the title the OS window shows, exactly as given (nil: empty).

setModal

setModal: (Dialog, boolean) -> ()

Makes the dialog modal from its next show: while it shows, the plugin's other windows and its side panel take no input (APPLICATION_MODAL over the plugin's own surfaces), and setVisible(true) returns once it is hidden or disposed.

init

init: (Dialog) -> ()

The implicit no-argument constructor: the fresh state a node of this kind starts with, and nothing more. Construction runs it as every native base's super(); new does not take it.

isInstance

isInstance: (any) -> boolean

Whether obj is a Dialog object, a class(Dialog) subclass's included.