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.InterfaceItem Interface Reference

An interface that describes common item's properties. More...

Inherited by com.spvessel.spacevil.Core.InterfaceBaseItem.

Public Member Functions

void setItemName (String name)
 Method for setting the name of the item. More...
 
String getItemName ()
 Method for getting the name of the item. More...
 
void setBackground (Color color)
 Method for setting background color. More...
 
Color getBackground ()
 Method for getting background color. More...
 
List< float[]> getTriangles ()
 Method for getting triangles of item's shape. More...
 
void setTriangles (List< float[]> triangles)
 Method for setting triangles as item's shape. More...
 
void makeShape ()
 Method for making default item's shape. More...
 

Detailed Description

An interface that describes common item's properties.

This interface is part of com.spvessel.spacevil.Core.InterfaceBaseItem.

Member Function Documentation

◆ getBackground()

Color com.spvessel.spacevil.Core.InterfaceItem.getBackground ( )

Method for getting background color.

Returns
Background color as java.awt.Color.

Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.SpinItem, and com.spvessel.spacevil.BaseItem.

◆ getItemName()

String com.spvessel.spacevil.Core.InterfaceItem.getItemName ( )

Method for getting the name of the item.

Returns
Item name as java.lang.String.

Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.

◆ getTriangles()

List<float[]> com.spvessel.spacevil.Core.InterfaceItem.getTriangles ( )

Method for getting triangles of item's shape.

Returns
Points list of the shape as List of float[2] array (2D).

Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.

◆ makeShape()

◆ setBackground()

void com.spvessel.spacevil.Core.InterfaceItem.setBackground ( Color  color)

Method for setting background color.

Parameters
colorBackground color as java.awt.Color.

Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.SpinItem, and com.spvessel.spacevil.BaseItem.

◆ setItemName()

void com.spvessel.spacevil.Core.InterfaceItem.setItemName ( String  name)

Method for setting the name of the item.

Parameters
nameItem name as java.lang.String.

Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.

◆ setTriangles()

void com.spvessel.spacevil.Core.InterfaceItem.setTriangles ( List< float[]>  triangles)

Method for setting triangles as item's shape.

Parameters
trianglesPoints list of the shape as List of float[2] array (2D).

Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.


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