Package com.formdev.flatlaf.ui
Class FlatWindowResizer.WindowResizer
java.lang.Object
com.formdev.flatlaf.ui.FlatWindowResizer
com.formdev.flatlaf.ui.FlatWindowResizer.WindowResizer
- All Implemented Interfaces:
ComponentListener
,WindowStateListener
,PropertyChangeListener
,EventListener
- Enclosing class:
FlatWindowResizer
public static class FlatWindowResizer.WindowResizer
extends FlatWindowResizer
implements WindowStateListener
Resizes frames and dialogs.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.formdev.flatlaf.ui.FlatWindowResizer
FlatWindowResizer.DragBorderComponent, FlatWindowResizer.InternalFrameResizer, FlatWindowResizer.WindowResizer
-
Field Summary
FieldsFields inherited from class com.formdev.flatlaf.ui.FlatWindowResizer
borderDragThickness, bottomDragComp, cornerDragWidth, honorDialogMinimumSizeOnResize, honorFrameMinimumSizeOnResize, leftDragComp, resizeComp, rightDragComp, topDragComp, WINDOW_RESIZER_LAYER
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.formdev.flatlaf.ui.FlatWindowResizer
beginResizing, componentHidden, componentMoved, componentResized, componentShown, createDragBorderComponent, doLayout, endResizing, getResizeInsets, propertyChange, uninstall, updateVisibility
-
Field Details
-
window
-
limitResizeToScreenBounds
private final boolean limitResizeToScreenBounds
-
-
Constructor Details
-
WindowResizer
-
-
Method Details
-
addNotify
protected void addNotify()- Overrides:
addNotify
in classFlatWindowResizer
-
removeNotify
protected void removeNotify()- Overrides:
removeNotify
in classFlatWindowResizer
-
isWindowResizable
protected boolean isWindowResizable()- Specified by:
isWindowResizable
in classFlatWindowResizer
-
getWindowBounds
- Specified by:
getWindowBounds
in classFlatWindowResizer
-
setWindowBounds
- Specified by:
setWindowBounds
in classFlatWindowResizer
-
limitToParentBounds
protected boolean limitToParentBounds()- Specified by:
limitToParentBounds
in classFlatWindowResizer
-
getParentBounds
- Specified by:
getParentBounds
in classFlatWindowResizer
-
honorMinimumSizeOnResize
protected boolean honorMinimumSizeOnResize()- Specified by:
honorMinimumSizeOnResize
in classFlatWindowResizer
-
honorMaximumSizeOnResize
protected boolean honorMaximumSizeOnResize()- Specified by:
honorMaximumSizeOnResize
in classFlatWindowResizer
-
getWindowMinimumSize
- Specified by:
getWindowMinimumSize
in classFlatWindowResizer
-
getWindowMaximumSize
- Specified by:
getWindowMaximumSize
in classFlatWindowResizer
-
isDialog
boolean isDialog()- Overrides:
isDialog
in classFlatWindowResizer
-
windowStateChanged
- Specified by:
windowStateChanged
in interfaceWindowStateListener
-