src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.h

Print this page




  67                     frameRect:(NSRect)frameRect
  68                   contentView:(NSView *)contentView;
  69 
  70 - (BOOL) isTopmostWindowUnderMouse;
  71 
  72 // NSWindow overrides delegate methods
  73 - (BOOL) canBecomeKeyWindow;
  74 - (BOOL) canBecomeMainWindow;
  75 - (BOOL) worksWhenModal;
  76 - (void)sendEvent:(NSEvent *)event;
  77 
  78 + (void) setLastKeyWindow:(AWTWindow *)window;
  79 + (AWTWindow *) lastKeyWindow;
  80 
  81 @end
  82 
  83 @interface AWTWindow_Normal : NSWindow
  84 - (id) initWithDelegate:(AWTWindow *)delegate
  85               frameRect:(NSRect)rect
  86               styleMask:(NSUInteger)styleMask
  87             contentView:(NSView *)view;

  88 @end
  89 
  90 @interface AWTWindow_Panel : NSPanel
  91 - (id) initWithDelegate:(AWTWindow *)delegate
  92               frameRect:(NSRect)rect
  93               styleMask:(NSUInteger)styleMask
  94             contentView:(NSView *)view;

  95 @end
  96 
  97 #endif _AWTWINDOW_H


  67                     frameRect:(NSRect)frameRect
  68                   contentView:(NSView *)contentView;
  69 
  70 - (BOOL) isTopmostWindowUnderMouse;
  71 
  72 // NSWindow overrides delegate methods
  73 - (BOOL) canBecomeKeyWindow;
  74 - (BOOL) canBecomeMainWindow;
  75 - (BOOL) worksWhenModal;
  76 - (void)sendEvent:(NSEvent *)event;
  77 
  78 + (void) setLastKeyWindow:(AWTWindow *)window;
  79 + (AWTWindow *) lastKeyWindow;
  80 
  81 @end
  82 
  83 @interface AWTWindow_Normal : NSWindow
  84 - (id) initWithDelegate:(AWTWindow *)delegate
  85               frameRect:(NSRect)rect
  86               styleMask:(NSUInteger)styleMask
  87             contentView:(NSView *)view
  88                  zoomed:(BOOL)zoomed;
  89 @end
  90 
  91 @interface AWTWindow_Panel : NSPanel
  92 - (id) initWithDelegate:(AWTWindow *)delegate
  93               frameRect:(NSRect)rect
  94               styleMask:(NSUInteger)styleMask
  95             contentView:(NSView *)view
  96                  zoomed:(BOOL)zoomed;
  97 @end
  98 
  99 #endif _AWTWINDOW_H