From 61a3ed58b969c75a398e6bb8d753dfb5445e6c10 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 31 Jan 2014 10:20:20 +0100 Subject: NativeWindow* Interfaces: Remove redundant 'public' qualifier --- netx/com/jogamp/plugin/ui/NativeWindowDownstream.java | 14 +++++++------- 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.

@@ -54,22 +54,22 @@ public interface NativeWindowDownstream { * On X11 this returns an entity of type Window.
* 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. *

*/ - 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. :0.0.
*

*/ - public String getDisplayConnection(); + String getDisplayConnection(); /** * Returns the screen index for this NativeWindow. */ - public int getScreenIndex(); + int getScreenIndex(); /** * Returns the window handle for this NativeWindow.

@@ -54,7 +54,7 @@ public interface NativeWindowUpstream { * On X11 this returns an entity of type Window.
* 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 updated, e.g. rendered and swapped. */ - public void notifySurfaceUpdated(NativeWindowDownstream swappedWin); + void notifySurfaceUpdated(NativeWindowDownstream swappedWin); } -- cgit v1.2.3