CharacterArray.st
changeset 350 54d513b45f51
parent 345 cf2301210c47
child 356 6c5ce0e1e7a8
equal deleted inserted replaced
349:33d5e92c4ce7 350:54d513b45f51
    19 
    19 
    20 CharacterArray comment:'
    20 CharacterArray comment:'
    21 COPYRIGHT (c) 1994 by Claus Gittinger
    21 COPYRIGHT (c) 1994 by Claus Gittinger
    22 	      All Rights Reserved
    22 	      All Rights Reserved
    23 
    23 
    24 $Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.21 1995-05-16 17:06:01 claus Exp $
    24 $Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.22 1995-05-18 22:49:21 claus Exp $
    25 '!
    25 '!
    26 
    26 
    27 !CharacterArray class methodsFor:'documentation'!
    27 !CharacterArray class methodsFor:'documentation'!
    28 
    28 
    29 copyright
    29 copyright
    40 "
    40 "
    41 !
    41 !
    42 
    42 
    43 version
    43 version
    44 "
    44 "
    45 $Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.21 1995-05-16 17:06:01 claus Exp $
    45 $Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.22 1995-05-18 22:49:21 claus Exp $
    46 "
    46 "
    47 !
    47 !
    48 
    48 
    49 documentation
    49 documentation
    50 "
    50 "
  1827      is known to be a string."
  1827      is known to be a string."
  1828 
  1828 
  1829     ^ self , string1 , string2 , string3
  1829     ^ self , string1 , string2 , string3
  1830 ! !
  1830 ! !
  1831 
  1831 
       
  1832 !CharacterArray methodsFor:'displaying'!
       
  1833 
       
  1834 displayOn:aGc x:x y:y
       
  1835     "display the receiver in a graphicsContext - this method allows
       
  1836      strings to be used like DisplayObjects."
       
  1837 
       
  1838     ^ aGc displayString:self x:x y:y.
       
  1839 ! !
       
  1840 
  1832 !CharacterArray methodsFor:'queries'!
  1841 !CharacterArray methodsFor:'queries'!
  1833 
  1842 
  1834 isString
  1843 isString
  1835     "return true, if the receiver is some kind of string;
  1844     "return true, if the receiver is some kind of string;
  1836      true is returned here - redefinition of Object>>isString."
  1845      true is returned here - redefinition of Object>>isString."