FSWindowController


Inherits From:
NSWindowController
Declared In:
FSWindowController.h


Class Description

No class description.


Instance Variables

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;

pageDockNo description.
rightDockNo description.
headDockNo description.
leftDockNo description.
tableViewNo description.
_tableThe table this view displays.
_pageHeadersNo description.
_pageKeySetsNo description.
_rightHeadersNo description.
_rightKeySetsNo description.
_topHeadersNo description.
_topKeySetsNo description.
_sideHeadersNo description.
_sideKeySetsNo description.
_nameNo description.
_commentNo description.
_headerColorsNo description.
_defaultCellStyleNo description.


Method Types

- table
- setTable:
- syncWithDocument
- setPageHeaders:
- setRightHeaders:
- setTopHeaders:
- setSideHeaders:
- createHeaderSets
- updateDisplay
- layoutDictionary
- applyLayoutDictionary:
- name
- setName:
- comment
- setComment:
- _cacheLayout
- _storeLayout
- tableWillChange:
- tableDidChange:
- valueDidChange:

Instance Methods

_cacheLayout

- (void)_cacheLayout

This implementation does nothing. Subclasses can implement this method to cache layout information. FSWindowController calls this method whenever the document structure changed.


_storeLayout

- (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.


applyLayoutDictionary:

- (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.


comment

- (NSData*)comment

Returns the comment.


createHeaderSets

- (void)createHeaderSets

Recreates the header docks and internal information to support it. Must be called after the top/left association of headers changes.


layoutDictionary

- (NSDictionary*)layoutDictionary

Subclasses should implement this method so layout information can be saved to a file or pasteboard. This super implementation should be called.


name

- (NSString *)name

Returns the name for this window.


setComment:

- (void)setComment:(NSData*)comment

No method description.


setName:

- (void)setName:(NSString*)name

Sets a name for this window. Users can give each view on the data a different name.


setPageHeaders:

- (void)setPageHeaders:(NSArray*)headers

No method description.


setRightHeaders:

- (void)setRightHeaders:(NSArray*)headers

No method description.


setSideHeaders:

- (void)setSideHeaders:(NSArray*)headers

No method description.


setTable:

- (void)setTable:(FSTable*)table

No method description.


setTopHeaders:

- (void)setTopHeaders:(NSArray*)headers

No method description.


syncWithDocument

- (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.


table

- (FSTable*)table

No method description.


tableDidChange:

- (void)tableDidChange:(NSNotification*)notification

No method description.


tableWillChange:

- (void)tableWillChange:(NSNotification*)notification

No method description.


updateDisplay

- (void)updateDisplay

Marks views as dirty. Subclasses should overwrite and call super.


valueDidChange:

- (void)valueDidChange:(NSNotification*)notification

No method description.


Version 1.1 Copyright ©2002 by Stefan Leuker. All Rights Reserved.