diff options
Diffstat (limited to 'netx/com')
-rw-r--r-- | netx/com/jogamp/plugin/ui/NativeWindowDownstream.java | 14 | ||||
-rw-r--r-- | netx/com/jogamp/plugin/ui/NativeWindowUpstream.java | 12 |
2 files changed, 13 insertions, 13 deletions
diff --git a/netx/com/jogamp/plugin/ui/NativeWindowDownstream.java b/netx/com/jogamp/plugin/ui/NativeWindowDownstream.java index bed433b..c698f05 100644 --- a/netx/com/jogamp/plugin/ui/NativeWindowDownstream.java +++ b/netx/com/jogamp/plugin/ui/NativeWindowDownstream.java @@ -38,12 +38,12 @@ public interface NativeWindowDownstream { /** * Destroys this window incl. releasing all related resources. */ - public void destroy(); + void destroy(); /** * @return The parent NativeWindow, or null if this NativeWindow is top level. */ - public NativeWindowUpstream getParent(); + NativeWindowUpstream getParent(); /** * Returns the window handle for this applet. <P> @@ -54,22 +54,22 @@ public interface NativeWindowDownstream { * On X11 this returns an entity of type Window. <BR> * On Microsoft Windows this returns an entity of type HWND. */ - public long getWindowHandle(); + long getWindowHandle(); /** * Set size. */ - public void setSize(int width, int height); + void setSize(int width, int height); /** * Request focus. */ - public void requestFocus(); + void requestFocus(); /** * Set this NativeWindow visible state. */ - public void setVisible(boolean v); + void setVisible(boolean v); /** * Trigger asynchronous rendering of this display's content. @@ -77,7 +77,7 @@ public interface NativeWindowDownstream { * Method shall return immediately and not wait for result. * </p> */ - public void display(); + void display(); /** * Notify applet that the plugin's window has changed it's position. diff --git a/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java b/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java index 942b509..91b2390 100644 --- a/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java +++ b/netx/com/jogamp/plugin/ui/NativeWindowUpstream.java @@ -38,12 +38,12 @@ public interface NativeWindowUpstream { * On X11 this returns the X11 display connection string, e.g. <code>:0.0</code>.<BR> * </p> */ - public String getDisplayConnection(); + String getDisplayConnection(); /** * Returns the screen index for this NativeWindow. */ - public int getScreenIndex(); + int getScreenIndex(); /** * Returns the window handle for this NativeWindow. <P> @@ -54,7 +54,7 @@ public interface NativeWindowUpstream { * On X11 this returns an entity of type Window. <BR> * On Microsoft Windows this returns an entity of type HWND. */ - public long getWindowHandle(); + long getWindowHandle(); /** * @return the current x position of the top-left corner @@ -74,16 +74,16 @@ public interface NativeWindowUpstream { * Returns the width of the client area excluding insets (window decorations). * @return width of the client area */ - public int getWidth(); + int getWidth(); /** * Returns the height of the client area excluding insets (window decorations). * @return height of the client area */ - public int getHeight(); + int getHeight(); /** * Notify plugin that the applet's window has been <i>updated</i>, e.g. rendered and swapped. */ - public void notifySurfaceUpdated(NativeWindowDownstream swappedWin); + void notifySurfaceUpdated(NativeWindowDownstream swappedWin); } |