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

An interface that describes the attributes of the size of a shape. More...

Inherited by com.spvessel.spacevil.Core.Geometry, and com.spvessel.spacevil.Core.InterfaceBaseItem.

Public Member Functions

void setSize (int width, int height)
 Method setting size of an item's shape. More...
 
Size getSize ()
 Method getting size of an item's shape. More...
 
void setMinWidth (int width)
 Method setting the minimum width limit. More...
 
void setWidth (int width)
 Method setting item width. More...
 
void setMaxWidth (int width)
 Method setting the maximum width limit. More...
 
int getMinWidth ()
 Method getting the minimum width limit. More...
 
int getWidth ()
 Method fetting item width. More...
 
int getMaxWidth ()
 Method getting the maximum width limit. More...
 
void setMinHeight (int height)
 Method for setting the minimum height limit. More...
 
void setHeight (int height)
 Method for setting item height. More...
 
void setMaxHeight (int height)
 Method for setting the maximum height limit. More...
 
int getMinHeight ()
 Method for getting the minimum height limit. More...
 
int getHeight ()
 Method for getting item height. More...
 
int getMaxHeight ()
 Method for getting the maximum height limit. More...
 

Detailed Description

An interface that describes the attributes of the size of a shape.

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

Member Function Documentation

◆ getHeight()

int com.spvessel.spacevil.Core.InterfaceSize.getHeight ( )

Method for getting item height.

Returns
Height of the item.

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

◆ getMaxHeight()

int com.spvessel.spacevil.Core.InterfaceSize.getMaxHeight ( )

Method for getting the maximum height limit.

Returns
Maximum height limit of the item.

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

◆ getMaxWidth()

int com.spvessel.spacevil.Core.InterfaceSize.getMaxWidth ( )

Method getting the maximum width limit.

Returns
Maximum width limit of the item.

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

◆ getMinHeight()

int com.spvessel.spacevil.Core.InterfaceSize.getMinHeight ( )

Method for getting the minimum height limit.

Returns
Minimum height limit of the item.

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

◆ getMinWidth()

int com.spvessel.spacevil.Core.InterfaceSize.getMinWidth ( )

Method getting the minimum width limit.

Returns
Minimum width limit of the item.

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

◆ getSize()

Size com.spvessel.spacevil.Core.InterfaceSize.getSize ( )

Method getting size of an item's shape.

Returns
Size of the shape as com.spvessel.spacevil.Core.Size.

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

◆ getWidth()

int com.spvessel.spacevil.Core.InterfaceSize.getWidth ( )

Method fetting item width.

Returns
Width of the item.

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

◆ setHeight()

void com.spvessel.spacevil.Core.InterfaceSize.setHeight ( int  height)

◆ setMaxHeight()

void com.spvessel.spacevil.Core.InterfaceSize.setMaxHeight ( int  height)

Method for setting the maximum height limit.

Actual height cannot be greater than this limit.

Parameters
heightMaximum height limit of the item.

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

◆ setMaxWidth()

void com.spvessel.spacevil.Core.InterfaceSize.setMaxWidth ( int  width)

Method setting the maximum width limit.

Actual width cannot be greater than this limit.

Parameters
widthMaximum width limit of the item.

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

◆ setMinHeight()

void com.spvessel.spacevil.Core.InterfaceSize.setMinHeight ( int  height)

Method for setting the minimum height limit.

Actual height cannot be less than this limit.

Parameters
heightMinimum height limit of the item.

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

◆ setMinWidth()

void com.spvessel.spacevil.Core.InterfaceSize.setMinWidth ( int  width)

Method setting the minimum width limit.

Actual width cannot be less than this limit.

Parameters
widthMinimum width limit of the item.

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

◆ setSize()

void com.spvessel.spacevil.Core.InterfaceSize.setSize ( int  width,
int  height 
)

Method setting size of an item's shape.

Parameters
widthWidth of a shape.
heightHeight of a shape.

Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, com.spvessel.spacevil.ImageItem, and com.spvessel.spacevil.Core.Geometry.

◆ setWidth()


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