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.Decorations.ThemeStyle Class Reference

A style theme to store styles for items in the current application. More...

Public Member Functions

 ThemeStyle ()
 Constructs a default ThemeStyle. More...
 
Style getThemeStyle (Class<?> type)
 Returns style of the theme for the object by its class name. More...
 
void setCurrentAsDefault ()
 Set this theme as default. More...
 
void addSpecificItemStyle (InterfaceBaseItem item, Style style)
 Add unique style for the specified item (specific item, not type of item). More...
 
void removeSpecificItemStyle (InterfaceBaseItem item, Style style)
 Remove unique style for the item (specific item, not type of item). More...
 
boolean replaceDefaultItemStyle (Class<?> type, Style style)
 Replace default style for the items with specified class type. More...
 
void addDefaultCustomItemStyle (Class<?> type, Style style)
 Add custom style to default theme for the items with specified class type. More...
 

Static Public Attributes

static boolean applyEmbedded = true
 

Detailed Description

A style theme to store styles for items in the current application.

Constructor & Destructor Documentation

◆ ThemeStyle()

com.spvessel.spacevil.Decorations.ThemeStyle.ThemeStyle ( )

Constructs a default ThemeStyle.

Member Function Documentation

◆ addDefaultCustomItemStyle()

void com.spvessel.spacevil.Decorations.ThemeStyle.addDefaultCustomItemStyle ( Class<?>  type,
Style  style 
)

Add custom style to default theme for the items with specified class type.

Parameters
typeType of an item as java.lang.Class<?>.
styleA style as com.spvessel.spacevil.Decorations.Style.

◆ addSpecificItemStyle()

void com.spvessel.spacevil.Decorations.ThemeStyle.addSpecificItemStyle ( InterfaceBaseItem  item,
Style  style 
)

Add unique style for the specified item (specific item, not type of item).

Parameters
itemAn item as com.spvessel.spacevil.Core.InterfaceBaseItem.
styleA style as com.spvessel.spacevil.Decorations.Style.

◆ getThemeStyle()

Style com.spvessel.spacevil.Decorations.ThemeStyle.getThemeStyle ( Class<?>  type)

Returns style of the theme for the object by its class name.

Parameters
typeType of an item as java.lang.Class<?>.
Returns
Assigned style as com.spvessel.spacevil.Decorations.Style.

◆ removeSpecificItemStyle()

void com.spvessel.spacevil.Decorations.ThemeStyle.removeSpecificItemStyle ( InterfaceBaseItem  item,
Style  style 
)

Remove unique style for the item (specific item, not type of item).

Parameters
itemAn item as com.spvessel.spacevil.Core.InterfaceBaseItem.
styleA style as com.spvessel.spacevil.Decorations.Style.

◆ replaceDefaultItemStyle()

boolean com.spvessel.spacevil.Decorations.ThemeStyle.replaceDefaultItemStyle ( Class<?>  type,
Style  style 
)

Replace default style for the items with specified class type.

Parameters
typeType of an item as java.lang.Class<?>.
styleA style as com.spvessel.spacevil.Decorations.Style.
Returns
If default style replaced

◆ setCurrentAsDefault()

void com.spvessel.spacevil.Decorations.ThemeStyle.setCurrentAsDefault ( )

Set this theme as default.

Member Data Documentation

◆ applyEmbedded

boolean com.spvessel.spacevil.Decorations.ThemeStyle.applyEmbedded = true
static

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