Reference for JVM version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
com.spvessel.spacevil.WindowsBox Class Reference

A storage-class that provides an access to existing window layouts by name and UUID. More...

Static Public Member Functions

static boolean tryShow (UUID guid)
 Try to show CoreWindow object using its UUID. More...
 
static boolean tryShow (String name)
 Try to show a window by its name. More...
 
static CoreWindow getWindowInstance (String name)
 Getting a window instance by its name. More...
 
static CoreWindow getWindowInstance (UUID guid)
 Getting a window instance by its UUID. More...
 
static CoreWindow getCurrentFocusedWindow ()
 Getting the current focused window. More...
 
static List< String > getWindowsList ()
 Getting the list of existing windows in the application. More...
 
static void printStoredWindows ()
 Printing all existing windows in the application. More...
 
static void restoreCommonGLSettings (CoreWindow window)
 
static void restoreViewport (CoreWindow window)
 
static void setGLLayerViewport (CoreWindow window, InterfaceOpenGLLayer layer)
 

Detailed Description

A storage-class that provides an access to existing window layouts by name and UUID.

Member Function Documentation

◆ getCurrentFocusedWindow()

static CoreWindow com.spvessel.spacevil.WindowsBox.getCurrentFocusedWindow ( )
static

Getting the current focused window.

Returns
The current focused window as com.spvessel.spacevil.CoreWindow.

◆ getWindowInstance() [1/2]

static CoreWindow com.spvessel.spacevil.WindowsBox.getWindowInstance ( String  name)
static

Getting a window instance by its name.

Parameters
nameName of the window.
Returns
CoreWindow link: if window with such name is exist. NULL: if window with such name is not exist.

◆ getWindowInstance() [2/2]

static CoreWindow com.spvessel.spacevil.WindowsBox.getWindowInstance ( UUID  guid)
static

Getting a window instance by its UUID.

Parameters
guidGUID of the window.
Returns
CoreWindow link: if window with such GUID is exist. NULL: if window with such GUID is not exist.

◆ getWindowsList()

static List<String> com.spvessel.spacevil.WindowsBox.getWindowsList ( )
static

Getting the list of existing windows in the application.

Returns
The list of existing windows.

◆ printStoredWindows()

static void com.spvessel.spacevil.WindowsBox.printStoredWindows ( )
static

Printing all existing windows in the application.

◆ restoreCommonGLSettings()

static void com.spvessel.spacevil.WindowsBox.restoreCommonGLSettings ( CoreWindow  window)
static

◆ restoreViewport()

static void com.spvessel.spacevil.WindowsBox.restoreViewport ( CoreWindow  window)
static

◆ setGLLayerViewport()

static void com.spvessel.spacevil.WindowsBox.setGLLayerViewport ( CoreWindow  window,
InterfaceOpenGLLayer  layer 
)
static

◆ tryShow() [1/2]

static boolean com.spvessel.spacevil.WindowsBox.tryShow ( String  name)
static

Try to show a window by its name.

Parameters
nameName of the window.
Returns
True: if window with such name is exist. False: if window with such name is not exist.

◆ tryShow() [2/2]

static boolean com.spvessel.spacevil.WindowsBox.tryShow ( UUID  guid)
static

Try to show CoreWindow object using its UUID.

Parameters
guidUUID of the window.
Returns
True: if window with such UUID is exist. False: if window with such UUID is not exist.

The documentation for this class was generated from the following file: