src/share/classes/sun/swing/LightweightContent.java

Print this page




 162      */
 163     public void focusUngrabbed();
 164 
 165     /**
 166      * {@code JLightweightFrame} calls this method to notify the client
 167      * application that the content preferred size has changed.
 168      */
 169     public void preferredSizeChanged(int width, int height);
 170 
 171     /**
 172      * {@code JLightweightFrame} calls this method to notify the client
 173      * application that the content maximum size has changed.
 174      */
 175     public void maximumSizeChanged(int width, int height);
 176 
 177     /**
 178      * {@code JLightweightFrame} calls this method to notify the client
 179      * application that the content minimum size has changed.
 180      */
 181     public void minimumSizeChanged(int width, int height);








 182 }


 162      */
 163     public void focusUngrabbed();
 164 
 165     /**
 166      * {@code JLightweightFrame} calls this method to notify the client
 167      * application that the content preferred size has changed.
 168      */
 169     public void preferredSizeChanged(int width, int height);
 170 
 171     /**
 172      * {@code JLightweightFrame} calls this method to notify the client
 173      * application that the content maximum size has changed.
 174      */
 175     public void maximumSizeChanged(int width, int height);
 176 
 177     /**
 178      * {@code JLightweightFrame} calls this method to notify the client
 179      * application that the content minimum size has changed.
 180      */
 181     public void minimumSizeChanged(int width, int height);
 182 
 183     /**
 184      * Invokes a runnable on the client's toolkit thread
 185      * @param r a runnable to invoke
 186      */
 187     default public void invokeOnClientToolkitThread(Runnable r) {
 188         throw new UnsupportedOperationException("Unsupported client implementation");
 189     }
 190 }