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.PointsContainer Class Reference

PointsContainer is class for rendering points in graph. More...

Inherits com.spvessel.spacevil.Primitive, and com.spvessel.spacevil.Core.InterfacePoints.

Public Member Functions

 PointsContainer ()
 Default PointsContainer constructor. More...
 
void setPointThickness (float thickness)
 Setting thickness of points. More...
 
float getPointThickness ()
 Getting points thickness. More...
 
void setPointColor (Color color)
 Setting points color. More...
 
Color getPointColor ()
 Getting points color. More...
 
void setPointShape (List< float[]> shape)
 Setting custom shape for points (if one want to use other shape than circle). More...
 
List< float[]> getPointShape ()
 Getting current shape of points. More...
 
void setPoints (List< float[]> coord)
 Setting points coordinates. More...
 
void makeShape ()
 Overridden method for stretching the points position relative to the current size of the item. More...
 
List< float[]> getPoints ()
 Getting points coordinates. More...
 
- Public Member Functions inherited from com.spvessel.spacevil.Primitive
 Primitive ()
 Default constructor of Primitive class. More...
 
 Primitive (String name)
 Constructs a Primitive with the specified name. More...
 
void setPosition (int x, int y)
 Setting item position. More...
 
void setStyle (Style style)
 Setting a style that describes the appearance of an item. More...
 
Style getCoreStyle ()
 Getting the core (only appearance properties without inner styles) style of an item. More...
 
- Public Member Functions inherited from com.spvessel.spacevil.BaseItem
void setHandler (CoreWindow handler)
 Setting the window to which the item will belong. More...
 
CoreWindow getHandler ()
 Getting the window to which the item belong. More...
 
Prototype getParent ()
 Getting the parent of the item. More...
 
void setParent (Prototype parent)
 Setting the parent of the item. More...
 
void initElements ()
 Initializing children if this BaseItem is container (com.spvessel.spacevil.Prototype). More...
 
Indents getMargin ()
 Getting the indents of an item to offset itself relative to its container. More...
 
void setMargin (Indents margin)
 Setting the indents of an item to offset itself relative to its container. More...
 
void setMargin (int left, int top, int right, int bottom)
 Setting the indents of an item to offset itself relative to its container. More...
 
List< float[]> getTriangles ()
 Getting triangles of item's shape. More...
 
void setTriangles (List< float[]> triangles)
 Setting triangles as item's shape. More...
 
void setBackground (Color color)
 Setting background color of an item's shape. More...
 
void setBackground (int r, int g, int b)
 Setting background color of an item's shape in byte RGB format. More...
 
void setBackground (int r, int g, int b, int a)
 Setting background color of an item in byte RGBA format. More...
 
void setBackground (float r, float g, float b)
 Setting background color of an item in float RGB format. More...
 
void setBackground (float r, float g, float b, float a)
 Setting background color of an item in float RGBA format. More...
 
Color getBackground ()
 Getting background color of an item. More...
 
void setItemName (String name)
 Setting the name of the item. More...
 
String getItemName ()
 Getting the name of the item. More...
 
boolean isDrawable ()
 Getting the drawable (visibility) status of an item. More...
 
void setDrawable (boolean value)
 Setting the drawable (visibility) status of an item. More...
 
boolean isVisible ()
 Getting the visibility status of an item. More...
 
void setVisible (boolean value)
 Setting the visibility status of an item. More...
 
void setMinWidth (int width)
 Setting the minimum width limit. More...
 
void setWidth (int width)
 Setting item width. More...
 
void setMaxWidth (int width)
 Setting the maximum width limit. More...
 
int getMinWidth ()
 Getting the minimum width limit. More...
 
int getWidth ()
 Getting item width. More...
 
int getMaxWidth ()
 Getting the maximum width limit. More...
 
void setMinHeight (int height)
 Setting the minimum height limit. More...
 
void setHeight (int height)
 Setting item height. More...
 
void setMaxHeight (int height)
 Setting the maximum height limit. More...
 
int getMinHeight ()
 Getting the minimum height limit. More...
 
int getHeight ()
 Getting item height. More...
 
int getMaxHeight ()
 Getting the maximum height limit. More...
 
void setSize (int width, int height)
 Setting item size (width and height). More...
 
void setMinSize (int width, int height)
 Setting minimum item size limit (width and height limits). More...
 
void setMaxSize (int width, int height)
 Setting maximum item size limit (width and height limits). More...
 
Size getSize ()
 Getting current item size. More...
 
Size getMinSize ()
 Getting current item minimum size limit. More...
 
