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.ItemsRefreshManager Class Reference

ItemsRefreshManager is a manager that allows you to add an item of a certain type to the queue for a forced refresh. More...

Static Public Member Functions

static boolean setRefreshShape (InterfaceBaseItem item)
 Adding an IBaseItem implementation to the queue for a forced refresh. More...
 
static boolean setRefreshText (InterfaceTextContainer item)
 Adding an ITextContainer implementation to the queue for a forced refresh. More...
 
static boolean setRefreshImage (InterfaceImageItem item)
 Adding an IImageItem implementation to the queue for a forced refresh. More...
 

Detailed Description

ItemsRefreshManager is a manager that allows you to add an item of a certain type to the queue for a forced refresh.

It can be use with custom implementation of one of the types: shape, text, image. For example: a Bitmap change in an IImageItem implementation, a shape change in an IBaseItem implementation.

Member Function Documentation

◆ setRefreshImage()

static boolean com.spvessel.spacevil.ItemsRefreshManager.setRefreshImage ( InterfaceImageItem  item)
static

Adding an IImageItem implementation to the queue for a forced refresh.

Tips: use this function only if you want to refresh image of an item, InterfaceBaseItem and InterfaceTextContainer are not images.

Parameters
itemAn item as com.spvessel.spacevil.Core.InterfaceImageItem.
Returns
True: if adding is successfull. False: if an item is already in the refresh queue.

◆ setRefreshShape()

static boolean com.spvessel.spacevil.ItemsRefreshManager.setRefreshShape ( InterfaceBaseItem  item)
static

Adding an IBaseItem implementation to the queue for a forced refresh.

Tips: use this function only if you want to refresh shape of an item, ITextContainer and IImageItem are not shapes.

Parameters
itemAn item as com.spvessel.spacevil.Core.InterfaceBaseItem.
Returns
True: if adding is successfull. False: if an item is already in the refresh queue.

◆ setRefreshText()

static boolean com.spvessel.spacevil.ItemsRefreshManager.setRefreshText ( InterfaceTextContainer  item)
static

Adding an ITextContainer implementation to the queue for a forced refresh.

Tips: use this function only if you want to refresh text of an item, InterfaceBaseItem and InterfaceImageItem are not text.

Parameters
itemAn item as com.spvessel.spacevil.Core.InterfaceTextContainer.
Returns
True: if adding is successfull. False: if an item is already in the refresh queue.

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