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.
|
DialogWindow is an abstract class for modal window instances. More...
Inherits com.spvessel.spacevil.CoreWindow.
Inherited by com.spvessel.spacevil.MessageBox.
Public Member Functions | |
DialogWindow () | |
Constructs a DialogWindow. More... | |
void | show () |
Show the DialogWindow. More... | |
Public Member Functions inherited from com.spvessel.spacevil.CoreWindow | |
CoreWindow () | |
Constructs a CoreWindow. More... | |
void | setParameters (String name, String title) |
Setting basic window attributes. More... | |
void | setParameters (String name, String title, int width, int height) |
Setting basic window attributes. More... | |
void | setParameters (String name, String title, int width, int height, boolean isBorder) |
Setting basic window attributes. More... | |
void | close () |
Close the CoreWindow. More... | |
abstract void | initWindow () |
This abstract method should provide the initial window attributes, content, events. More... | |
int | getCount () |
UUID | getWindowGuid () |
void | setBackground (Color color) |
Setting window background color. More... | |
void | setBackground (int r, int g, int b) |
Setting window background color. More... | |
void | setBackground (int r, int g, int b, int a) |
Setting window background color. More... | |
void | setBackground (float r, float g, float b) |
Setting window background color. More... | |
void | setBackground (float r, float g, float b, float a) |
Setting window background color. More... | |
Color | getBackground () |
Getting window background color. More... | |
void | setPadding (Indents padding) |
Setting padding indents. More... | |
void | setPadding (int left, int top, int right, int bottom) |
Setting padding indents. More... | |
List< InterfaceBaseItem > | getItems () |
Getting items as a list of IBaseItem items. More... | |
void | addItem (InterfaceBaseItem item) |
Adding an item to the window. More... | |
void | addItems (InterfaceBaseItem... items) |
Allows to add multiple items to the window. More... | |
void | insertItem (InterfaceBaseItem item, int index) |
Allows you to insert an item at a specified position. More... | |
boolean | removeItem (InterfaceBaseItem item) |
Removing a specified item. More... | |
void | clear () |
Removing all containing items in the window. More... | |
void | setWindowName (String value) |
Setting the window name. More... | |
String | getWindowName () |
Getting the window name. More... | |
void | setWindowTitle (String title) |
Setting the window title text. More... | |
String | getWindowTitle () |
Getting the title text. More... | |
void | setWidth (int width) |
Setting the window width. More... | |
void | setHeight (int height) |
Setting the window height. More... | |
void | setSize (int width, int height) |
Setting the window size in pixels: width and height. More... | |
void | setMinWidth (int width) |
Setting the window minimum width. More... | |
void | setMinHeight (int height) |
Setting the window minimum height. More... | |
void | setMinSize (int width, int height) |
Setting the minimum window size in pixels: width and height. More... | |
void | setMaxWidth (int width) |
Setting the window maximum width. More... | |
void | setMaxHeight (int height) |
Setting the window maximum height. More... | |
void | setMaxSize (int width, int height) |
Setting the maximum window size in pixels: width and height. More... | |
int | getMinWidth () |
Getting the current minimum window width. More... | |
int | getWidth () |
Getting the current minimum window width. More... | |
int | getMaxWidth () |
Getting the current maximum window width. More... | |
int | getMinHeight () |
Getting the current minimum window height. More... | |
int | getHeight () |
Getting the current window height. More... | |
int | getMaxHeight () |
Getting the current maximum window height. More... | |
Size | getSize () |
Getting the current window size. More... | |
void | setX (int x) |
Setting the window x-coordinate (the left-top window corner). More... | |
int | getX () |
Getting the current window x-coordinate. More... | |
void | setY (int y) |
Setting the window y-coordinate (the left-top window corner). More... | |
int | getY () |
Getting the current window y-coordinate. More... | |
void | setPosition (int x, int y) |
Setting the window x-coordinate and y-coordinate (the left-top window corner). More... | |
void | setPosition (Position position) |
Setting the window x-coordinate and y-coordinate (the left-top window corner). More... | |
Position | getPosition () |
Getting the current window position. More... | |
void | setAntiAliasingQuality (MSAA msaa) |
Setting the anti aliasing quality (off, x2, x4, x8). More... | |
boolean | isFocused () |
Lets to know if the current window is focused or not. More... | |
void | focus () |
Sets the window focused. More... | |
void | minimize () |
Sets the window minimized. More... | |
void | maximize () |
Sets the window maximized. More... | |
void | toggleFullScreen () |
Toggles the window to full screen mode or windowed mode. More... | |
Prototype | getFocusedItem () |
Getting the current focused item in the current window. More... | |
void | setFocusedItem (Prototype item) |
Setting the specified item to the focused state. More... | |
void | resetFocus () |
Returns focus to the root item of the window. More... | |
void | setIcon (BufferedImage icon_big, BufferedImage icon_small) |
Sets the icons of the current window. More... | |
void | setHidden (Boolean value) |
Hides of unhides the current window. More... | |
void | setRenderFrequency (RedrawFrequency value) |
Lets to set the rendering frequency. More... | |
RedrawFrequency | getRenderFrequency () |
Getting the current rendering frequency. More... | |
void | setAspectRatio (int w, int h) |
Lets to set aspect ratio. More... | |
void | setBorder (Border border) |
Setting the border of the root item of the window. More... | |
void | setBorderFill (Color fill) |
Setting the color of the window border. More... | |
void | setBorderFill (int r, int g, int b) |
Setting the color of the window border. More... | |
void | setBorderFill (int r, int g, int b, int a) |
Setting the color of the window border. More... | |
void | setBorderFill (float r, float g, float b) |
Setting the color of the window border. More... | |
void | setBorderFill (float r, float g, float b, float a) |
Setting the color of the window border. More... | |
void | setBorderRadius (CornerRadius radius) |
Setting the corner radii of the window border. More... | |
void | setBorderRadius (int radius) |
Setting the common corner radius of the window border. More... | |
void | setBorderThickness (int thickness) |
Setting the window border thickness. More... | |
CornerRadius | getBorderRadius () |
Getting the current window border corner radii. More... | |
int | getBorderThickness () |
Getting the current window border thickness. More... | |
Color | getBorderFill () |
Getting the current window border color. More... | |
long | getGLWID () |
Getting the GLFW ID of the window. More... | |
void | setShadeColor (Color color) |
Setting the dimmer color of the window. More... | |
void | setShadeColor (int r, int g, int b) |
Setting the dimmer color of the window. More... | |
void | setShadeColor (int r, int g, int b, int a) |
Setting the dimmer color of the window. More... | |
void | setShadeColor (float r, float g, float b) |
Setting the dimmer color of the window. More... | |
void | setShadeColor (float r, float g, float b, float a) |
Setting the dimmer color of the window. More... | |
Color | getShadeColor () |
Getting the current dimmer color. More... | |
Area | getWorkArea () |
Getting the area of a primary monitor. More... | |
Scale | getDpiScale () |
Getting DPI scale for the current window. More... | |
final void | hold () |
Makes this window inactive. More... | |
final void | proceed () |
Restores window activity. More... | |
Additional Inherited Members | |
Public Attributes inherited from com.spvessel.spacevil.CoreWindow | |
boolean | isDialog |
boolean | isClosed |
boolean | isHidden |
boolean | isResizable |
boolean | isAlwaysOnTop |
boolean | isBorderHidden |
boolean | isCentered |
boolean | isFocusable |
boolean | isOutsideClickClosable |
boolean | isMaximized |
boolean | isTransparent |
EventCommonMethod | eventOnStart = new EventCommonMethod() |
Lets to describe the actions when the window starts. More... | |
EventCommonMethod | eventClose = new EventCommonMethod() |
Lets to describe the actions when closing the window. More... | |
EventDropMethodState | eventDrop = new EventDropMethodState() |
Lets to describe the actions when you drag and drop files/folders to the current window. More... | |
EventCommonMethodState | eventResize = new EventCommonMethodState() |
ATTENTION! Not implemented yet. More... | |
EventCommonMethodState | eventDestroy = new EventCommonMethodState() |
ATTENTION! Not implemented yet. More... | |
EventMouseMethodState | eventMouseHover = new EventMouseMethodState() |
Lets to describe the actions when mouse cursor hovers the root item of the window. More... | |
EventMouseMethodState | eventMouseLeave = new EventMouseMethodState() |
Lets to describe the actions when mouse cursor leaves the root item of the window. More... | |
EventMouseMethodState | eventMouseClick = new EventMouseMethodState() |
Lets to describe the actions when the root item of the window was clicked. More... | |
EventMouseMethodState | eventMouseDoubleClick = new EventMouseMethodState() |
Lets to describe the actions when the root item of the window was double clicked. More... | |
EventMouseMethodState | eventMousePress = new EventMouseMethodState() |
Lets to describe the actions when the root item of the window was pressed. More... | |
EventMouseMethodState | eventMouseDrag = new EventMouseMethodState() |
Lets to describe the actions when the mouse button was pressed and moved inside the root item of the window. More... | |
EventMouseMethodState | eventMouseDrop = new EventMouseMethodState() |
Lets to describe the actions when the mouse button was released after dragging. More... | |
EventMouseMethodState | eventScrollUp = new EventMouseMethodState() |
Lets to describe the actions when mouse wheel scrolls up. More... | |
EventMouseMethodState | eventScrollDown = new EventMouseMethodState() |
Lets to describe the actions when mouse wheel scrolls down. More... | |
EventKeyMethodState | eventKeyPress = new EventKeyMethodState() |
Lets to describe the actions when a keyboard key was pressed. More... | |
EventKeyMethodState | eventKeyRelease = new EventKeyMethodState() |
Lets to describe the actions when a keyboard key was released. More... | |
EventInputTextMethodState | eventTextInput = new EventInputTextMethodState() |
Lets to describe the actions when you type text. More... | |
DialogWindow is an abstract class for modal window instances.
DialogWindow extends CoreWindow class. CoreWindow is an abstract class containing an implementation of common functionality for a window.
com.spvessel.spacevil.DialogWindow.DialogWindow | ( | ) |
Constructs a DialogWindow.
void com.spvessel.spacevil.DialogWindow.show | ( | ) |
Show the DialogWindow.
Reimplemented from com.spvessel.spacevil.CoreWindow.
Reimplemented in com.spvessel.spacevil.MessageBox.