22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 #ifndef _AWTWINDOW_H 27 #define _AWTWINDOW_H 28 29 #import <Cocoa/Cocoa.h> 30 #import <JavaNativeFoundation/JavaNativeFoundation.h> 31 32 #import "CMenuBar.h" 33 #import "LWCToolkit.h" 34 35 36 @class AWTView; 37 38 @interface AWTWindow : NSPanel <NSWindowDelegate> { 39 @private 40 JNFWeakJObjectWrapper *javaPlatformWindow; 41 CMenuBar *javaMenuBar; 42 NSWindow *growBoxWindow; 43 NSSize javaMinSize; 44 NSSize javaMaxSize; 45 jint styleBits; 46 } 47 48 @property (nonatomic, retain) JNFWeakJObjectWrapper *javaPlatformWindow; 49 @property (nonatomic, retain) CMenuBar *javaMenuBar; 50 @property (nonatomic, retain) NSWindow *growBoxWindow; 51 @property (nonatomic) NSSize javaMinSize; 52 @property (nonatomic) NSSize javaMaxSize; 53 @property (nonatomic) jint styleBits; 54 55 - (id) initWithPlatformWindow:(JNFWeakJObjectWrapper *)javaPlatformWindow 56 styleBits:(jint)styleBits 57 frameRect:(NSRect)frameRect 58 contentView:(NSView *)contentView; 59 60 - (void) adjustGrowBoxWindow; 61 @end 62 63 #endif _AWTWINDOW_H | 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 #ifndef _AWTWINDOW_H 27 #define _AWTWINDOW_H 28 29 #import <Cocoa/Cocoa.h> 30 #import <JavaNativeFoundation/JavaNativeFoundation.h> 31 32 #import "CMenuBar.h" 33 #import "LWCToolkit.h" 34 35 36 @class AWTView; 37 38 @interface AWTWindow : NSPanel <NSWindowDelegate> { 39 @private 40 JNFWeakJObjectWrapper *javaPlatformWindow; 41 CMenuBar *javaMenuBar; 42 NSSize javaMinSize; 43 NSSize javaMaxSize; 44 jint styleBits; 45 } 46 47 @property (nonatomic, retain) JNFWeakJObjectWrapper *javaPlatformWindow; 48 @property (nonatomic, retain) CMenuBar *javaMenuBar; 49 @property (nonatomic) NSSize javaMinSize; 50 @property (nonatomic) NSSize javaMaxSize; 51 @property (nonatomic) jint styleBits; 52 53 - (id) initWithPlatformWindow:(JNFWeakJObjectWrapper *)javaPlatformWindow 54 styleBits:(jint)styleBits 55 frameRect:(NSRect)frameRect 56 contentView:(NSView *)contentView; 57 58 - (void) adjustGrowBoxWindow; 59 @end 60 61 #endif _AWTWINDOW_H |