Squeak Class Documentation category index | class index  
 
WonderlandActorBrowser
  category: Balloon3D-Wonderland Morphs
  superclass: StringHolder
  subclasses:

This class implements the actor browser. The name of every actor in the Wonderland namespace is listed. The formatting is determined by the parent-child hierarchy. Children of an actor are listed below and to the right of that actor. The scene is at the root of the actor tree, and so is at the top left of the hierarchy.

Any actor listed in the actor browser can be addressed by that name in the script editor.

instance methods
  accessing
  getMorph
getSelectedActor
setActorViewer:

  actor list functions
  actorMenu:

  actor list management
  actorList
actorListIndex
actorListIndex:
updateActorList

  actor menu functions
  becomeFirstClass
becomePart
destroy
grow
loadActor
pointAt
shrink
squash
standUp
stretch
turnAround

  initialize-release
  initializeWith:

class methods
  instance creation
  newFor:

instance methods
  accessing top  
 

getMorph

Return my morph


 

getSelectedActor

Returns the currently selected actor in the actor browser.


 

setActorViewer:

Sets the WonderlandActorViewer to update when the user changes the selected object in the browser


  actor list functions top  
 

actorMenu:

Builds the menu to display when the user right clicks on an actor


  actor list management top  
 

actorList

Returns a list of actors in the scene


 

actorListIndex

Return the index of the currently selected actor


 

actorListIndex:

Set the index of the currently selected actor.


 

updateActorList

Updates the actor list.


  actor menu functions top  
 

becomeFirstClass

Make the selected actor first class


 

becomePart

Make the selected actor a part


 

destroy

Destroy the selected actor.


 

grow

Make the selected actor grow


 

loadActor

Load an actor from file. Sent for WonderlandScenes


 

pointAt

Point the default camera at the selected object


 

shrink

Make the selected actor shrink


 

squash

Squash the selected actor.


 

standUp

Make the selected actor stand up


 

stretch

Stretch the selected actor


 

turnAround

Make the selected actor turnAround


  initialize-release top  
 

initializeWith:

Initialize this instance.


class methods
  instance creation top  
 

newFor:

Create a new actor browser for the Wonderland