aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/Window.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/javafx/newt/Window.java')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/Window.java29
1 files changed, 16 insertions, 13 deletions
diff --git a/src/classes/com/sun/javafx/newt/Window.java b/src/classes/com/sun/javafx/newt/Window.java
index 6928c3397..b4333bf2b 100755
--- a/src/classes/com/sun/javafx/newt/Window.java
+++ b/src/classes/com/sun/javafx/newt/Window.java
@@ -289,10 +289,22 @@ public abstract class Window implements NativeWindow
return visualID;
}
- public boolean isVisible() {
- return visible;
+ public int getWidth() {
+ return width;
+ }
+
+ public int getHeight() {
+ return height;
}
+ public Object getWrappedWindow() {
+ return null;
+ }
+
+ //
+ // Additional methods
+ //
+
public int getX() {
return x;
}
@@ -301,12 +313,8 @@ public abstract class Window implements NativeWindow
return y;
}
- public int getWidth() {
- return width;
- }
-
- public int getHeight() {
- return height;
+ public boolean isVisible() {
+ return visible;
}
public boolean isFullscreen() {
@@ -314,15 +322,10 @@ public abstract class Window implements NativeWindow
}
public abstract void setVisible(boolean visible);
-
public abstract void setSize(int width, int height);
public abstract void setPosition(int x, int y);
public abstract boolean setFullscreen(boolean fullscreen);
- public Object getWrappedWindow() {
- return null;
- }
-
//
// MouseListener Support
//