< prev index next >

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

Print this page
rev 54097 : 8259869: [macOS] Remove desktop module dependencies on JNF Reference APIs

*** 30,44 **** #import "CMenuBar.h" #import "LWCToolkit.h" @class AWTView; - @class JNFWeakJObjectWrapper; @interface AWTWindow : NSObject <NSWindowDelegate> { @private ! JNFWeakJObjectWrapper *javaPlatformWindow; CMenuBar *javaMenuBar; NSSize javaMinSize; NSSize javaMaxSize; jint styleBits; BOOL isEnabled; --- 30,43 ---- #import "CMenuBar.h" #import "LWCToolkit.h" @class AWTView; @interface AWTWindow : NSObject <NSWindowDelegate> { @private ! jobject javaPlatformWindow; /* This is a weak ref. Always copy to a local ref before using */ CMenuBar *javaMenuBar; NSSize javaMinSize; NSSize javaMaxSize; jint styleBits; BOOL isEnabled;
*** 50,71 **** } // An instance of either AWTWindow_Normal or AWTWindow_Panel @property (nonatomic, retain) NSWindow *nsWindow; ! @property (nonatomic, retain) JNFWeakJObjectWrapper *javaPlatformWindow; @property (nonatomic, retain) CMenuBar *javaMenuBar; @property (nonatomic, retain) AWTWindow *ownerWindow; @property (nonatomic) NSSize javaMinSize; @property (nonatomic) NSSize javaMaxSize; @property (nonatomic) jint styleBits; @property (nonatomic) BOOL isEnabled; @property (nonatomic) jint preFullScreenLevel; @property (nonatomic) NSRect standardFrame; @property (nonatomic) BOOL isMinimizing; ! - (id) initWithPlatformWindow:(JNFWeakJObjectWrapper *)javaPlatformWindow ownerWindow:owner styleBits:(jint)styleBits frameRect:(NSRect)frameRect contentView:(NSView *)contentView; --- 49,70 ---- } // An instance of either AWTWindow_Normal or AWTWindow_Panel @property (nonatomic, retain) NSWindow *nsWindow; ! @property (nonatomic) jobject javaPlatformWindow; @property (nonatomic, retain) CMenuBar *javaMenuBar; @property (nonatomic, retain) AWTWindow *ownerWindow; @property (nonatomic) NSSize javaMinSize; @property (nonatomic) NSSize javaMaxSize; @property (nonatomic) jint styleBits; @property (nonatomic) BOOL isEnabled; @property (nonatomic) jint preFullScreenLevel; @property (nonatomic) NSRect standardFrame; @property (nonatomic) BOOL isMinimizing; ! - (id) initWithPlatformWindow:(jobject)javaPlatformWindow ownerWindow:owner styleBits:(jint)styleBits frameRect:(NSRect)frameRect contentView:(NSView *)contentView;
< prev index next >