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

Print this page




  50      */
  51     public void dispose();
  52 
  53     /*
  54      * Shows or hides the window.
  55      */
  56     public void setVisible(boolean visible);
  57 
  58     /*
  59      * Sets the window title
  60      */
  61     public void setTitle(String title);
  62 
  63     /*
  64      * Sets the window bounds. Called when user changes window bounds
  65      * with setSize/setLocation/setBounds/reshape methods.
  66      */
  67     public void setBounds(int x, int y, int w, int h);
  68 
  69     /*





  70      * Returns the graphics device where the window is.
  71      */
  72     public GraphicsDevice getGraphicsDevice();
  73 
  74     /*
  75      * Returns the location of the window.
  76      */
  77     public Point getLocationOnScreen();
  78 
  79     /*
  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     /*




  50      */
  51     public void dispose();
  52 
  53     /*
  54      * Shows or hides the window.
  55      */
  56     public void setVisible(boolean visible);
  57 
  58     /*
  59      * Sets the window title
  60      */
  61     public void setTitle(String title);
  62 
  63     /*
  64      * Sets the window bounds. Called when user changes window bounds
  65      * with setSize/setLocation/setBounds/reshape methods.
  66      */
  67     public void setBounds(int x, int y, int w, int h);
  68 
  69     /*
  70      * Sets the maximized bounds.
  71      */
  72     public default void setMaximizedBounds(int x, int y, int w, int h){}
  73 
  74     /*
  75      * Returns the graphics device where the window is.
  76      */
  77     public GraphicsDevice getGraphicsDevice();
  78 
  79     /*
  80      * Returns the location of the window.
  81      */
  82     public Point getLocationOnScreen();
  83 
  84     /*
  85      * Returns the window insets.
  86      */
  87     public Insets getInsets();
  88 
  89     /*
  90      * Returns the metrics for a given font.
  91      */
  92     public FontMetrics getFontMetrics(Font f);
  93 
  94     /*