Squeak Class Documentation category index | class index  
 
FillInTheBlankMorph
  category: Morphic-Windows
  superclass: RectangleMorph
  subclasses: FillInTheBlankMorphWithDictMenu

No comment. Sorry.

instance methods
  accessing
  response
response:
selectionInterval

  event handling
  handlesMouseDown:
mouseDown:

  grabbing/dropping
  undoGrabCommand

  initialization
  delete
initialize
responseUponCancel:
setPasswordQuery:initialAnswer:answerHeight:acceptOnCR:
setQuery:initialAnswer:answerExtent:acceptOnCR:
setQuery:initialAnswer:answerHeight:
setQuery:initialAnswer:answerHeight:acceptOnCR:

  invoking
  getUserResponse
morphicLayerNumber

  menu
  accept
cancel
codePaneMenu:shifted:
perform:orSendTo:

  object fileIn
  convertToCurrentVersion:refStream:

  private
 

class methods
  default constants
  defaultAnswerExtent

  instance creation
  request:
request:initialAnswer:
request:initialAnswer:centerAt:
request:initialAnswer:centerAt:inWorld:
request:initialAnswer:centerAt:inWorld:onCancelReturn:
request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:
request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:answerExtent:
request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:answerHeight:
requestPassword:
requestPassword:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:

instance methods
  accessing top  
 

response


 

response:

Sent when text pane accepts.


 

selectionInterval


  event handling top  
 

handlesMouseDown:

Do I want to receive mouseDown events (mouseDown:, mouseMove:, mouseUp:)?


 

mouseDown:

Handle a mouse down event. The default response is to let my eventHandler, if any, handle it.


  grabbing/dropping top  
 

undoGrabCommand

Return an undo command for grabbing the receiver


  initialization top  
 

delete

Remove the receiver as a submorph of its owner and make its new owner be nil.


 

initialize


 

responseUponCancel:


 

setPasswordQuery:initialAnswer:answerHeight:acceptOnCR:


 

setQuery:initialAnswer:answerExtent:acceptOnCR:


 

setQuery:initialAnswer:answerHeight:


 

setQuery:initialAnswer:answerHeight:acceptOnCR:


  invoking top  
 

getUserResponse

Wait for the user to accept or cancel, and answer the result string. Answers the empty string if the user cancels.


 

morphicLayerNumber

helpful for insuring some morphs always appear in front of or behind others.
smaller numbers are in front


  menu top  
 

accept

Sent by the accept button.


 

cancel

Sent by the cancel button.


 

codePaneMenu:shifted:


 

perform:orSendTo:

If I wish to intercept and handle selector myself, do it; else send it to otherTarget


  object fileIn top  
 

convertToCurrentVersion:refStream:

subclasses should implement if they wish to convert old instances to modern ones


  private top  

class methods
  default constants top  
 

defaultAnswerExtent


  instance creation top  
 

request:

Create an instance of me whose question is queryString. Invoke it centered at the cursor, and answer the string the user accepts. Answer the empty string if the user cancels.


 

request:initialAnswer:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. Answer the empty string if the user cancels.


 

request:initialAnswer:centerAt:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. Answer the empty string if the user cancels.
This variant is only for calling from within a Morphic project.


 

request:initialAnswer:centerAt:inWorld:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. Answer the empty string if the user cancels.


 

request:initialAnswer:centerAt:inWorld:onCancelReturn:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. If the user cancels, answer returnOnCancel. If user hits cr, treat it as a normal accept.


 

request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. If the user cancels, answer returnOnCancel.


 

request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:answerExtent:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. If the user cancels, answer returnOnCancel.


 

request:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:answerHeight:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. If the user cancels, answer returnOnCancel.


 

requestPassword:

Create an instance of me whose question is queryString. Invoke it centered at the cursor, and answer the string the user accepts. Answer the empty string if the user cancels.


 

requestPassword:initialAnswer:centerAt:inWorld:onCancelReturn:acceptOnCR:

Create an instance of me whose question is queryString with the given initial answer. Invoke it centered at the given point, and answer the string the user accepts. If the user cancels, answer returnOnCancel.