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.Common.CommonService Class Reference

DisplayService is static class providing methods to getting basic information about the SpaceVIL framework, OS attributes, initializing the SpaceVIL framework and working with clipboard. More...

Static Public Member Functions

static String getSpaceVILInfo ()
 Getting basic information about SpaceVIL such as version, date, platform and OS. More...
 
static OSType getOSType ()
 
static boolean initSpaceVILComponents ()
 Initializing the mandatory SpaceVIL common components (GLFW, default values and etc.). More...
 
static String getClipboardString ()
 Getting stored text in clipboard. More...
 
static void setClipboardString (String text)
 Placing the specified text to the clipboard. More...
 
static KeyCode getOsControlKeyRight ()
 Getting the default right "control" key KeyCode of current OS (for Mac OS - Command key) More...
 
static KeyCode getOsControlKeyLeft ()
 Getting the default left "control" key KeyCode of current OS (for Mac OS - Command key) More...
 
static KeyMods getOsControlMod ()
 Getting the default "control" modifier KeyCode of current OS (for Mac OS - Command key) More...
 

Static Public Attributes

static final Lock GlobalLocker = new ReentrantLock()
 
static CursorImage currentCursor = null
 

Detailed Description

DisplayService is static class providing methods to getting basic information about the SpaceVIL framework, OS attributes, initializing the SpaceVIL framework and working with clipboard.

Member Function Documentation

◆ getClipboardString()

static String com.spvessel.spacevil.Common.CommonService.getClipboardString ( )
static

Getting stored text in clipboard.

Returns
The text as java.lang.String.

◆ getOsControlKeyLeft()

static KeyCode com.spvessel.spacevil.Common.CommonService.getOsControlKeyLeft ( )
static

Getting the default left "control" key KeyCode of current OS (for Mac OS - Command key)

Returns
The keyboard key as com.spvessel.spacevil.Flags.KeyCode

◆ getOsControlKeyRight()

static KeyCode com.spvessel.spacevil.Common.CommonService.getOsControlKeyRight ( )
static

Getting the default right "control" key KeyCode of current OS (for Mac OS - Command key)

Returns
The keyboard key as com.spvessel.spacevil.Flags.KeyCode

◆ getOsControlMod()

static KeyMods com.spvessel.spacevil.Common.CommonService.getOsControlMod ( )
static

Getting the default "control" modifier KeyCode of current OS (for Mac OS - Command key)

Returns
The keyboard modifier as com.spvessel.spacevil.Flags.KeyCode

◆ getOSType()

static OSType com.spvessel.spacevil.Common.CommonService.getOSType ( )
static

◆ getSpaceVILInfo()

static String com.spvessel.spacevil.Common.CommonService.getSpaceVILInfo ( )
static

Getting basic information about SpaceVIL such as version, date, platform and OS.

Returns
The information as java.lang.String.

◆ initSpaceVILComponents()

static boolean com.spvessel.spacevil.Common.CommonService.initSpaceVILComponents ( )
static

Initializing the mandatory SpaceVIL common components (GLFW, default values and etc.).

Returns
True: if initialization is successful. False: if initialization is unsuccessful.

◆ setClipboardString()

static void com.spvessel.spacevil.Common.CommonService.setClipboardString ( String  text)
static

Placing the specified text to the clipboard.

Parameters
textThe text as java.lang.String

Member Data Documentation

◆ currentCursor

CursorImage com.spvessel.spacevil.Common.CommonService.currentCursor = null
static

◆ GlobalLocker

final Lock com.spvessel.spacevil.Common.CommonService.GlobalLocker = new ReentrantLock()
static

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