VisualComponent.st
author werner
Fri, 02 Apr 2004 18:52:16 +0200
changeset 1973 836eccb0d4cb
parent 1789 f52f0a0d8448
child 2127 0d47162b692b
permissions -rw-r--r--
WO's stuff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 1996 by Claus Gittinger
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
1789
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
    15
"{ Package: 'stx:libview2' }"
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
    16
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
Object subclass:#VisualComponent
406
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
    18
	instanceVariableNames:'bounds'
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	classVariableNames:''
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	poolDictionaries:''
1789
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
    21
	category:'Compatibility-ST80-Graphics-Display Objects'
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    24
!VisualComponent class methodsFor:'documentation'!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
copyright
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
 COPYRIGHT (c) 1996 by Claus Gittinger
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
              All Rights Reserved
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 This software is furnished under a license and may be used
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 only in accordance with the terms of that license and with the
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 be provided or otherwise made available to, or used by, any
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 other person.  No title to or ownership of the software is
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 hereby transferred.
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
documentation
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
    44
    abstract superclass for all kinds of visual components.
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    45
    This class and its subclasses (currently) exist mostly for
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    46
    ST-80 compatibility - to provide a home for ported PD classes,
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    47
    which depend on the VisualComponent hierarchy.
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    48
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    49
    Notice: 
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    50
        this class was implemented using protocol information
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    51
        from alpha testers, from reading PD programs and 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    52
        from the Hopkins/Horan book.
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    53
        - it may not be complete or compatible to the corresponding ST-80 class. 
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    54
        If you encounter any incompatibilities, please forward a note 
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    55
        describing the incompatibility verbal (i.e. no code) to the ST/X team.
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    56
        This is still being constructed - not yet finished.
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    [author:]
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
        Claus Gittinger
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    60
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    61
    [see also:]
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
    62
        GeometricWrapper
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    67
!VisualComponent class methodsFor:'instance creation'!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
new
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
    ^ self basicNew initialize
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
962
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    73
!VisualComponent class methodsFor:'queries'!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    74
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    75
defaultFont
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    76
    ^ SimpleView defaultFont
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    77
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    78
    "Created: / 18.6.1998 / 16:14:22 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    79
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    80
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    81
defaultViewBackgroundColor
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    82
    ^ SimpleView defaultViewBackgroundColor
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    83
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    84
    "Created: / 18.6.1998 / 16:15:17 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    85
! !
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    86
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
!VisualComponent methodsFor:'accessing'!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
962
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    89
backgroundColor
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    90
    ^ Color white
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    91
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    92
    "Created: / 18.6.1998 / 16:01:00 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    93
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    94
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    95
backgroundColor:aColor
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    96
    "ignored here"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    97
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    98
    "Created: / 18.6.1998 / 16:15:28 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
    99
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   100
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   101
container:someContainer
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   102
    "ignored here"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   103
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   104
    "Created: 9.5.1996 / 00:48:54 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   105
!
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   106
962
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   107
defaultFont
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   108
    ^ SimpleView defaultFont
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   109
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   110
    "Created: / 18.6.1998 / 16:13:56 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   111
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   112
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   113
font:aFont
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   114
    "ignored here"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   115
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   116
    "Created: / 18.6.1998 / 16:14:39 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   117
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   118
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   119
foregroundColor
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   120
    ^ Color black
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   121
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   122
    "Created: / 18.6.1998 / 16:01:07 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   123
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   124
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   125
foregroundColor:aColor
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   126
    "ignored here"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   127
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   128
    "Created: / 18.6.1998 / 16:14:53 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   129
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   130
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   131
geometryLayout:aLayout
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   132
    "ignored here"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   133
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   134
    "Created: / 18.6.1998 / 16:15:39 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   135
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   136
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   137
hiddenOnRealize:aBoolean
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   138
    "ignored here"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   139
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   140
    "Created: / 18.6.1998 / 16:13:19 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   141
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   142
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   143
id
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   144
    "ignored here"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   145
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   146
    ^ nil
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   147
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   148
    "Created: / 18.6.1998 / 16:13:34 / cg"
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   149
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   150
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   151
setParentViewIn:aView
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   152
    "ignored here - for now"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   153
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   154
    "Created: 9.5.1996 / 00:19:39 / cg"
