Squeak Class Documentation category index | class index  
 
Hierarchical
  category: Balloon3D-Wonderland Objects
  superclass: Object
  subclasses: WonderlandScene WonderlandActor

The Hierarchical class provides the basic functionality for parent-child relationships (and changing these relationships) for both the WonderlandScene and any WonderlandActors in the Wonderland.

instance methods
  initialization
  initialize
uniqueNameFrom:

  parent-child
  allChildrenDo:
getAllChildren
getChildren
getChildrenNames
getParent
setParent:
withAllChildrenDo:

  private
  addChild:
appearsInChildLists
appendChildrenNamesTo:
removeChild:

class methods
  instance creation
  new

instance methods
  initialization top  
 

initialize

Initialize this instance


 

uniqueNameFrom:

Return a unique name for the string in the context of the receiver's name space


  parent-child top  
 

allChildrenDo:

Execute aBlock for all children of the receiver


 

getAllChildren

Return all of this instance's children


 

getChildren

Return the object's children.


 

getChildrenNames

Return the object's children.


 

getParent

Return the object's parent.


 

setParent:

Set this instance's parent


 

withAllChildrenDo:

Execute aBlock for all children of and the receiver itself


  private top  
 

addChild:

Add an object to this instance's list of children


 

appearsInChildLists

Returns true if this object should appear in the actor browser


 

appendChildrenNamesTo:

Return the object's children's names, each appended to the prefix.


 

removeChild:

Remove an object from this instance's list of children


class methods
  instance creation top  
 

new

Create and initialize a new instance.