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.Core.InterfaceFloating Interface Reference

An interface that describes floating independent type of items. More...

Inherited by com.spvessel.spacevil.ComboBoxDropDown, com.spvessel.spacevil.ContextMenu, com.spvessel.spacevil.FloatItem, com.spvessel.spacevil.SideArea, and com.spvessel.spacevil.ToolTipItem.

Public Member Functions

void show ()
 Method that describes how to display an item. More...
 
void show (InterfaceItem sender, MouseArgs args)
 Method that describes how to display an element, depending on the sender and mouse arguments. More...
 
void hide ()
 Method that describes how to hide an item. More...
 
void hide (MouseArgs args)
 Method that describes how to display an element, depending on mouse arguments. More...
 
boolean isOutsideClickClosable ()
 Method for getting boolean value of item's behavior when mouse click occurs outside the item. More...
 
void setOutsideClickClosable (boolean value)
 Method for setting boolean value of item's behavior when mouse click occurs outside the item. More...
 

Detailed Description

An interface that describes floating independent type of items.

Notice: All floating items render above all others items.

Member Function Documentation

◆ hide() [1/2]

void com.spvessel.spacevil.Core.InterfaceFloating.hide ( )

◆ hide() [2/2]

void com.spvessel.spacevil.Core.InterfaceFloating.hide ( MouseArgs  args)

Method that describes how to display an element, depending on mouse arguments.

Parameters
argsMouse arguments as com.spvessel.spacevil.Core.MouseArgs.

Implemented in com.spvessel.spacevil.ComboBoxDropDown, com.spvessel.spacevil.ContextMenu, com.spvessel.spacevil.SideArea, com.spvessel.spacevil.ToolTipItem, and com.spvessel.spacevil.FloatItem.

◆ isOutsideClickClosable()

boolean com.spvessel.spacevil.Core.InterfaceFloating.isOutsideClickClosable ( )

Method for getting boolean value of item's behavior when mouse click occurs outside the item.

Returns
True: an item will become invisible if mouse click occurs outside the item. False: an item will stay visible if mouse click occurs outside the item.

Implemented in com.spvessel.spacevil.ToolTipItem, com.spvessel.spacevil.ComboBoxDropDown, com.spvessel.spacevil.ContextMenu, com.spvessel.spacevil.SideArea, and com.spvessel.spacevil.FloatItem.

◆ setOutsideClickClosable()

void com.spvessel.spacevil.Core.InterfaceFloating.setOutsideClickClosable ( boolean  value)

Method for setting boolean value of item's behavior when mouse click occurs outside the item.

Parameters
valueTrue: an item should become invisible if mouse click occurs outside the item. False: an item should stay visible if mouse click occurs outside the item.

Implemented in com.spvessel.spacevil.ToolTipItem, com.spvessel.spacevil.ComboBoxDropDown, com.spvessel.spacevil.ContextMenu, com.spvessel.spacevil.SideArea, and com.spvessel.spacevil.FloatItem.

◆ show() [1/2]

void com.spvessel.spacevil.Core.InterfaceFloating.show ( )

◆ show() [2/2]

void com.spvessel.spacevil.Core.InterfaceFloating.show ( InterfaceItem  sender,
MouseArgs  args 
)

Method that describes how to display an element, depending on the sender and mouse arguments.

Parameters
senderSender as com.spvessel.spacevil.Core.InterfaceItem.
argsMouse arguments as com.spvessel.spacevil.Core.MouseArgs.

Implemented in com.spvessel.spacevil.ComboBoxDropDown, com.spvessel.spacevil.SideArea, com.spvessel.spacevil.ContextMenu, com.spvessel.spacevil.ToolTipItem, and com.spvessel.spacevil.FloatItem.


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