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

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< ItemAlignmentgetAlignment ()
 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...
 

Detailed Description

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.

Member Function Documentation

◆ getAlignment()

List<ItemAlignment> com.spvessel.spacevil.Core.InterfaceBehavior.getAlignment ( )

Getting an alignment of an item's shape relative to its container.

Returns
Alignment as com.spvessel.spacevil.Flags.ItemAlignment.

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

◆ getHeightPolicy()

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).

Returns
Height policy as com.spvessel.spacevil.Flags.SizePolicy.

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

◆ getWidthPolicy()

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).

Returns
Width policy as com.spvessel.spacevil.Flags.SizePolicy.

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

◆ setAlignment()

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).

Parameters
alignmentAlignment as com.spvessel.spacevil.Flags.ItemAlignment.

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

◆ setHeightPolicy()

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).

Parameters
policyHeight policy as com.spvessel.spacevil.Flags.SizePolicy.

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

◆ setWidthPolicy()

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).

Parameters
policyWidth policy as com.spvessel.spacevil.Flags.SizePolicy.

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


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