API  1.0.0
CPWindow.h
Go to the documentation of this file.
1 
2 @interface CPWindow : CPResponder
3 {
4  CPPlatformWindow _platformWindow;
5 
6  int _windowNumber;
7  unsigned _styleMask;
8  CGRect _frame;
9  int _level;
10  BOOL _isVisible;
11  BOOL _hasBeenOrderedIn // @accessors;
12  BOOL _isMiniaturized;
13  BOOL _isAnimating // @accessors(setter=_setAnimating:);
14  BOOL _hasShadow;
15  BOOL _isMovableByWindowBackground;
16  BOOL _isMovable;
17  BOOL _constrainsToUsableScreen;
18  unsigned _shadowStyle;
19  BOOL _showsResizeIndicator;
20 
21  int _positioningMask;
22  CGRect _positioningScreenRect;
23 
24  BOOL _isDocumentEdited;
25  BOOL _isDocumentSaving;
26 
27  CPImageView _shadowView;
28 
29  CPView _windowView;
30  CPView _contentView;
31  CPView _toolbarView;
32 
33  BOOL _handlingTrackingAreaEvent;
34  BOOL _restartHandlingTrackingAreaEvent;
35  CPArray _previousMouseEnteredStack;
36  CPArray _previousCursorUpdateStack;
37  CPArray _mouseEnteredStack;
38  CPArray _cursorUpdateStack;
39  CPArray _queuedEvents;
40  CPArray _trackingAreaViews;
41  id _activeCursorTrackingArea;
42  CPArray _queuedTrackingEvents;
43  CPView _leftMouseDownView;
44  CPView _rightMouseDownView;
45 
46  CPToolbar _toolbar;
47  CPResponder _firstResponder;
48  CPResponder _initialFirstResponder;
49  BOOL _hasBecomeKeyWindow;
50  id <CPWindowDelegate> _delegate;
51  unsigned _implementedDelegateMethods;
52 
53  CPString _title;
54 
55  BOOL _acceptsMouseMovedEvents;
56  BOOL _ignoresMouseEvents;
57 
58  CPWindowController _windowController;
59 
60  CGSize _minSize;
61  CGSize _maxSize;
62 
63  CPUndoManager _undoManager;
64  CPURL _representedURL;
65 
66  CPSet _registeredDraggedTypes;
67  CPArray _registeredDraggedTypesArray;
68  CPCountedSet _inclusiveRegisteredDraggedTypes;
69 
70  CPButton _defaultButton;
71  BOOL _defaultButtonEnabled;
72  BOOL _defaultButtonDisabledTemporarily;
73 
74  BOOL _autorecalculatesKeyViewLoop;
75  BOOL _keyViewLoopIsDirty;
76 
77  BOOL _sharesChromeWithPlatformWindow;
78 
79  // Bridge Support
80 #if PLATFORM(DOM)
81  DOMElement _DOMElement;
82 #endif
83 
84  unsigned _autoresizingMask;
85 
86  BOOL _isFullPlatformWindow;
87  _CPWindowFullPlatformWindowSession _fullPlatformWindowSession;
88 
89  CPWindow _parentWindow;
90  CPArray _childWindows;
91  CPWindowOrderingMode _childOrdering // @accessors(setter=_setChildOrdering);
92 
93  CPDictionary _sheetContext;
94  CPWindow _parentView;
95  BOOL _isSheet;
96  _CPWindowFrameAnimation _frameAnimation;
97  _CPWindowFrameAnimationDelegate _frameAnimationDelegate;
98 }
99 @end
A mutable key-value pair collection.
Definition: CPDictionary.h:2
An immutable string (collection of characters).
Definition: CPString.h:2
An mutable collection which may contain a specific object numerous times.
Definition: CPCountedSet.h:2
A general mechanism for user action "undo".
Definition: CPUndoManager.h:2
Definition: CPURL.h:2
Definition: CPView.j:137