Constructs new UI.Window object with specified bounds.
object containing window's bounds. Note that the bounds change the width of the window, but the full width of the window becomes 1000 units.
Constructs new UI.Window object with specified content.
window's content
Constructs new empty UI.Window object.
Adds another window as adjacent window, so that several windows open at the same time. This allows to divide window into separate parts and treat them separately.
another window to be added as adjacent
Currently UI.Container that was used to open this window or null, if the window wasn't opened in container.
Window's content object (usually specified in the window's constructor).
Gets listener to be notified about window opening/closing events.
Window's current location object.
Gets custom property by it's name. Custom properties can be used to store some values containing window's current state. Note that these properties are not saved between Inner Core launches.
custom property name
Value set by UI.Window.putProperty or null if no value was specified for this name.
Removes adjacent window from the adjacent windows list.
another window that was added as adjacent
Sets container for the current window. Be careful when calling it manually. You should prefer opening the window via it. UI.Container.openAs call
UI.Container
to be associated with current window or null
to associate
no container with current window.
Specifies the content of the window.
content object to be applied to the window
Sets listener to be notified about window opening/closing events.
Sets any window as current window's parent. If current window closes, parent window closes too.
window to be used as parent window for the current window.
Overrides style properties of the current style by the values specified in the style parameter.
js object where keys represent binding names and values represent texture gui names
Sets new style object as current window's style. If the new style is a different object then an old one, forces window invalidation.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Represents window of required size that can be opened in container to provide any required UI facilities.