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 the alignment of the item and size policy of the item. More...
Inherited by com.spvessel.spacevil.Behavior, and com.spvessel.spacevil.Core.InterfaceBaseItem.
Public Member Functions | |
void | setAlignment (ItemAlignment... alignment) |
Setting an alignment of an item's shape relative to its container. More... | |
List< ItemAlignment > | getAlignment () |
Getting an alignment of an item's shape relative to its container. More... | |
void | setWidthPolicy (SizePolicy policy) |
Setting width policy of an item's shape. More... | |
SizePolicy | getWidthPolicy () |
Getting width policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space). More... | |
void | setHeightPolicy (SizePolicy policy) |
Setting height policy of an item's shape. More... | |
SizePolicy | getHeightPolicy () |
Getting height policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space). More... | |
An interface that describes the alignment of the item and size policy of the item.
This interface is part of com.spvessel.spacevil.Core.InterfaceBaseItem.
List<ItemAlignment> com.spvessel.spacevil.Core.InterfaceBehavior.getAlignment | ( | ) |
Getting an alignment of an item's shape relative to its container.
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
SizePolicy com.spvessel.spacevil.Core.InterfaceBehavior.getHeightPolicy | ( | ) |
Getting height policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
SizePolicy com.spvessel.spacevil.Core.InterfaceBehavior.getWidthPolicy | ( | ) |
Getting width policy of an item's shape.Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
void com.spvessel.spacevil.Core.InterfaceBehavior.setAlignment | ( | ItemAlignment... | alignment | ) |
Setting an alignment of an item's shape relative to its container.
Combines with alignment by vertically (Top, VCenter, Bottom) and horizontally (Left, HCenter, Right).
alignment | Alignment as com.spvessel.spacevil.Flags.ItemAlignment. |
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
void com.spvessel.spacevil.Core.InterfaceBehavior.setHeightPolicy | ( | SizePolicy | policy | ) |
Setting height policy of an item's shape.
Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).
policy | Height policy as com.spvessel.spacevil.Flags.SizePolicy. |
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.
void com.spvessel.spacevil.Core.InterfaceBehavior.setWidthPolicy | ( | SizePolicy | policy | ) |
Setting width policy of an item's shape.
Can be Fixed (shape not changes its size) or Expand (shape is stretched to all available space).
policy | Width policy as com.spvessel.spacevil.Flags.SizePolicy. |
Implemented in com.spvessel.spacevil.Prototype, and com.spvessel.spacevil.BaseItem.