getTitle
getTitle: (Frame) -> stringThe title: exactly what the plugin set ("" until then).
| Method | Returns | Description |
|---|---|---|
getTitle() | string | The title: exactly what the plugin set ("" until then). |
setTitle(string?) | () | Sets the title the OS window shows, exactly as given (nil: empty). |
isResizable() | boolean | Whether the user may resize the window. |
setResizable(boolean) | () | Lets the user resize the window, or not. |
getExtendedState() | number | The window's state: NORMAL, or ICONIFIED and the MAXIMIZED_* bits. |
setExtendedState(number) | () | Maximizes, iconifies or restores the OS window (Frame.MAXIMIZED_BOTH, ...). On a showing frame its WindowListeners hear `windowIconifie… |
init(Frame) | () | 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) | boolean | Whether obj is a Frame object, a class(Frame) subclass's included. |
| Field | Type | Description |
|---|---|---|
NORMAL | number | Frame.NORMAL: 0. |
ICONIFIED | number | Frame.ICONIFIED: 1. |
MAXIMIZED_HORIZ | number | Frame.MAXIMIZED_HORIZ: 2. |
MAXIMIZED_VERT | number | Frame.MAXIMIZED_VERT: 4. |
MAXIMIZED_BOTH | number | Frame.MAXIMIZED_BOTH: 6. |
super | AwtWindowClass | AwtWindow's class table: the base class. |
getTitlegetTitle: (Frame) -> stringThe title: exactly what the plugin set ("" until then).
setTitlesetTitle: (Frame, string?) -> ()Sets the title the OS window shows, exactly as given (nil: empty).
isResizableisResizable: (Frame) -> booleanWhether the user may resize the window.
setResizablesetResizable: (Frame, boolean) -> ()Lets the user resize the window, or not.
getExtendedStategetExtendedState: (Frame) -> numberThe window's state: NORMAL, or ICONIFIED and the MAXIMIZED_* bits.
setExtendedStatesetExtendedState: (Frame, number) -> ()Maximizes, iconifies or restores the OS window (Frame.MAXIMIZED_BOTH, ...). On a showing frame its WindowListeners hear windowIconified or windowDeiconified; a frame not showing only keeps the state; MAXIMIZED_HORIZ or MAXIMIZED_VERT alone is not taken (Windows supports neither).
initinit: (Frame) -> ()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.
isInstanceisInstance: (any) -> booleanWhether obj is a Frame object, a class(Frame) subclass's included.