962
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   155
!
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   156
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   157
superView
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   158
    ^ self container
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   159
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   160
    "Created: / 18.6.1998 / 16:16:07 / cg"
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   161
! !
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   162
994
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   163
!VisualComponent methodsFor:'accessing-STX-attributes'!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   164
1270
774bf14543af more view compatibility
Claus Gittinger <cg@exept.de>
parents: 1220
diff changeset
   165
application
774bf14543af more view compatibility
Claus Gittinger <cg@exept.de>
parents: 1220
diff changeset
   166
    ^ self container application
774bf14543af more view compatibility
Claus Gittinger <cg@exept.de>
parents: 1220
diff changeset
   167
774bf14543af more view compatibility
Claus Gittinger <cg@exept.de>
parents: 1220
diff changeset
   168
    "Created: / 19.11.1999 / 17:44:38 / cg"
774bf14543af more view compatibility
Claus Gittinger <cg@exept.de>
parents: 1220
diff changeset
   169
!
774bf14543af more view compatibility
Claus Gittinger <cg@exept.de>
parents: 1220
diff changeset
   170
994
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   171
borderWidth
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   172
    ^ 0
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   173
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   174
    "Modified: / 6.7.1998 / 13:47:28 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   175
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   176
1789
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   177
borderWidth:aNumber
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   178
    ^ 0
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   179
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   180
    "Modified: / 6.7.1998 / 13:47:28 / cg"
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   181
!
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   182
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   183
canTab:aBoolean
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   184
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   185
    "Modified: / 6.7.1998 / 13:46:17 / cg"
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   186
    "Created: / 6.7.1998 / 13:48:35 / cg"
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   187
!
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   188
994
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   189
layout:newLayout
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   190
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   191
    "Modified: / 6.7.1998 / 13:46:17 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   192
    "Created: / 6.7.1998 / 13:48:35 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   193
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   194
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   195
level
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   196
    ^ 0
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   197
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   198
    "Modified: / 6.7.1998 / 13:46:17 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   199
    "Created: / 6.7.1998 / 13:46:50 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   200
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   201
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   202
level:newLevel
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   203
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   204
    "Modified: / 6.7.1998 / 13:46:17 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   205
    "Created: / 6.7.1998 / 13:47:43 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   206
! !
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   207
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   208
!VisualComponent methodsFor:'accessing-dimensions'!
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   209
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   210
bottom
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   211
    "return my bottom y coordinate"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   212
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   213
    ^ self bounds bottom
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   214
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   215
    "Modified: 9.5.1996 / 00:13:12 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   216
    "Created: 26.5.1996 / 12:56:12 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   217
!
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   218
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
bounds
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   220
    "return my bounds"
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   221
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
    ^ bounds
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
    "Created: 8.5.1996 / 23:35:19 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   225
    "Modified: 9.5.1996 / 00:12:00 / cg"
962
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   226
!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   228
bounds:aRectangle
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   229
    "set my bounds"
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   230
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   231
    bounds := aRectangle
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
    "Created: 8.5.1996 / 23:36:07 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   234
    "Modified: 9.5.1996 / 00:13:12 / cg"
962
e6ccfc7fb22e added more dummy methods to allow visualComponents to be
Claus Gittinger <cg@exept.de>
parents: 406
diff changeset
   235
!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   237
left
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   238
    "return my left x coordinate"
250
40acd5bd28ef checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   239
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   240
    ^ self bounds left
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   241
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   242
    "Created: 8.5.1996 / 23:36:07 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   243
    "Modified: 26.5.1996 / 12:56:22 / cg"
250
40acd5bd28ef checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   244
!
40acd5bd28ef checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   245
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
preferredBounds
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   247
    "return my preferredBounds"
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   248
323
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   249
    ^ 0@0 extent:100@100
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
    "Created: 8.5.1996 / 23:36:29 / cg"
323
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   252
    "Modified: 19.7.1996 / 20:06:28 / cg"
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   253
!
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   254
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   255
preferredExtent
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   256
    ^ self preferredBounds extent
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   257
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   258
    "Modified: 9.5.1996 / 00:13:22 / cg"
323
ee2f4da361a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 321
diff changeset
   259
    "Created: 19.7.1996 / 20:06:19 / cg"
