git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8763 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2001-01-24 23:55:33 +00:00
parent b0804bd8a4
commit ecba11a6f8

View file

@ -36,55 +36,55 @@
@interface NSTableColumn : NSObject @interface NSTableColumn : NSObject
{ {
id _identifier; id _identifier;
NSTableView* _tableView; NSTableView *_tableView;
float _width; float _width;
float _min_width; float _min_width;
float _max_width; float _max_width;
BOOL _is_resizable; BOOL _is_resizable;
BOOL _is_editable; BOOL _is_editable;
NSCell* _headerCell; NSCell *_headerCell;
NSCell* _dataCell; NSCell *_dataCell;
} }
/* /*
* Initializing an NSTableColumn instance * Initializing an NSTableColumn instance
*/ */
- (NSTableColumn*)initWithIdentifier: (id)anObject; - (NSTableColumn *) initWithIdentifier: (id)anObject;
/* /*
* Managing the Identifier * Managing the Identifier
*/ */
- (void)setIdentifier: (id)anObject; - (void) setIdentifier: (id)anObject;
- (id)identifier; - (id) identifier;
/* /*
* Setting the NSTableView * Setting the NSTableView
*/ */
- (void)setTableView: (NSTableView*)aTableView; - (void) setTableView: (NSTableView *)aTableView;
- (NSTableView *)tableView; - (NSTableView *) tableView;
/* /*
* Controlling size * Controlling size
*/ */
- (void)setWidth: (float)newWidth; - (void) setWidth: (float)newWidth;
- (float)width; - (float) width;
- (void)setMinWidth: (float)minWidth; - (void) setMinWidth: (float)minWidth;
- (float)minWidth; - (float) minWidth;
- (void)setMaxWidth: (float)maxWidth; - (void) setMaxWidth: (float)maxWidth;
- (float)maxWidth; - (float) maxWidth;
- (void)setResizable: (BOOL)flag; - (void) setResizable: (BOOL)flag;
- (BOOL)isResizable; - (BOOL) isResizable;
- (void)sizeToFit; - (void) sizeToFit;
/* /*
* Controlling editability * Controlling editability
*/ */
- (void)setEditable: (BOOL)flag; - (void) setEditable: (BOOL)flag;
- (BOOL)isEditable; - (BOOL) isEditable;
/* /*
* Setting component cells * Setting component cells
*/ */
- (void)setHeaderCell: (NSCell*)aCell; - (void) setHeaderCell: (NSCell *)aCell;
- (NSCell*)headerCell; - (NSCell *) headerCell;
- (void)setDataCell: (NSCell*)aCell; - (void) setDataCell: (NSCell *)aCell;
- (NSCell*)dataCell; - (NSCell *) dataCell;
@end @end
/* Notifications */ /* Notifications */
extern NSString* NSTableViewColumnDidResizeNotification; extern NSString *NSTableViewColumnDidResizeNotification;
#endif #endif