AbstractProtectedconstructorOptionalisInternalConstructor: booleanProtected_Library browser UI element.
Protected_Action called when the user choses a location or cancels.
Protected_Text box used to enter the resource name.
ProtectedcancelCancel the operation and close the dialog.
ProtectedonTriggered when the user doubleclicks an entry.
ProtectedonTriggered when the browser selection changes.
Static ReadonlydefaultThe default window content padding to be used for modal windows.
Static ReadonlydefaultThe default window padding to be used for modal windows.
Returns the height of the content area of the window, in points. The content area represents the area of the window not including the title bar and the border.
Returns the height of the content area of the window, in pixels. The content area represents the area of the window not including the title bar and the border.
Returns the width of the content area of the window, in points. The content area represents the area of the window not including the title bar and the border.
Returns the width of the content area of the window, in pixels. The content area represents the area of the window not including the title bar and the border.
Sets the height of the window in points.
Sets the height of the window in pixels.
Check whether the window was destroyed.
Checks whether the window currently has keyboard focus.
Gets the key window which owns this window.
Returns the X position of the window in screen coordinates in points.
Specifies the local shortcut context. This context will be automatically disabled whenever the user switches focus from the context.
The main layout of the dialog.
Gets the parent EditorWindow.
Gets the RenderWindow associated with this EditorWindow.
Specifies the global shortcut context. This context will be always enabled as long as the window is active.
Determines the size of the keu window.
Sets the stylesheet for this window's UI surface.
Sets the stylesheet for this window's UI surface.
Returns the X position of the window in screen coordinates in points.
Sets the width of the window in points.
Sets the width of the window in pixels.
Adds an option to the resource browser window.
The label for the option.
The element to add to the options form.
ProtectedcancelShortcut triggered when Escape is pressed.
Centers the window within it's parent window.
Closes and destroys the window.
ProtectedconfirmShortcut triggered when enter is pressed.
ProtecteddeleteDeletes currently selected elements. User will be asked to confirm deletion via a dialog box.
Protected AbstractgetGets the title of the confirm action. If null, the confirm button will not be available.
ProtectedgetGet the parent folder of a resource, if it is a package, return the library root.
Determines if the window is visible.
ProtectedmoveProtectedmoveProtectedmoveProtectedonPerforms LibraryBrowser.copy operation on the currently selected elements.
ProtectedonPerforms LibraryBrowser.cut operation on the currently selected elements.
ProtectedonProtectedonPerforms LibraryBrowser.duplicate operation on the currently selected elements.
ProtectedonProtectedonProtectedonVirtual
Called whenever the user or the program requested to close the window.
Protected AbstractonImplemented by the child class to handle the confirmation action.
If this method returns a null, the operation will be aborted without closing the window.
It is assumed that the child class displays a error or message to the user to inform why
the action was canceled.
If this method returns a valid object of type T, the operation will continue and the onAction handler will be called with the object.
Gets called when the window is destroyed.
ProtectedonVirtual
Method to override to implement custom behavior of a window, called by the engine once per frame.
ProtectedonVirtual
Method to override to implement custom behavior of a window, called by the engine once per frame,
once all the windows had their onEditorUpdate() method called.
Initializes the window content.
Virtual
Triggered whenever the window's screen dpi changes.
Virtual
Triggered whenever the window gains or loses focus.
True if focus was gained, false otherwise.
Virtual
Triggered whenever the window size changes.
New width of the window in pixels.
New height of the window in pixels.
ProtectedpastePerforms LibraryBrowser.paste operation. Elements will be pasted in the currently selected directory (if any), or
the active directory otherwise.
ProtectedrenameStarts a rename operation on the currently selected elements. If more than one elements are selected only the first one will be affected.
Resets the library window to initial state.
ProtectedsaveSave the resource at the chosen location and close the dialog.
ProtectedselectPerforms LibraryBrowser.selectAll operation.
Defines the window maximum width and height in points.
Defines the window minimum width and height in points.
The minimum width of the window in points.
The minimum height of the window in points.
Moves the window on the desktop. Coordinates are in screen space using points.
Moves the window on the desktop. Coordinates are in screen space using pixels.
Resizes the window using a width and height in points.
Resizes the window using a width and height in pixels.
StaticconstructOpens a ModalWindow of the specified type.
The type of the ModalWindow to open.
OptionalmodalOptions: EnumValue<ModalWindowOption>OptionalparentWindow: KeyWindowBase | EditorWindowOptionalwindowOptions: anyProtected StaticconstructConstructs the Modal from script.
The ResourceBrowserWindowBase implements a base ModalWindow that enables the user to browse the library to pick a path to load or save a resource from. The dialog is specialized further as OpenResourceDialog and SaveNewResourceDialog.