247
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   260
!
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   261
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   262
right
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   263
    "return my right x coordinate"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   264
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   265
    ^ self bounds right
247
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   266
274
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   267
    "Modified: 9.5.1996 / 00:13:12 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   268
    "Created: 26.5.1996 / 12:56:25 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   269
!
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   270
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   271
top
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   272
    "return my top y coordinate"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   273
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   274
    ^ self bounds top
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   275
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   276
    "Modified: 9.5.1996 / 00:13:12 / cg"
434f1bc78362 category changes
Claus Gittinger <cg@exept.de>
parents: 266
diff changeset
   277
    "Created: 26.5.1996 / 12:56:15 / cg"
321
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   278
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   279
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   280
viewRectangle
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   281
    ^ self bounds
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   282
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   283
    "Created: 19.7.1996 / 17:24:58 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
293
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   286
!VisualComponent methodsFor:'accessing-mvc'!
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   287
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   288
model
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   289
    "return nil - generic components have no model"
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   290
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   291
    ^ nil
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   292
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   293
    "Created: 5.6.1996 / 14:18:16 / cg"
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   294
! !
d10ad10d23fa prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 291
diff changeset
   295
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   296
!VisualComponent methodsFor:'displaying'!
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   297
406
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   298
displayOn:aGC
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   299
    "display the receiver on some graphicsContext. 
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   300
     The sender is repsonsible for restoring the GC's state
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   301
     (i.e. it may be left in any undefined state)"
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   302
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   303
    self subclassResponsibility
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   304
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   305
    "Modified: 10.2.1997 / 13:53:03 / cg"
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   306
!
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   307
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   308
displayOn:aGC at:aPoint
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   309
    "display the receiver translated by some amount on some graphicsContext"
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   310
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   311
    |oldTranslation|
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   312
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   313
    oldTranslation := aGC translation.
406
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   314
    aGC translateBy:aPoint.
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   315
    self displayOn:aGC.
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   316
    aGC translation:oldTranslation
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   317
406
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   318
    "Created: 10.2.1997 / 13:47:18 / cg"
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   319
    "Modified: 10.2.1997 / 13:52:53 / cg"
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   320
!
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   321
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   322
displayOn:aGC x:x y:y
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   323
    "display the receiver translated by some amount on some graphicsContext"
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   324
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   325
    ^ self displayOn:aGC at:(x @ y).
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   326
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   327
    "Modified: 10.2.1997 / 13:52:57 / cg"
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   328
! !
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   329
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
!VisualComponent methodsFor:'event handling'!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   332
buttonPress:button x:x y:y
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   333
    "button was pressed over me - ignored here"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   334
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   335
    "Modified: 9.5.1996 / 00:14:08 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
buttonRelease:button x:x y:y
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   339
    "button was released over me - ignored here"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   341
    "Created: 8.5.1996 / 23:38:30 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   342
    "Modified: 9.5.1996 / 00:14:04 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   343
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   344
321
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   345
containerChangedSize
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   346
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   347
    "Created: 19.7.1996 / 17:32:19 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   348
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   349
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   350
containerMapped
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   351
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   352
    "Created: 19.7.1996 / 17:39:27 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   353
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   354
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   355
containerUnmapped
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   356
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   357
    "Created: 19.7.1996 / 17:44:52 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   358
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   359
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   360
destroy
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   361
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   362
    "Created: 19.7.1996 / 17:25:46 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   363
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   364
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
keyPress:key x:x y:y
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   366
    "key was pressed over me - ignored here"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
    "Created: 8.5.1996 / 23:46:03 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   369
    "Modified: 9.5.1996 / 00:14:14 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
keyRelease:key x:x y:y
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   373
    "key was released over me - ignored here"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
    "Created: 8.5.1996 / 23:46:07 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   376
    "Modified: 9.5.1996 / 00:14:19 / cg"
994
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   377
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   378
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   379
mapped
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   380
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   381
    "Created: / 6.7.1998 / 13:48:46 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   382
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   383
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   384
showFocus:explicit
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   385
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   386
    "Created: / 6.7.1998 / 13:49:05 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   387
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   388
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   389
showNoFocus:explicit
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   390
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   391
    "Created: / 6.7.1998 / 13:49:12 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
