public class TopCenterWindowStrategy extends java.lang.Object implements WindowPlacementStrategyI
Constructor and Description |
---|
TopCenterWindowStrategy(java.awt.Rectangle relativeTo,
boolean maximize) |
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
calculateBounds(AbstractClientDesktopElement window) |
static TopCenterWindowStrategy |
of(javax.swing.JFrame parentFrame,
boolean maximize) |
static TopCenterWindowStrategy |
of(java.awt.Rectangle parentBounds,
boolean maximize) |
boolean |
wantsMaximum() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCDEInsets, assertPointInRectangle, getPreferredInitialSize
public TopCenterWindowStrategy(java.awt.Rectangle relativeTo, boolean maximize)
public static TopCenterWindowStrategy of(java.awt.Rectangle parentBounds, boolean maximize)
public static TopCenterWindowStrategy of(javax.swing.JFrame parentFrame, boolean maximize)
public java.awt.Rectangle calculateBounds(AbstractClientDesktopElement window)
calculateBounds
in interface WindowPlacementStrategyI
public boolean wantsMaximum()
wantsMaximum
in interface WindowPlacementStrategyI
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.