blob: 629e1c3d6c8da3e3a27def1ffeb7e9097b0f5607 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
//
// LiBrowserColumn.h
// Liaison
//
// Created by Brian Cully on Thu May 15 2003.
// Copyright (c) 2003 Brian Cully. All rights reserved.
//
@interface LiBrowserColumn : NSObject
{
id theIdentifier;
NSString *theColumnName;
NSCell *theCell;
NSNumber *theWidth;
SEL theGetMethod;
SEL theSetMethod;
SEL theCompareMethod;
BOOL theColumnIsEditable;
BOOL theColumnIsResizable;
BOOL theColumnShowsHeader;
}
- (id)objectForRecord: (id)aRecord;
- (void)setObject: (id)anObject forRecord: (id)aRecord;
@property (getter=resizable,setter=setResizable:) BOOL theColumnIsResizable;
@property (getter=setMethod,setter=setSetMethod:) SEL theSetMethod;
@property (retain,getter=name) NSString *theColumnName;
@property (getter=compareMethod,setter=setCompareMethod:) SEL theCompareMethod;
@property (getter=showsHeader,setter=setShowsHeader:) BOOL theColumnShowsHeader;
@property (retain,getter=identifier) id theIdentifier;
@property (retain,getter=width) NSNumber *theWidth;
@property (getter=editable,setter=setEditable:) BOOL theColumnIsEditable;
@property (getter=getMethod,setter=setGetMethod:) SEL theGetMethod;
@property (retain,getter=cell) NSCell *theCell;
@end
@interface LiBrowserColumn (Accessors)
- (id)identifier;
- (void)setIdentifier: (id)anIdentifier;
- (NSString *)name;
- (void)setName: (NSString *)aName;
- (BOOL)editable;
- (void)setEditable: (BOOL)editable;
- (BOOL)resizable;
- (void)setResizable: (BOOL)resizable;
- (BOOL)showsHeader;
- (void)setShowsHeader: (BOOL)showHeader;
- (NSCell *)cell;
- (void)setCell: (NSCell *)aCell;
- (SEL)getMethod;
- (void)setGetMethod: (SEL)aSelector;
- (SEL)setMethod;
- (void)setSetMethod: (SEL)aSelector;
- (SEL)compareMethod;
- (void)setCompareMethod: (SEL)aSelector;
- (NSNumber *)width;
- (void)setWidth: (NSNumber *)aWidth;
@end
|