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.
|
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... | |
An interface that describes common item's properties.
This interface is part of com.spvessel.spacevil.Core.InterfaceBaseItem.
Color com.spvessel.spacevil.Core.InterfaceItem.getBackground | ( | ) |
Method for getting background color.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.SpinItem, and com.spvessel.spacevil.BaseItem.
String com.spvessel.spacevil.Core.InterfaceItem.getItemName | ( | ) |
Method for getting the name of the item.
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
List<float[]> com.spvessel.spacevil.Core.InterfaceItem.getTriangles | ( | ) |
Method for getting triangles of item's shape.
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
void com.spvessel.spacevil.Core.InterfaceItem.makeShape | ( | ) |
Method for making default item's shape.
Use in conjunction with getTriangles() and setTriangles() methods.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, com.spvessel.spacevil.PointsContainer, com.spvessel.spacevil.Rectangle, com.spvessel.spacevil.LinesContainer, com.spvessel.spacevil.CustomShape, com.spvessel.spacevil.Ellipse, and com.spvessel.spacevil.Triangle.
void com.spvessel.spacevil.Core.InterfaceItem.setBackground | ( | Color | color | ) |
Method for setting background color.
color | Background color as java.awt.Color. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.SpinItem, and com.spvessel.spacevil.BaseItem.
void com.spvessel.spacevil.Core.InterfaceItem.setItemName | ( | String | name | ) |
Method for setting the name of the item.
name | Item name as java.lang.String. |
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
void com.spvessel.spacevil.Core.InterfaceItem.setTriangles | ( | List< float[]> | triangles | ) |
Method for setting triangles as item's shape.
triangles | Points list of the shape as List of float[2] array (2D). |
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.