- Inherits From:
- NSWindowController
- Declared In:
- FSWindowController.h
IBOutlet FSHeaderDock *pageDock;
IBOutlet FSHeaderDock *rightDock;
IBOutlet FSHeaderDock *headDock;
IBOutlet FSHeaderDock *leftDock;
IBOutlet FSTableView *tableView;
FSTable *_table;
NSMutableArray *_pageHeaders;
NSArray *_pageKeySets;
NSMutableArray *_rightHeaders;
NSArray *_rightKeySets;
NSMutableArray *_topHeaders;
NSArray *_topKeySets;
NSMutableArray *_sideHeaders;
NSArray *_sideKeySets;
NSString *_name;
NSData *_comment;
NSMutableDictionary *_headerColors;
FSCellStyle *_defaultCellStyle;
pageDock No description. rightDock No description. headDock No description. leftDock No description. tableView No description. _table The table this view displays. _pageHeaders No description. _pageKeySets No description. _rightHeaders No description. _rightKeySets No description. _topHeaders No description. _topKeySets No description. _sideHeaders No description. _sideKeySets No description. _name No description. _comment No description. _headerColors No description. _defaultCellStyle No description.
- - table
- - setTable:
- - syncWithDocument
- - setPageHeaders:
- - setRightHeaders:
- - setTopHeaders:
- - setSideHeaders:
- - createHeaderSets
- - updateDisplay
- - layoutDictionary
- - applyLayoutDictionary:
- - name
- - setName:
- - comment
- - setComment:
- - _cacheLayout
- - _storeLayout
- - tableWillChange:
- - tableDidChange:
- - valueDidChange:
- (void)_cacheLayout
This implementation does nothing. Subclasses can implement this method to cache layout information. FSWindowController calls this method whenever the document structure changed.
- (void)_storeLayout
This implementation does nothing. Subclasses can implement this method to write back cached layout information. FSWindowController calls this method before the document structure changes.
- (void)applyLayoutDictionary:(NSDictionary*)dict
Subclasses should implement this method so layout information can be restored from a file or pasteboard. This super implementation should be called.
- (NSData*)comment
Returns the comment.
- (void)createHeaderSets
Recreates the header docks and internal information to support it. Must be called after the top/left association of headers changes.
- (NSDictionary*)layoutDictionary
Subclasses should implement this method so layout information can be saved to a file or pasteboard. This super implementation should be called.
- (NSString *)name
Returns the name for this window.
- (void)setComment:(NSData*)comment
No method description.
- (void)setName:(NSString*)name
Sets a name for this window. Users can give each view on the data a different name.
- (void)setPageHeaders:(NSArray*)headers
No method description.
- (void)setRightHeaders:(NSArray*)headers
No method description.
- (void)setSideHeaders:(NSArray*)headers
No method description.
- (void)setTable:(FSTable*)table
No method description.
- (void)setTopHeaders:(NSArray*)headers
No method description.
- (void)syncWithDocument
This method is called from FSDocument. It makes sure all headers in the page, top, left and right docks still exist in the table. Additional headers are added to the page dock after making sure that the top and side docks are not empty.
- (FSTable*)table
No method description.
- (void)tableDidChange:(NSNotification*)notification
No method description.
- (void)tableWillChange:(NSNotification*)notification
No method description.
- (void)updateDisplay
Marks views as dirty. Subclasses should overwrite and call super.
- (void)valueDidChange:(NSNotification*)notification
No method description.