src/macosx/classes/sun/lwawt/macosx/CWrapper.java

Print this page




  68 
  69         public static native void miniaturize(long window);
  70         public static native void deminiaturize(long window);
  71         public static native void zoom(long window);
  72 
  73         public static native void makeFirstResponder(long window, long responder);
  74 
  75         public static native long screen(long window);
  76     }
  77 
  78     public static final class NSView {
  79         public static native void addSubview(long view, long subview);
  80         public static native void removeFromSuperview(long view);
  81 
  82         public static native void setFrame(long view, int x, int y, int w, int h);
  83         public static native Rectangle2D frame(long view);
  84         public static native long window(long view);
  85 
  86         public static native void enterFullScreenMode(long view);
  87         public static native void exitFullScreenMode(long view);


  88     }
  89 
  90     public static final class NSObject {
  91         public static native void release(long object);
  92     }
  93 
  94     public static final class NSScreen {
  95         public static native Rectangle2D frame(long screen);
  96         public static native Rectangle2D visibleFrame(long screen);
  97         public static native long screenByDisplayId(int displayID);
  98     }
  99 
 100     public static final class NSColor {
 101         public static native long clearColor();
 102     }
 103 }


  68 
  69         public static native void miniaturize(long window);
  70         public static native void deminiaturize(long window);
  71         public static native void zoom(long window);
  72 
  73         public static native void makeFirstResponder(long window, long responder);
  74 
  75         public static native long screen(long window);
  76     }
  77 
  78     public static final class NSView {
  79         public static native void addSubview(long view, long subview);
  80         public static native void removeFromSuperview(long view);
  81 
  82         public static native void setFrame(long view, int x, int y, int w, int h);
  83         public static native Rectangle2D frame(long view);
  84         public static native long window(long view);
  85 
  86         public static native void enterFullScreenMode(long view);
  87         public static native void exitFullScreenMode(long view);
  88         
  89         public static native void setHidden(long view, boolean hidden);
  90     }
  91 
  92     public static final class NSObject {
  93         public static native void release(long object);
  94     }
  95 
  96     public static final class NSScreen {
  97         public static native Rectangle2D frame(long screen);
  98         public static native Rectangle2D visibleFrame(long screen);
  99         public static native long screenByDisplayId(int displayID);
 100     }
 101 
 102     public static final class NSColor {
 103         public static native long clearColor();
 104     }
 105 }