DefaultsService is static class providing methods to getting SpaceVIL default common values such as font, mouse cursor, icon images.
More...
DefaultsService is static class providing methods to getting SpaceVIL default common values such as font, mouse cursor, icon images.
◆ getDefaultCursor()
static CursorImage com.spvessel.spacevil.Common.DefaultsService.getDefaultCursor |
( |
| ) |
|
|
static |
◆ getDefaultFont() [1/3]
static Font com.spvessel.spacevil.Common.DefaultsService.getDefaultFont |
( |
| ) |
|
|
static |
Getting the current default font for the current application.
- Returns
- The current default font as java.awt.Font
◆ getDefaultFont() [2/3]
static Font com.spvessel.spacevil.Common.DefaultsService.getDefaultFont |
( |
int |
size | ) |
|
|
static |
Getting the current default font with the specified font size for the current application.
- Parameters
-
size | A font size as integer value |
- Returns
- The current default font with changed font size as java.awt.Font
◆ getDefaultFont() [3/3]
static Font com.spvessel.spacevil.Common.DefaultsService.getDefaultFont |
( |
int |
style, |
|
|
int |
size |
|
) |
| |
|
static |
Getting the current default font with the specified font size and font style for the current application.
- Parameters
-
style | A font style as integer value |
size | A font size as integer value |
- Returns
- The current default font with changed font size and font style as java.awt.Font
◆ getDefaultImage()
◆ getDefaultStyle()
static Style com.spvessel.spacevil.Common.DefaultsService.getDefaultStyle |
( |
Class<?> |
type | ) |
|
|
static |
◆ getDefaultTheme()
static ThemeStyle com.spvessel.spacevil.Common.DefaultsService.getDefaultTheme |
( |
| ) |
|
|
static |
◆ setDefaultCursor()
static void com.spvessel.spacevil.Common.DefaultsService.setDefaultCursor |
( |
CursorImage |
cursor | ) |
|
|
static |
Setting default cursor image the current application.
- Parameters
-
◆ setDefaultFont()
static void com.spvessel.spacevil.Common.DefaultsService.setDefaultFont |
( |
Font |
font | ) |
|
|
static |
Setting the default font for the current application.
- Parameters
-
font | A font as java.awt.Font |
◆ setDefaultTheme()
static void com.spvessel.spacevil.Common.DefaultsService.setDefaultTheme |
( |
ThemeStyle |
theme | ) |
|
|
static |
Setting the default theme for the current application.
- Parameters
-
The documentation for this class was generated from the following file: