Class ResizableWindow

All Implemented Interfaces:
ResizableSupport, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer

public class ResizableWindow extends JWindow implements ResizableSupport
A resizable window.
See Also:
  • Constructor Details

    • ResizableWindow

      public ResizableWindow()
    • ResizableWindow

      public ResizableWindow(Frame owner)
    • ResizableWindow

      public ResizableWindow(GraphicsConfiguration gc)
    • ResizableWindow

      public ResizableWindow(Window owner)
    • ResizableWindow

      public ResizableWindow(Window owner, GraphicsConfiguration gc)
  • Method Details

    • initComponents

      protected void initComponents()
      Initializes the resizable window.
    • beginResizing

      protected void beginResizing()
    • resizing

      protected void resizing()
    • endResizing

      protected void endResizing()
    • setBorder

      public void setBorder(Border border)
      Sets the border of the resizable window. Do not pass in an empty border. Otherwise the window won't be resizable.
      Specified by:
      setBorder in interface ResizableSupport
      Parameters:
      border - the border.
    • getBorder

      public Border getBorder()
      Gets the border of the resizable window. By default, UIManagerLookup.getBorder("Resizable.resizeBorder") will be used.
      Specified by:
      getBorder in interface ResizableSupport
      Returns:
      the border.
    • getResizable

      public Resizable getResizable()
      Gets the underlying Resizable.
      Specified by:
      getResizable in interface ResizableSupport
      Returns:
      the Resizable.
    • getRoutingComponent

      public Component getRoutingComponent()
    • setRoutingKeyStrokes

      public void setRoutingKeyStrokes(boolean routingKeyStrokes)
    • isRoutingKeyStrokes

      public boolean isRoutingKeyStrokes()