API  0.9.10
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;
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 
73  BOOL _autorecalculatesKeyViewLoop;
74  BOOL _keyViewLoopIsDirty;
75 
76  BOOL _sharesChromeWithPlatformWindow;
77 
78  // Bridge Support
79 #if PLATFORM(DOM)
80  DOMElement _DOMElement;
81 #endif
82 
83  unsigned _autoresizingMask;
84 
85  BOOL _isFullPlatformWindow;
86  _CPWindowFullPlatformWindowSession _fullPlatformWindowSession;
87 
88  CPWindow _parentWindow;
89  CPArray _childWindows;
90  CPWindowOrderingMode _childOrdering // @accessors(setter=_setChildOrdering);
91 
92  CPDictionary _sheetContext;
93  CPWindow _parentView;
94  BOOL _isSheet;
95  _CPWindowFrameAnimation _frameAnimation;
96 }
97 @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:136