Index
All Classes and Interfaces|All Packages|Serialized Form
A
- actionPerformed(ActionEvent) - Method in class io.github.astrapi69.awt.action.DisposeWindowAction
- actionPerformed(ActionEvent) - Method in class io.github.astrapi69.awt.action.NoAction
- awt.extensions.main - module awt.extensions.main
-
The MIT License Copyright (C) 2022 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- AwtExtensions - Class in io.github.astrapi69.awt.extension
-
The class
AwtExtensions
- AwtExtensions() - Constructor for class io.github.astrapi69.awt.extension.AwtExtensions
C
- centralize(Component, int, int) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Set given
Window
to the center of the device and divide them with the given arguments - centralize(Window, int, int) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Set given
Window
to the center of the device and divide them with the given arguments - ClipboardExtensions - Class in io.github.astrapi69.awt.extension
-
The class
ClipboardExtensions
- ClipboardExtensions() - Constructor for class io.github.astrapi69.awt.extension.ClipboardExtensions
- CloseWindow - Class in io.github.astrapi69.awt.window.adapter
-
The class CloseWindow is an Adapter class for the WindowAdapter to close the window and exit the programm.
- CloseWindow() - Constructor for class io.github.astrapi69.awt.window.adapter.CloseWindow
- computeDialogPositions(int, int) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Compute how much dialog can be put into the screen and returns a list with the coordinates from the dialog positions as Point objects.
- copyToClipboard(String) - Static method in class io.github.astrapi69.awt.extension.ClipboardExtensions
-
Copy the given
String
object to the clipboard
D
- DisposeWindow - Class in io.github.astrapi69.awt.window.adapter
-
The class DisposeWindow is an Adapter class for the WindowAdapter to dispose the window and setVisible to false.
- DisposeWindow() - Constructor for class io.github.astrapi69.awt.window.adapter.DisposeWindow
- DisposeWindowAction - Class in io.github.astrapi69.awt.action
-
The class
DisposeWindowAction
. - DisposeWindowAction(Window) - Constructor for class io.github.astrapi69.awt.action.DisposeWindowAction
-
Instantiates a new
DisposeWindowAction
.
G
- getAvailableScreens() - Static method in class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
-
Gets the available screens.
- getFirstScreenHeight() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the first screen width.
- getFirstScreenWidth() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the first screen width.
- getGraphicsConfiguration(int) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the
GraphicsConfiguration
from the given screen id - getGraphicsDevice(int) - Static method in class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
-
Gets the
Optional
with anGraphicsDevice
in it or if it does not exist theOptional
object is empty. - getGraphicsDeviceIndexIsShowingOn(Component) - Static method in class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
-
Gets the array index(in the available
GraphicsDevice
array) of the given component is showing on. - getGraphicsDeviceIsShowingOn(Component) - Static method in class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
-
Gets the graphics device (screen) is showing on.
- getPoint() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the Screensize and returns it as a Point object.
- getRootJDialog(Component) - Static method in class io.github.astrapi69.awt.extension.AwtExtensions
-
Gets the root JDialog from the given Component Object.
- getRootJFrame(Component) - Static method in class io.github.astrapi69.awt.extension.AwtExtensions
-
Gets the root JFrame from the given Component Object.
- getRootParent(Component) - Static method in class io.github.astrapi69.awt.extension.AwtExtensions
-
Gets the root parent from the given Component Object.
- getScreenDevice(int) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen device from the given screen id
- getScreenDevices() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets all the screen devices.
- getScreenDimension(Component) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen dimension.
- getScreenHeight() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the height from the current screen.
- getScreenHeight(Component) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen height of the
GraphicsDevice
that is displayed from the given component - getScreenHeight(GraphicsConfiguration) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen width from the given
GraphicsConfiguration
object - getScreenHeight(GraphicsDevice) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen height from the given
GraphicsDevice
object. - getScreenID(Component) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen ID from the given component
- getScreenWidth() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the width from the current screen.
- getScreenWidth(Component) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen width of the
GraphicsDevice
that is displayed from the given component - getScreenWidth(GraphicsConfiguration) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen width from the given
GraphicsConfiguration
object - getScreenWidth(GraphicsDevice) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the screen width from the given
GraphicsDevice
object. - getSystemClipboard() - Static method in class io.github.astrapi69.awt.extension.AwtExtensions
-
Gets the
Clipboard
of the system - getWindowForComponent(Component) - Static method in class io.github.astrapi69.awt.extension.AwtExtensions
-
Gets the toplevel
Frame
orDialog
- GraphicsDeviceExtensions - Class in io.github.astrapi69.awt.screen
-
The class
GraphicsDeviceExtensions
helps you if the user has more than one screen to determine which screen is currently shown. - GraphicsDeviceExtensions() - Constructor for class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
I
- io.github.astrapi69.awt.action - package io.github.astrapi69.awt.action
- io.github.astrapi69.awt.extension - package io.github.astrapi69.awt.extension
- io.github.astrapi69.awt.screen - package io.github.astrapi69.awt.screen
- io.github.astrapi69.awt.system - package io.github.astrapi69.awt.system
- io.github.astrapi69.awt.window.adapter - package io.github.astrapi69.awt.window.adapter
- isScreenAvailableToShow(int) - Static method in class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
-
Checks if the given screen number is available to show.
M
- maximize(Component) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Maximizes the given
Window
from the given component - maximize(Window) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Maximizes the given
Window
N
- newInvisibleCursor() - Static method in class io.github.astrapi69.awt.extension.AwtExtensions
-
Creates an invisible cursor.
- newSystemTray(TrayIcon, PopupMenu) - Static method in class io.github.astrapi69.awt.system.SystemTrayFactory
- newTrayIcon(String, String, PopupMenu, Map<String, ActionListener>) - Static method in class io.github.astrapi69.awt.system.SystemTrayFactory
-
Factory method for create a
TrayIcon
object - NoAction - Class in io.github.astrapi69.awt.action
-
The class
NoAction
as the name say there is no action - NoAction() - Constructor for class io.github.astrapi69.awt.action.NoAction
-
Instantiates a new
NoAction
object - NoAction(String) - Constructor for class io.github.astrapi69.awt.action.NoAction
-
Instantiates a new
NoAction
object
O
- onNoAction(ActionEvent) - Method in class io.github.astrapi69.awt.action.NoAction
-
Callback method to interact on no action
S
- ScreenSizeExtensions - Class in io.github.astrapi69.awt.screen
-
Utility class for handle with screensize.
- ScreenSizeExtensions() - Constructor for class io.github.astrapi69.awt.screen.ScreenSizeExtensions
- setDefaultFrameSize(Frame) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Sets the default sceen size from the given
Frame
- showFrame(Frame) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Bring the given
Frame
to the front - showOnScreen(int, T) - Static method in class io.github.astrapi69.awt.screen.GraphicsDeviceExtensions
-
If the screen is available, the given window will be shown in the given screen
- SystemTrayFactory - Class in io.github.astrapi69.awt.system
-
The class
SystemTrayFactory
provides factory methods for create system tray Menu - SystemTrayFactory() - Constructor for class io.github.astrapi69.awt.system.SystemTrayFactory
T
- toggleFullScreen(JFrame) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Toggle given
Frame
to full screen mode or if it is in full screen mode its returns to normal mode
W
- windowClosed(WindowEvent) - Method in class io.github.astrapi69.awt.window.adapter.CloseWindow
- windowClosed(WindowEvent) - Method in class io.github.astrapi69.awt.window.adapter.DisposeWindow
- windowClosing(WindowEvent) - Method in class io.github.astrapi69.awt.window.adapter.CloseWindow
- windowClosing(WindowEvent) - Method in class io.github.astrapi69.awt.window.adapter.DisposeWindow
All Classes and Interfaces|All Packages|Serialized Form