Index
All Classes and Interfaces|All Packages|Constant Field Values|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
- AwtExtensions - Class in io.github.astrapi69.awt.extension
-
The class
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
- 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
- ComponentPositionModel - Class in io.github.astrapi69.awt.screen.position
-
The class
ComponentPositionModel
holds the information from the position of a component - ComponentPositionModel() - Constructor for class io.github.astrapi69.awt.screen.position.ComponentPositionModel
- ComponentPositionPreference - Enum Class in io.github.astrapi69.awt.screen.position
-
The enum
ComponentPositionPreference
holds the key suffixes that will be saved in the preferences and the default with and height - ComponentPositionStore - Class in io.github.astrapi69.awt.screen.position
-
The class
ComponentPositionStore
provides algorithms to store the component position - ComponentPositionStore(Component, Class<?>) - Constructor for class io.github.astrapi69.awt.screen.position.ComponentPositionStore
-
Instantiates a new
ComponentPositionStore
object with the given parameters - ComponentPositionStore(Component, Class<?>, int, int) - Constructor for class io.github.astrapi69.awt.screen.position.ComponentPositionStore
-
Instantiates a new
ComponentPositionStore
object with the given parameters - 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
- DEFAULT_HEIGHT - Static variable in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
The constant for the default height
- DEFAULT_WIDTH - Static variable in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
The constant for the default width
- 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() - Constructor for class io.github.astrapi69.awt.action.DisposeWindowAction
-
Instantiates a new
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
- getScreenSizeDimension() - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Gets the
Dimension
object from the current screen size - 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.
H
- HEIGHT - Enum constant in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
The enum for the height window position key for the preference
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.screen.position - package io.github.astrapi69.awt.screen.position
- io.github.astrapi69.awt.system - package io.github.astrapi69.awt.system
- io.github.astrapi69.awt.window.adapter - package io.github.astrapi69.awt.window.adapter
- io.github.astrapisixtynine.awt.extensions - module io.github.astrapisixtynine.awt.extensions
-
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.
- 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
R
- restorePosition() - Method in class io.github.astrapi69.awt.screen.position.ComponentPositionStore
-
Restores the window position from the preferences
S
- ScreenSizeExtensions - Class in io.github.astrapi69.awt.screen
-
Utility class for handle with screensize.
- setComponentPosition(Component, ComponentPositionModel) - Static method in class io.github.astrapi69.awt.screen.ScreenSizeExtensions
-
Positions the given window from the given position model
- 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
- storePosition() - Method in class io.github.astrapi69.awt.screen.position.ComponentPositionStore
-
Stores the window position to the preferences
- SystemTrayFactory - Class in io.github.astrapi69.awt.system
-
The class
SystemTrayFactory
provides factory methods for create system tray Menu
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
V
- valueOf(String) - Static method in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WIDTH - Enum constant in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
The enum for the width window position key for the preference
- 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
X
- X_POSITION - Enum constant in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
The enum for the X position window position key for the preference
Y
- Y_POSITION - Enum constant in enum class io.github.astrapi69.awt.screen.position.ComponentPositionPreference
-
The enum for the Y position window position key for the preference
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form