Squeak Class Documentation category index | class index  
 
TextFieldMorph
  category: Morphic-Text Support
  superclass: RectangleMorph
  subclasses:

Act as a field in a HyperCard-like setting. Has both properties of a Rectangle, and exposes some proteries of the TextMorph it owns.

instance methods
  card & stack
  couldHoldSeparateDataForEachInstance
currentDataValue
setNewContentsFrom:
variableDocks

  just like textMorph
  append:
contents
contents:
fit
fontName:size:
initialize
lineCount

class methods
  instance creation
  authoringPrototype
exampleBackgroundField

instance methods
  card & stack top  
 

couldHoldSeparateDataForEachInstance

Answer whether this type of morph is inherently capable of holding separate data for each instance ('card data')


 

currentDataValue

Answer the current data value held by the receiver


 

setNewContentsFrom:

talk to my text


 

variableDocks

Answer a list of VariableDock objects for docking up my data with an instance held in my containing playfield


  just like textMorph top  
 

append:

add to my text


 

contents

talk to my text


 

contents:

talk to my text


 

fit

tell my text to recompute its looks


 

fontName:size:

talk to my text


 

initialize

set up the field


 

lineCount

how many lines in my text


class methods
  instance creation top  
 

authoringPrototype

Answer an instance of the receiver that can serve as a prototype for authoring


 

exampleBackgroundField

Answer a scrollable background field for a parts bin