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 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... | |
An interface that describes the attributes of the size of a shape.
This interface is part of com.spvessel.spacevil.Core.InterfaceBaseItem.
int com.spvessel.spacevil.Core.InterfaceSize.getHeight | ( | ) |
Method for getting item height.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
int com.spvessel.spacevil.Core.InterfaceSize.getMaxHeight | ( | ) |
Method for getting the maximum height limit.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
int com.spvessel.spacevil.Core.InterfaceSize.getMaxWidth | ( | ) |
Method getting the maximum width limit.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
int com.spvessel.spacevil.Core.InterfaceSize.getMinHeight | ( | ) |
Method for getting the minimum height limit.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
int com.spvessel.spacevil.Core.InterfaceSize.getMinWidth | ( | ) |
Method getting the minimum width limit.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
Size com.spvessel.spacevil.Core.InterfaceSize.getSize | ( | ) |
Method getting size of an item's shape.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
int com.spvessel.spacevil.Core.InterfaceSize.getWidth | ( | ) |
Method fetting item width.
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setHeight | ( | int | height | ) |
Method for setting item height.
If the value is greater/less than the maximum/minimum value of the height, then the height becomes equal to the maximum/minimum value.
height | Height of the item. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.WrapGrid, com.spvessel.spacevil.ListBox, com.spvessel.spacevil.BaseItem, com.spvessel.spacevil.TextView, com.spvessel.spacevil.TextArea, com.spvessel.spacevil.Grid, com.spvessel.spacevil.ResizableItem, com.spvessel.spacevil.SideArea, com.spvessel.spacevil.ImageItem, com.spvessel.spacevil.HorizontalSplitArea, com.spvessel.spacevil.VerticalStack, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setMaxHeight | ( | int | height | ) |
Method for setting the maximum height limit.
Actual height cannot be greater than this limit.
height | Maximum height limit of the item. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setMaxWidth | ( | int | width | ) |
Method setting the maximum width limit.
Actual width cannot be greater than this limit.
width | Maximum width limit of the item. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setMinHeight | ( | int | height | ) |
Method for setting the minimum height limit.
Actual height cannot be less than this limit.
height | Minimum height limit of the item. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setMinWidth | ( | int | width | ) |
Method setting the minimum width limit.
Actual width cannot be less than this limit.
width | Minimum width limit of the item. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setSize | ( | int | width, |
int | height | ||
) |
Method setting size of an item's shape.
width | Width of a shape. |
height | Height of a shape. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.BaseItem, com.spvessel.spacevil.ImageItem, and com.spvessel.spacevil.Core.Geometry.
void com.spvessel.spacevil.Core.InterfaceSize.setWidth | ( | int | width | ) |
Method setting item width.
If the value is greater/less than the maximum/minimum value of the width, then the width becomes equal to the maximum/minimum value.
width | Width of the item. |
Implemented in com.spvessel.spacevil.Prototype, com.spvessel.spacevil.WrapGrid, com.spvessel.spacevil.ListBox, com.spvessel.spacevil.Label, com.spvessel.spacevil.TextView, com.spvessel.spacevil.BaseItem, com.spvessel.spacevil.ProgressBar, com.spvessel.spacevil.TreeItem, com.spvessel.spacevil.ImageItem, com.spvessel.spacevil.TextArea, com.spvessel.spacevil.Grid, com.spvessel.spacevil.ResizableItem, com.spvessel.spacevil.SideArea, com.spvessel.spacevil.VerticalSplitArea, com.spvessel.spacevil.HorizontalStack, and com.spvessel.spacevil.Core.Geometry.