checkin from browser
authorClaus Gittinger <cg@exept.de>
Sun, 02 Nov 1997 18:39:18 +0100
changeset 600 ccedbbd1eac9
parent 599 66c4da764a9e
child 601 b0c2644b5982
checkin from browser
ListEntry.st
--- a/ListEntry.st	Sun Nov 02 18:36:44 1997 +0100
+++ b/ListEntry.st	Sun Nov 02 18:39:18 1997 +0100
@@ -49,20 +49,8 @@
 "
 ! !
 
-!ListEntry methodsFor:'drawing'!
-
-displayOpaqueOn:aGC x:x y:y
-    "display the receiver on a GC"
-
-    ^ self displayOn:aGC x:x y:y opaque:true
-! !
-
 !ListEntry methodsFor:'queries'!
 
-includes:aCharacter 
-    ^ self string includes:aCharacter
-!
-
 printString
     ^ self asString
 
@@ -130,25 +118,44 @@
 !
 
 at:index
+    "behave like a string when accessing characters"
+
     ^ self string at:index
 
-    "Created: 8.2.1996 / 12:53:06 / cg"
+    "Created: / 8.2.1996 / 12:53:06 / cg"
+    "Modified: / 30.10.1997 / 15:41:47 / cg"
 !
 
 do:aBlock
+    "behave like a string when enumerating characters"
+
     ^ self string do:aBlock
 
-    "Created: 8.2.1996 / 12:56:06 / cg"
+    "Created: / 8.2.1996 / 12:56:06 / cg"
+    "Modified: / 30.10.1997 / 15:42:06 / cg"
 !
 
 size
+    "behave like a string when asked for the size"
+
     ^ self string size
 
-    "Created: 8.2.1996 / 12:54:45 / cg"
+    "Created: / 8.2.1996 / 12:54:45 / cg"
+    "Modified: / 30.10.1997 / 15:42:19 / cg"
+! !
+
+!ListEntry methodsFor:'testing'!
+
+includes:aCharacter 
+    "behave like a string when testing"
+
+    ^ self string includes:aCharacter
+
+    "Modified: / 30.10.1997 / 15:42:32 / cg"
 ! !
 
 !ListEntry class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/ListEntry.st,v 1.11 1997-10-15 09:39:25 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/ListEntry.st,v 1.12 1997-11-02 17:39:18 cg Exp $'
 ! !