Class FlatWindowsNativeWindowBorder.WndProc

java.lang.Object
com.formdev.flatlaf.ui.FlatWindowsNativeWindowBorder.WndProc
All Implemented Interfaces:
PropertyChangeListener, EventListener
Enclosing class:
FlatWindowsNativeWindowBorder

private class FlatWindowsNativeWindowBorder.WndProc extends Object implements PropertyChangeListener
  • Field Details

  • Constructor Details

    • WndProc

      WndProc(Window window)
  • Method Details

    • uninstall

      void uninstall()
    • propertyChange

      public void propertyChange(PropertyChangeEvent e)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • updateWindowBackground

      private void updateWindowBackground()
    • installImpl

      private long installImpl(Window window)
    • uninstallImpl

      private void uninstallImpl(long hwnd)
    • updateFrame

      private void updateFrame(long hwnd, int state)
    • setWindowBackground

      private void setWindowBackground(long hwnd, int r, int g, int b)
    • showWindow

      private void showWindow(long hwnd, int cmd)
    • onNcHitTest

      private int onNcHitTest(int x, int y, boolean isOnResizeBorder)
    • contains

      private boolean contains(Rectangle rect, Point pt)
    • scaleDown

      private Point scaleDown(int x, int y)
      Scales down in the same way as AWT. See AwtWin32GraphicsDevice::ScaleDownX() and ::ScaleDownY()
    • clipRound

      private int clipRound(double value)
      Rounds in the same way as AWT. See AwtWin32GraphicsDevice::ClipRound()
    • isFullscreen

      private boolean isFullscreen()
    • fireStateChangedLaterOnce

      private void fireStateChangedLaterOnce()