Size getMaxSize ()
 Getting current item maximum size limit. More...
 
void setAlignment (ItemAlignment... alignment)
 Setting an alignment of an item's shape relative to its container. More...
 
void setAlignment (List< 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 setSizePolicy (SizePolicy width, SizePolicy height)
 Setting the size policy of an item's shape. 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...
 
void setX (int x)
 Setting X coordinate of the left-top corner of a shape. More...
 
int getX ()
 Getting X coordinate of the left-top corner of a shape. More...
 
void setY (int y)
 Setting Y coordinate of the left-top corner of a shape. More...
 
int getY ()
 Getting Y coordinate of the left-top corner of a shape. More...
 
void update (GeometryEventType type, int value)
 Updating an item size or/and position. More...
 
boolean isShadowDrop ()
 Getting the shadow visibility status of an item. More...
 
void setShadowDrop (boolean value)
 Setting the shadow visibility status of an item. More...
 
void setShadowRadius (int radius)
 Setting the specified blur radius of the shadow. More...
 
int getShadowRadius ()
 Getting the shadow blur raduis. More...
 
Color getShadowColor ()
 Getting shadow color. More...
 
void setShadowColor (Color color)
 Setting shadow color. More...
 
Position getShadowPos ()
 Getting the offset of the shadow relative to the position of the item. More...
 
int[] getShadowExtension ()
 Getting the values of shadow extensions in pixels. More...
 
void setShadowExtension (int wExtension, int hExtension)
 Setting the values of shadow extensions in pixels. More...
 
void setShadow (int radius, int x, int y, Color color)
 Setting the shadow with specified blur radius, axis shifts, shadow color. More...
 
void setShadow (Shadow shadow)
 Setting the shadow of an item. More...
 
void setConfines ()
 Setting the confines of the item relative to its parent's size and position. More...
 
void setConfines (int x0, int x1, int y0, int y1)
 Setting the confines of the item relative to specified bounds. More...
 
void release ()
 Method to describe disposing item's resources if the item was removed. More...
 

Additional Inherited Members

- Public Attributes inherited from com.spvessel.spacevil.BaseItem
ItemHoverRule HoverRule = ItemHoverRule.LAZY
 Hovering rule propetry of this item. More...
 
- Protected Member Functions inherited from com.spvessel.spacevil.BaseItem
int[] getConfines ()
 

Detailed Description

PointsContainer is class for rendering points in graph.

Constructor & Destructor Documentation

◆ PointsContainer()

com.spvessel.spacevil.PointsContainer.PointsContainer ( )

Default PointsContainer constructor.

Member Function Documentation

◆ getPointColor()

Color com.spvessel.spacevil.PointsContainer.getPointColor ( )

Getting points color.

Returns
Points color.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ getPoints()

List<float[]> com.spvessel.spacevil.PointsContainer.getPoints ( )

Getting points coordinates.

Returns
Points list as List of float[2] array.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ getPointShape()

List<float[]> com.spvessel.spacevil.PointsContainer.getPointShape ( )

Getting current shape of points.

Default: circle shape.

Returns
Points list as List of float[2] array.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ getPointThickness()

float com.spvessel.spacevil.PointsContainer.getPointThickness ( )

Getting points thickness.

Returns
Point thickness.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ makeShape()

void com.spvessel.spacevil.PointsContainer.makeShape ( )

Overridden method for stretching the points position relative to the current size of the item.

Use in conjunction with getTriangles() and setTriangles() methods.

Notice: This method is mainly for overriding only. SpaceVIL calls this method if necessary and no need to call it manually.

Reimplemented from com.spvessel.spacevil.BaseItem.

◆ setPointColor()

void com.spvessel.spacevil.PointsContainer.setPointColor ( Color  color)

Setting points color.

Default: WHITE.

Parameters
colorPoints color.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ setPoints()

void com.spvessel.spacevil.PointsContainer.setPoints ( List< float[]>  coord)

Setting points coordinates.

Parameters
coordPoints list as List of float[2] array.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ setPointShape()

void com.spvessel.spacevil.PointsContainer.setPointShape ( List< float[]>  shape)

Setting custom shape for points (if one want to use other shape than circle).

Parameters
shapePoints list of the shape as List of float[2] array.

Implements com.spvessel.spacevil.Core.InterfacePoints.

◆ setPointThickness()

void com.spvessel.spacevil.PointsContainer.setPointThickness ( float  thickness)

Setting thickness of points.

Parameters
thicknessPoint thickness.

Implements com.spvessel.spacevil.Core.InterfacePoints.


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