VisualComponent.st
changeset 994 1b606988c010
parent 962 e6ccfc7fb22e
child 1220 39e5e28042da
equal deleted inserted replaced
993:2b42f3515f05 994:1b606988c010
   156     ^ self container
   156     ^ self container
   157 
   157 
   158     "Created: / 18.6.1998 / 16:16:07 / cg"
   158     "Created: / 18.6.1998 / 16:16:07 / cg"
   159 ! !
   159 ! !
   160 
   160 
   161 !VisualComponent methodsFor:'accessing - dimensions'!
   161 !VisualComponent methodsFor:'accessing-STX-attributes'!
       
   162 
       
   163 borderWidth
       
   164     ^ 0
       
   165 
       
   166     "Modified: / 6.7.1998 / 13:47:28 / cg"
       
   167 !
       
   168 
       
   169 layout:newLayout
       
   170 
       
   171     "Modified: / 6.7.1998 / 13:46:17 / cg"
       
   172     "Created: / 6.7.1998 / 13:48:35 / cg"
       
   173 !
       
   174 
       
   175 level
       
   176     ^ 0
       
   177 
       
   178     "Modified: / 6.7.1998 / 13:46:17 / cg"
       
   179     "Created: / 6.7.1998 / 13:46:50 / cg"
       
   180 !
       
   181 
       
   182 level:newLevel
       
   183 
       
   184     "Modified: / 6.7.1998 / 13:46:17 / cg"
       
   185     "Created: / 6.7.1998 / 13:47:43 / cg"
       
   186 ! !
       
   187 
       
   188 !VisualComponent methodsFor:'accessing-dimensions'!
   162 
   189 
   163 bottom
   190 bottom
   164     "return my bottom y coordinate"
   191     "return my bottom y coordinate"
   165 
   192 
   166     ^ self bounds bottom
   193     ^ self bounds bottom
   325 keyRelease:key x:x y:y
   352 keyRelease:key x:x y:y
   326     "key was released over me - ignored here"
   353     "key was released over me - ignored here"
   327 
   354 
   328     "Created: 8.5.1996 / 23:46:07 / cg"
   355     "Created: 8.5.1996 / 23:46:07 / cg"
   329     "Modified: 9.5.1996 / 00:14:19 / cg"
   356     "Modified: 9.5.1996 / 00:14:19 / cg"
       
   357 !
       
   358 
       
   359 mapped
       
   360 
       
   361     "Created: / 6.7.1998 / 13:48:46 / cg"
       
   362 !
       
   363 
       
   364 showFocus:explicit
       
   365 
       
   366     "Created: / 6.7.1998 / 13:49:05 / cg"
       
   367 !
       
   368 
       
   369 showNoFocus:explicit
       
   370 
       
   371     "Created: / 6.7.1998 / 13:49:12 / cg"
   330 ! !
   372 ! !
   331 
   373 
   332 !VisualComponent methodsFor:'initialization'!
   374 !VisualComponent methodsFor:'initialization'!
   333 
   375 
   334 initialize
   376 initialize
   335 
   377 
   336     "Modified: 10.2.1997 / 19:28:11 / cg"
   378     "Modified: 10.2.1997 / 19:28:11 / cg"
   337 ! !
   379 ! !
   338 
   380 
   339 !VisualComponent methodsFor:'queries'!
   381 !VisualComponent methodsFor:'queries'!
       
   382 
       
   383 delegate
       
   384     ^ nil
       
   385 
       
   386     "Created: / 6.7.1998 / 13:50:10 / cg"
       
   387 !
   340 
   388 
   341 heightOn:aGC
   389 heightOn:aGC
   342     "return my height, if displayed on aGC;
   390     "return my height, if displayed on aGC;
   343      I assume that my height is independent of the device, and return
   391      I assume that my height is independent of the device, and return
   344      the bounds height"
   392      the bounds height"
   358      ^ false
   406      ^ false
   359 
   407 
   360     "Created: 19.7.1996 / 17:50:59 / cg"
   408     "Created: 19.7.1996 / 17:50:59 / cg"
   361 !
   409 !
   362 
   410 
       
   411 isRootView
       
   412     ^ false
       
   413 
       
   414     "Created: / 6.7.1998 / 13:50:01 / cg"
       
   415 !
       
   416 
   363 isWrapper
   417 isWrapper
   364      ^ false
   418      ^ false
   365 
   419 
   366     "Created: 5.6.1996 / 01:04:40 / cg"
   420     "Created: 5.6.1996 / 01:04:40 / cg"
   367 !
   421 !
   406 ! !
   460 ! !
   407 
   461 
   408 !VisualComponent class methodsFor:'documentation'!
   462 !VisualComponent class methodsFor:'documentation'!
   409 
   463 
   410 version
   464 version
   411     ^ '$Header: /cvs/stx/stx/libview2/VisualComponent.st,v 1.15 1998-06-18 14:56:22 cg Exp $'
   465     ^ '$Header: /cvs/stx/stx/libview2/VisualComponent.st,v 1.16 1998-07-06 15:53:43 cg Exp $'
   412 ! !
   466 ! !