Squeak Class Documentation category index | class index  
 
CRDictionaryMorph
  category: Genie-UI
  superclass: TabbedPalette
  subclasses:

This Morph provides a view on a dictionary.
This view includes a dictionary browser, but also graphical representations of other
properties of the dictionary.

instance methods
  accessing
  ensureLayout
hasCloseButton
hasCloseButton:
hasLayout

  initialize-release
  initializeDictionary:
layout
openInWorld:

  private
  modelIncludeCapturedPoints
setOldValues

  stepping
  arrangeToStartSteppingIn:
step
stepTime

  submorphs
  createAcceptButton
createAdvancedTabMorph
createBasicButton
createBasicLabelStringMorph:
createBasicTabMorph
createBasicUpdatingButtonOn:action:get:
createBasicUpdatingNumberMorphOn:get:put:min:max:
createBasicUpdatingStringMorphOn:get:put:
createBrowseTabMorph
createCancelButton
createCapturingTabMorph
createCloseButton
createDefaultButtons
createEmptyTabMorph
createStatsTabMorph
wrapInAlignmentMorph:

  submorphs-add/remove
  delete

  updating
  acceptAdvanced
acceptBasic
acceptCapturing
canChange
canChangeAsk:
changed
indicateChanged
update:
updateAdvanced
updateAll
updateBasic
updateCapturing

  user-interface
  selectTab:

  view hooks
  acceptAction
acuteAngleRelevance
acuteAngleRelevance:
alertDistance
alertDistance:
alertDistanceDifference
alertDistanceDifference:
alertRelativeDistanceDifference
alertRelativeDistanceDifference:
angleRelevance
angleRelevance:
angleSector
angleSector:
cancelAction
closeAction
editParents
escapeTime
escapeTime:
exportedName
exportedName:
includeCapturedPoints
isAlertEnabled
isRejectEnabled
minAngle
minAngle:
minDirectionLengthPercentage
minDirectionLengthPercentage:
name
name:
parentCount
rejectDistance
rejectDistance:
rejectDistanceDifference
rejectDistanceDifference:
rejectRelativeDistanceDifference
rejectRelativeDistanceDifference:
shapeRelevance
shapeRelevance:
sizeRelevance
sizeRelevance:
speedPercentage
speedPercentage:
startEndRelevance
startEndRelevance:
strokeRelevance
strokeRelevance:
switchAlert
switchIncludeCapturedPoints
switchReject
timeRelevance
timeRelevance:

class methods
  instance creation
  dictionary:

instance methods
  accessing top  
 

ensureLayout


 

hasCloseButton


 

hasCloseButton:


 

hasLayout


  initialize-release top  
 

initializeDictionary:


 

layout

Layout the morph and all submorphs


 

openInWorld:

Add this morph to the requested World.


  private top  
 

modelIncludeCapturedPoints


 

setOldValues

Store the current values as the old values.
The old values are used to know wheter a section has been changed by the user


  stepping top  
 

arrangeToStartSteppingIn:

Start getting sent the 'step' message in aWorld. Like startSteppingIn:, but without the initial one to get started'


 

step

Do some periodic activity. Use startStepping/stopStepping to start and stop getting sent this message. The time between steps is specified by this morph's answer to the stepTime message. The generic version dispatches control to the player, if any. The nasty circumlocation about owner's transformation is necessitated by the flexing problem that the player remains in the properties dictionary both of the flex and the real morph. In the current architecture, only the top renderer's pointer to the player should actually be honored for the purpose of firing.


 

stepTime

Answer the desired time between steps in milliseconds. This default implementation requests that the 'step' method be called once every second.


  submorphs top  
 

createAcceptButton


 

createAdvancedTabMorph


 

createBasicButton


 

createBasicLabelStringMorph:


 

createBasicTabMorph


 

createBasicUpdatingButtonOn:action:get:


 

createBasicUpdatingNumberMorphOn:get:put:min:max:


 

createBasicUpdatingStringMorphOn:get:put:


 

createBrowseTabMorph


 

createCancelButton


 

createCapturingTabMorph


 

createCloseButton


 

createDefaultButtons


 

createEmptyTabMorph


 

createStatsTabMorph


 

wrapInAlignmentMorph:


  submorphs-add/remove top  
 

delete

Delete also all the created submorphs


  updating top  
 

acceptAdvanced

This method is called when a user accepts the advanced section.
It updates the model


 

acceptBasic

This method is called when a user accepts the basic section.
It updates the model


 

acceptCapturing

This method is called when a user accepts the capturing section.
It updates the model


 

canChange

Returns false if there are unaccepted changes


 

canChangeAsk:

Returns false if there are unaccepted changes


 

changed

Report that the area occupied by this morph should be redrawn.


 

indicateChanged


 

update:

Receive a change notice from an object of whom the receiver is a
dependent. The default behavior is to do nothing; a subclass might want
to change itself in some way.


 

updateAdvanced

Update the advanced section of the view with the model's values


 

updateAll


 

updateBasic

Update the basic section of the view with the model's values


 

updateCapturing

Update the capturing section of the view with the model's values


  user-interface top  
 

selectTab:

Ceck before changing tabs


  view hooks top  
 

acceptAction


 

acuteAngleRelevance


 

acuteAngleRelevance:


 

alertDistance


 

alertDistance:


 

alertDistanceDifference


 

alertDistanceDifference:


 

alertRelativeDistanceDifference


 

alertRelativeDistanceDifference:


 

angleRelevance


 

angleRelevance:


 

angleSector


 

angleSector:


 

cancelAction


 

closeAction


 

editParents


 

escapeTime


 

escapeTime:


 

exportedName


 

exportedName:


 

includeCapturedPoints


 

isAlertEnabled


 

isRejectEnabled


 

minAngle


 

minAngle:


 

minDirectionLengthPercentage


 

minDirectionLengthPercentage:


 

name

Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..


 

name:


 

parentCount


 

rejectDistance


 

rejectDistance:


 

rejectDistanceDifference


 

rejectDistanceDifference:


 

rejectRelativeDistanceDifference


 

rejectRelativeDistanceDifference:


 

shapeRelevance


 

shapeRelevance:


 

sizeRelevance


 

sizeRelevance:


 

speedPercentage


 

speedPercentage:


 

startEndRelevance


 

startEndRelevance:


 

strokeRelevance


 

strokeRelevance:


 

switchAlert


 

switchIncludeCapturedPoints


 

switchReject


 

timeRelevance


 

timeRelevance:


class methods
  instance creation top  
 

dictionary: