1193
|
1 |
TreeItem subclass:#TreeItemWithImage
|
|
2 |
instanceVariableNames:'image'
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'Interface-Support'
|
|
6 |
!
|
|
7 |
|
|
8 |
!TreeItemWithImage class methodsFor:'documentation'!
|
|
9 |
|
|
10 |
documentation
|
|
11 |
"
|
|
12 |
Like a regular TreeItem, but provides its own icon image.
|
|
13 |
|
|
14 |
|
|
15 |
[author:]
|
|
16 |
Claus Gittinger (cg@exept)
|
|
17 |
|
|
18 |
[see also:]
|
|
19 |
TreeItem FileTreeItem
|
|
20 |
SelectionInTree SelectionInTreeView
|
|
21 |
|
|
22 |
[instance variables:]
|
|
23 |
image <ImageOrForm> my icon image
|
|
24 |
|
|
25 |
[class variables:]
|
|
26 |
"
|
|
27 |
! !
|
|
28 |
|
|
29 |
!TreeItemWithImage methodsFor:'accessing'!
|
|
30 |
|
|
31 |
image
|
|
32 |
"return the value of the instance variable 'image' (automatically generated)"
|
|
33 |
|
|
34 |
^ image!
|
|
35 |
|
|
36 |
image:something
|
|
37 |
"set the value of the instance variable 'image' (automatically generated)"
|
|
38 |
|
|
39 |
image := something.! !
|
|
40 |
|
|
41 |
!TreeItemWithImage class methodsFor:'documentation'!
|
|
42 |
|
|
43 |
version
|
|
44 |
^ '$Header: /cvs/stx/stx/libwidg2/TreeItemWithImage.st,v 1.1 1999-02-11 17:49:07 cg Exp $'
|
|
45 |
! !
|