public interface WindowPlacementStrategyI
Modifier and Type | Method and Description |
---|---|
default java.awt.Dimension |
addCDEInsets(AbstractClientDesktopElement window,
java.awt.Dimension dim) |
static java.awt.Point |
assertPointInRectangle(java.awt.Point point,
java.awt.Rectangle rectangle)
Moves the given point so it is guaranteed to be inside the given rectangle.
|
java.awt.Rectangle |
calculateBounds(AbstractClientDesktopElement window) |
default java.awt.Dimension |
getPreferredInitialSize(AbstractClientDesktopElement window)
Calculates the preferred initial size of the window.
|
boolean |
wantsMaximum() |
java.awt.Rectangle calculateBounds(AbstractClientDesktopElement window)
boolean wantsMaximum()
static java.awt.Point assertPointInRectangle(java.awt.Point point, java.awt.Rectangle rectangle)
point
- the nonnull location that is requestedrectangle
- the nonnull rectangle the location should be part ofdefault java.awt.Dimension getPreferredInitialSize(AbstractClientDesktopElement window)
window
- the window whose initial size should be get, nonnull.default java.awt.Dimension addCDEInsets(AbstractClientDesktopElement window, java.awt.Dimension dim)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.