src/macosx/classes/sun/lwawt/PlatformWindow.java

Print this page




  80      * Returns the window insets.
  81      */
  82     public Insets getInsets();
  83 
  84     /*
  85      * Returns the metrics for a given font.
  86      */
  87     public FontMetrics getFontMetrics(Font f);
  88 
  89     /*
  90      * Get the SurfaceData for the window.
  91      */
  92     public SurfaceData getScreenSurface();
  93 
  94     /*
  95      * Revalidates the window's current SurfaceData and returns
  96      * the newly created one.
  97      */
  98     public SurfaceData replaceSurfaceData();
  99 
 100     /*
 101      * Creates a new image to serve as a back buffer.
 102      */
 103     public Image createBackBuffer();
 104 
 105     /*
 106      * Move the given part of the back buffer to the front buffer.
 107      */
 108     public void flip(int x1, int y1, int x2, int y2,
 109                      BufferCapabilities.FlipContents flipAction);
 110 
 111     public void setModalBlocked(boolean blocked);
 112 
 113     public void toFront();
 114 
 115     public void toBack();
 116 
 117     public void setMenuBar(MenuBar mb);
 118 
 119     public void setAlwaysOnTop(boolean value);
 120 
 121     public PlatformWindow getTopmostPlatformWindowUnderMouse();
 122 
 123     public void updateFocusableWindowState();
 124 
 125     public boolean rejectFocusRequest(CausedFocusEvent.Cause cause);
 126 
 127     public boolean requestWindowFocus();
 128 
 129     /*
 130      * Returns true only when called on a frame/dialog when it's natively focused.




  80      * Returns the window insets.
  81      */
  82     public Insets getInsets();
  83 
  84     /*
  85      * Returns the metrics for a given font.
  86      */
  87     public FontMetrics getFontMetrics(Font f);
  88 
  89     /*
  90      * Get the SurfaceData for the window.
  91      */
  92     public SurfaceData getScreenSurface();
  93 
  94     /*
  95      * Revalidates the window's current SurfaceData and returns
  96      * the newly created one.
  97      */
  98     public SurfaceData replaceSurfaceData();
  99 











 100     public void setModalBlocked(boolean blocked);
 101 
 102     public void toFront();
 103 
 104     public void toBack();
 105 
 106     public void setMenuBar(MenuBar mb);
 107 
 108     public void setAlwaysOnTop(boolean value);
 109 
 110     public PlatformWindow getTopmostPlatformWindowUnderMouse();
 111 
 112     public void updateFocusableWindowState();
 113 
 114     public boolean rejectFocusRequest(CausedFocusEvent.Cause cause);
 115 
 116     public boolean requestWindowFocus();
 117 
 118     /*
 119      * Returns true only when called on a frame/dialog when it's natively focused.