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
Fields Modifier and Type Field Description protected Windowwindow-
Fields inherited from class com.formdev.flatlaf.ui.FlatWindowResizer
borderDragThickness, bottomDragComp, cornerDragWidth, honorDialogMinimumSizeOnResize, honorFrameMinimumSizeOnResize, leftDragComp, resizeComp, rightDragComp, topDragComp, WINDOW_RESIZER_LAYER
-
-
Constructor Summary
Constructors Constructor Description WindowResizer(JRootPane rootPane)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddNotify()protected RectanglegetParentBounds()protected RectanglegetWindowBounds()protected DimensiongetWindowMaximumSize()protected DimensiongetWindowMinimumSize()protected booleanhonorMaximumSizeOnResize()protected booleanhonorMinimumSizeOnResize()protected booleanisWindowResizable()protected booleanlimitToParentBounds()protected voidremoveNotify()protected voidsetWindowBounds(Rectangle r)voidwindowStateChanged(WindowEvent e)-
Methods inherited from class com.formdev.flatlaf.ui.FlatWindowResizer
beginResizing, componentHidden, componentMoved, componentResized, componentShown, createDragBorderComponent, doLayout, endResizing, getResizeInsets, propertyChange, uninstall, updateVisibility
-
-
-
-
Field Detail
-
window
protected Window window
-
-
Constructor Detail
-
WindowResizer
public WindowResizer(JRootPane rootPane)
-
-
Method Detail
-
addNotify
protected void addNotify()
- Overrides:
addNotifyin classFlatWindowResizer
-
removeNotify
protected void removeNotify()
- Overrides:
removeNotifyin classFlatWindowResizer
-
isWindowResizable
protected boolean isWindowResizable()
- Specified by:
isWindowResizablein classFlatWindowResizer
-
getWindowBounds
protected Rectangle getWindowBounds()
- Specified by:
getWindowBoundsin classFlatWindowResizer
-
setWindowBounds
protected void setWindowBounds(Rectangle r)
- Specified by:
setWindowBoundsin classFlatWindowResizer
-
limitToParentBounds
protected boolean limitToParentBounds()
- Specified by:
limitToParentBoundsin classFlatWindowResizer
-
getParentBounds
protected Rectangle getParentBounds()
- Specified by:
getParentBoundsin classFlatWindowResizer
-
honorMinimumSizeOnResize
protected boolean honorMinimumSizeOnResize()
- Specified by:
honorMinimumSizeOnResizein classFlatWindowResizer
-
honorMaximumSizeOnResize
protected boolean honorMaximumSizeOnResize()
- Specified by:
honorMaximumSizeOnResizein classFlatWindowResizer
-
getWindowMinimumSize
protected Dimension getWindowMinimumSize()
- Specified by:
getWindowMinimumSizein classFlatWindowResizer
-
getWindowMaximumSize
protected Dimension getWindowMaximumSize()
- Specified by:
getWindowMaximumSizein classFlatWindowResizer
-
windowStateChanged
public void windowStateChanged(WindowEvent e)
- Specified by:
windowStateChangedin interfaceWindowStateListener
-
-