51
|
1 |
Object subclass:#ViewProperty
|
57
|
2 |
instanceVariableNames:'aspectSelector changeSelector nameIndex view elementClass
|
59
|
3 |
labelSelector identifier tabable defaultable menuSelector
|
|
4 |
initiallyInvisible'
|
52
|
5 |
classVariableNames:'Identifier'
|
|
6 |
poolDictionaries:''
|
|
7 |
privateIn:UIPainterView
|
51
|
8 |
!
|
|
9 |
|
|
10 |
!UIPainterView::ViewProperty class methodsFor:'instance creation'!
|
|
11 |
|
|
12 |
new
|
|
13 |
Identifier notNil ifTrue:[Identifier := Identifier + 1]
|
|
14 |
ifFalse:[Identifier := 1].
|
|
15 |
|
|
16 |
^ self basicNew initialize
|
|
17 |
! !
|
|
18 |
|
|
19 |
!UIPainterView::ViewProperty methodsFor:'accessing'!
|
|
20 |
|
|
21 |
aspectSelector
|
|
22 |
"return the value of the instance variable 'aspectSelector' (automatically generated)"
|
|
23 |
|
|
24 |
^ aspectSelector
|
|
25 |
!
|
|
26 |
|
|
27 |
aspectSelector:something
|
|
28 |
"set the value of the instance variable 'aspectSelector' (automatically generated)"
|
|
29 |
|
|
30 |
aspectSelector := something.
|
|
31 |
!
|
|
32 |
|
|
33 |
changeSelector
|
|
34 |
"return the value of the instance variable 'changeSelector' (automatically generated)"
|
|
35 |
|
|
36 |
^ changeSelector!
|
|
37 |
|
|
38 |
changeSelector:something
|
|
39 |
"set the value of the instance variable 'changeSelector' (automatically generated)"
|
|
40 |
|
|
41 |
changeSelector := something.!
|
|
42 |
|
59
|
43 |
defaultable
|
|
44 |
"return the value of the instance variable 'defaultable' (automatically generated)"
|
|
45 |
|
|
46 |
^ defaultable!
|
|
47 |
|
|
48 |
defaultable:something
|
|
49 |
"set the value of the instance variable 'defaultable' (automatically generated)"
|
|
50 |
|
|
51 |
defaultable := something.!
|
|
52 |
|
51
|
53 |
elementClass
|
|
54 |
"return the value of the instance variable 'elementClass' (automatically generated)"
|
|
55 |
|
|
56 |
^ elementClass!
|
|
57 |
|
|
58 |
elementClass:something
|
|
59 |
"set the value of the instance variable 'elementClass' (automatically generated)"
|
|
60 |
|
|
61 |
elementClass := something.!
|
|
62 |
|
|
63 |
group
|
|
64 |
^ nil
|
|
65 |
!
|
|
66 |
|
|
67 |
identifier
|
|
68 |
"return the unique identifier assigned to property
|
|
69 |
"
|
|
70 |
^ identifier
|
|
71 |
!
|
|
72 |
|
59
|
73 |
initiallyInvisible
|
|
74 |
"return the value of the instance variable 'initiallyInvisible' (automatically generated)"
|
|
75 |
|
|
76 |
^ initiallyInvisible!
|
|
77 |
|
|
78 |
initiallyInvisible:something
|
|
79 |
"set the value of the instance variable 'initiallyInvisible' (automatically generated)"
|
|
80 |
|
|
81 |
initiallyInvisible := something.!
|
|
82 |
|
51
|
83 |
labelSelector
|
|
84 |
"return the value of the instance variable 'labelSelector' (automatically generated)"
|
|
85 |
|
|
86 |
^ labelSelector!
|
|
87 |
|
|
88 |
labelSelector:something
|
|
89 |
"set the value of the instance variable 'labelSelector' (automatically generated)"
|
|
90 |
|
|
91 |
labelSelector := something.!
|
|
92 |
|
59
|
93 |
menuSelector
|
|
94 |
"return the value of the instance variable 'menuSelector' (automatically generated)"
|
|
95 |
|
|
96 |
^ menuSelector!
|
|
97 |
|
|
98 |
menuSelector:something
|
|
99 |
"set the value of the instance variable 'menuSelector' (automatically generated)"
|
|
100 |
|
|
101 |
menuSelector := something.!
|
|
102 |
|
51
|
103 |
name
|
|
104 |
"return the value of the instance variable 'name' (automatically generated)"
|
|
105 |
|
57
|
106 |
^ view name
|
|
107 |
!
|
51
|
108 |
|
|
109 |
name:something
|
|
110 |
"set the value of the instance variable 'name' (automatically generated)"
|
|
111 |
|
57
|
112 |
view name:something
|
|
113 |
!
|
51
|
114 |
|
|
115 |
nameIndex
|
|
116 |
"return the value of the instance variable 'nameIndex' (automatically generated)"
|
|
117 |
|
|
118 |
^ nameIndex!
|
|
119 |
|
|
120 |
nameIndex:something
|
|
121 |
"set the value of the instance variable 'nameIndex' (automatically generated)"
|
|
122 |
|
|
123 |
nameIndex := something.!
|
|
124 |
|
57
|
125 |
tabable
|
|
126 |
"return the value of the instance variable 'tabable' (automatically generated)"
|
|
127 |
|
|
128 |
^ tabable!
|
|
129 |
|
|
130 |
tabable:something
|
|
131 |
"set the value of the instance variable 'tabable' (automatically generated)"
|
|
132 |
|
|
133 |
tabable := something.!
|
|
134 |
|
51
|
135 |
view
|
|
136 |
"return the value of the instance variable 'view' (automatically generated)"
|
|
137 |
|
|
138 |
^ view!
|
|
139 |
|
|
140 |
view:something
|
|
141 |
"set the value of the instance variable 'view' (automatically generated)"
|
|
142 |
|
|
143 |
view := something.! !
|
|
144 |
|
|
145 |
!UIPainterView::ViewProperty methodsFor:'initialization'!
|
|
146 |
|
|
147 |
initialize
|
|
148 |
super initialize.
|
|
149 |
identifier := Identifier
|
|
150 |
! !
|
|
151 |
|