!VisualComponent methodsFor:'initialization'!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   396
initialize
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   397
406
16d990bcde6e removed fg/bgColor
Claus Gittinger <cg@exept.de>
parents: 365
diff changeset
   398
    "Modified: 10.2.1997 / 19:28:11 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   399
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   400
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   401
!VisualComponent methodsFor:'queries'!
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   402
994
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   403
delegate
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   404
    ^ nil
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   405
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   406
    "Created: / 6.7.1998 / 13:50:10 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   407
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   408
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   409
heightOn:aGC
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   410
    "return my height, if displayed on aGC;
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   411
     I assume that my height is independent of the device, and return
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   412
     the bounds height"
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   413
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   414
    ^ self bounds height
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   415
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   416
    "Modified: 13.5.1996 / 10:15:13 / cg"
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   417
!
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   418
290
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   419
isBorderedWrapper
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   420
     ^ false
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   421
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   422
    "Created: 5.6.1996 / 14:11:18 / cg"
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   423
!
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   424
1220
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   425
isExternalTopView
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   426
    ^ false
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   427
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   428
    "Created: / 6.7.1998 / 13:50:01 / cg"
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   429
!
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   430
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   431
isInputField
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   432
     ^ false
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   433
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   434
    "Created: 19.7.1996 / 17:50:59 / cg"
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   435
!
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   436
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   437
isKeyboardConsumer
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   438
     ^ false
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   439
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   440
    "Created: 19.7.1996 / 17:50:59 / cg"
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   441
!
39e5e28042da protocol fixes to make examples work again
Claus Gittinger <cg@exept.de>
parents: 994
diff changeset
   442
321
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   443
isLayoutWrapper
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   444
     ^ false
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   445
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   446
    "Created: 19.7.1996 / 17:50:59 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   447
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 293
diff changeset
   448
994
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   449
isRootView
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   450
    ^ false
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   451
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   452
    "Created: / 6.7.1998 / 13:50:01 / cg"
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   453
!
1b606988c010 more ST80/STX compatibility
Claus Gittinger <cg@exept.de>
parents: 962
diff changeset
   454
290
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   455
isWrapper
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   456
     ^ false
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   457
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   458
    "Created: 5.6.1996 / 01:04:40 / cg"
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   459
!
d26dc55ac7e4 prepare for components & non-view as superView
Claus Gittinger <cg@exept.de>
parents: 274
diff changeset
   460
265
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   461
widthOn:aGC
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   462
    "return my width, if displayed on aGC;
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   463
     I assume that my width is independent of the device, and return
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   464
     the bounds width"
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   465
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   466
    ^ self bounds width
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   467
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   468
    "Created: 13.5.1996 / 10:14:44 / cg"
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   469
    "Modified: 13.5.1996 / 10:15:17 / cg"
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   470
! !
45c83acd7562 comments
Claus Gittinger <cg@exept.de>
parents: 250
diff changeset
   471
247
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   472
!VisualComponent methodsFor:'testing'!
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   473
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   474
containsPoint:aPoint
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   475
    "return true, if the receiver contains aPoint"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   476
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   477
    ^ self bounds containsPoint:aPoint
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   478
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   479
    "Created: 9.5.1996 / 00:21:44 / cg"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   480
    "Modified: 9.5.1996 / 00:22:00 / cg"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   481
!
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   482
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   483
hasBorder
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   484
    "return true, if the receiver shows a border"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   485
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   486
    ^ false
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   487
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   488
    "Modified: 9.5.1996 / 00:21:29 / cg"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   489
!
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   490
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   491
intersects:aRectangle
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   492
    "return true, if the receivers bounds intersects aRectangle"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   493
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   494
    ^ self bounds intersects:aRectangle
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   495
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   496
    "Created: 9.5.1996 / 00:21:18 / cg"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   497
    "Modified: 9.5.1996 / 00:22:04 / cg"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   498
! !
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
   499
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   500
!VisualComponent class methodsFor:'documentation'!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
version
1789
f52f0a0d8448 category
Claus Gittinger <cg@exept.de>
parents: 1270
diff changeset
   503
    ^ '$Header: /cvs/stx/stx/libview2/VisualComponent.st,v 1.19 2003-08-18 12:13:16 cg Exp $'
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
! !