src/macosx/classes/sun/lwawt/macosx/CWrapper.java
Print this page
*** 70,101 ****
public static native void zoom(long window);
public static native void makeFirstResponder(long window, long responder);
public static native long screen(long window);
}
public static final class NSView {
public static native void addSubview(long view, long subview);
public static native void removeFromSuperview(long view);
public static native void setFrame(long view, int x, int y, int w, int h);
public static native Rectangle2D frame(long view);
public static native long window(long view);
-
- public static native void enterFullScreenMode(long view);
- public static native void exitFullScreenMode(long view);
}
public static final class NSObject {
public static native void release(long object);
}
public static final class NSScreen {
public static native Rectangle2D frame(long screen);
public static native Rectangle2D visibleFrame(long screen);
public static native long screenByDisplayId(int displayID);
}
public static final class NSColor {
public static native long clearColor();
}
--- 70,107 ----
public static native void zoom(long window);
public static native void makeFirstResponder(long window, long responder);
public static native long screen(long window);
+
+ public static native void toggleFullScreen(long window, long sender);
}
public static final class NSView {
public static native void addSubview(long view, long subview);
public static native void removeFromSuperview(long view);
public static native void setFrame(long view, int x, int y, int w, int h);
public static native Rectangle2D frame(long view);
public static native long window(long view);
}
public static final class NSObject {
public static native void release(long object);
}
public static final class NSScreen {
public static native Rectangle2D frame(long screen);
public static native Rectangle2D visibleFrame(long screen);
public static native long screenByDisplayId(int displayID);
+
+ /** [[[NSScreen screens] objectAtIndex:i] retain]. */
+ public static native long screens(int i);
+ }
+
+ public static final class NSMenu {
+ public static native void setMenuBarVisible(boolean visible);
}
public static final class NSColor {
public static native long clearColor();
}