modules/graphics/src/main/java/com/sun/javafx/tk/TKStage.java

Print this page




  99      * @param visible True if the stage should be visible
 100      */
 101     public void setVisible(boolean visible);
 102 
 103     public void setOpacity(float opacity);
 104 
 105     public void setIconified(boolean iconified);
 106 
 107     public void setMaximized(boolean maximized);
 108 
 109     public void setResizable(boolean resizable);
 110 
 111     public void setImportant(boolean important);
 112 
 113     public void setMinimumSize(int minWidth, int minHeight);
 114 
 115     public void setMaximumSize(int maxWidth, int maxHeight);
 116 
 117     public void setFullScreen(boolean fullScreen);
 118 


 119     // =================================================================================================================
 120     // Functions
 121 
 122     public void requestFocus();
 123     public void toBack();
 124     public void toFront();
 125     public void close();
 126     
 127     public void requestFocus(FocusCause cause);
 128 
 129     /**
 130      * Grabs focus on this window.
 131      *
 132      * All mouse clicks that occur in this window's client area or client-areas
 133      * of any of its unfocusable owned windows are delivered as usual. Whenever
 134      * a click occurs on another app's window (not related via the ownership
 135      * relation with this one, or a focusable owned window), or on non-client
 136      * area of any window (titlebar, etc.), or any third-party app's window, or
 137      * native OS GUI (e.g. a taskbar), the grab is automatically reset, and the
 138      * window that held the grab receives the FOCUS_UNGRAB event.




  99      * @param visible True if the stage should be visible
 100      */
 101     public void setVisible(boolean visible);
 102 
 103     public void setOpacity(float opacity);
 104 
 105     public void setIconified(boolean iconified);
 106 
 107     public void setMaximized(boolean maximized);
 108 
 109     public void setResizable(boolean resizable);
 110 
 111     public void setImportant(boolean important);
 112 
 113     public void setMinimumSize(int minWidth, int minHeight);
 114 
 115     public void setMaximumSize(int maxWidth, int maxHeight);
 116 
 117     public void setFullScreen(boolean fullScreen);
 118 
 119     public void setUpdatesCursor(boolean updatesCursor);
 120 
 121     // =================================================================================================================
 122     // Functions
 123 
 124     public void requestFocus();
 125     public void toBack();
 126     public void toFront();
 127     public void close();
 128     
 129     public void requestFocus(FocusCause cause);
 130 
 131     /**
 132      * Grabs focus on this window.
 133      *
 134      * All mouse clicks that occur in this window's client area or client-areas
 135      * of any of its unfocusable owned windows are delivered as usual. Whenever
 136      * a click occurs on another app's window (not related via the ownership
 137      * relation with this one, or a focusable owned window), or on non-client
 138      * area of any window (titlebar, etc.), or any third-party app's window, or
 139      * native OS GUI (e.g. a taskbar), the grab is automatically reset, and the
 140      * window that held the grab receives the FOCUS_UNGRAB event.