summaryrefslogtreecommitdiffstats
path: root/Frameworks/LiPlugin/LiInspectorView.m
blob: c5279cdb9df25a87e483912200140b345cb767b8 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
//
//  LiInspectorView.m
//  Liaison
//
//  Created by Brian Cully on Wed May 21 2003.
//  Copyright (c) 2003 Brian Cully. All rights reserved.
//

#import "LiInspectorView.h"

@implementation LiInspectorView
@synthesize theImage;
@synthesize theView;
@synthesize theIdentifier;
@synthesize theName;
@end

@implementation LiInspectorView (Accessors)
- (id)identifier
{
    return theIdentifier;
}

- (void)setIdentifier: (id)anIdentifier
{
    [anIdentifier retain];
    [theIdentifier release];
    theIdentifier = anIdentifier;
}

- (NSString *)name
{
    return theName;
}

- (void)setName: (NSString *)aName
{
    [aName retain];
    [theName release];
    theName = aName;
}

- (NSImage *)image
{
    return theImage;
}

- (void)setImage: (NSImage *)anImage
{
    [anImage retain];
    [theImage release];
    theImage = anImage;
}

- (NSView *)view
{
    return theView;
}

- (void)setView: (NSView *)aView
{
    [aView retain];
    [theView release];
    theView = aView;
}

- (BOOL)isHorizontallyResizable
{
    return theViewIsHorizontallyResizable;
}

- (void)setIsHorizontallyResizable: (BOOL)resizable
{
    theViewIsHorizontallyResizable = resizable;
}

- (BOOL)isVerticallyResizable
{
    return theViewisVerticallyResizable;
}

- (void)setIsVerticallyResizable: (BOOL)resizable
{
    theViewisVerticallyResizable = resizable;
}

- (NSSize)viewSize
{
    return theViewSize;
}

- (void)setViewSize: (NSSize)aSize
{
    theViewSize = aSize;
}
@end