Squeak Class Documentation category index | class index  
 
JoystickMorph
  category: Morphic-Widgets
  superclass: SketchMorph
  subclasses:

No comment. Sorry.

instance methods
  accessing
  amount
angle
leftRight
upDown

  initialization
  initialize
initializeToStandAlone

  menu
  addCustomMenuItems:hand:
setXRange
setYRange
stopTrackingJoystick
toggleAutoCenter
trackRealJoystick

  other
  handlesMouseDown:
mouseMove:
mouseUp:
moveHandleToCenter

  stepping
  step
stepTime

class methods
  new morph menu
  descriptionForPartsBin
includeInNewMorphMenu

  scripting
  additionsToViewerCategories
authoringPrototype

instance methods
  accessing top  
 

amount


 

angle


 

leftRight


 

upDown


  initialization top  
 

initialize


 

initializeToStandAlone

Circumvent SketchMorph's implementation here


  menu top  
 

addCustomMenuItems:hand:

Add custom menu items


 

setXRange


 

setYRange


 

stopTrackingJoystick


 

toggleAutoCenter


 

trackRealJoystick


  other top  
 

handlesMouseDown:

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


 

mouseMove:

Make handle track the cursor within my bounds.


 

mouseUp:

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


 

moveHandleToCenter


  stepping top  
 

step

Track the real joystick whose index is realJoystickIndex.


 

stepTime

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


class methods
  new morph menu top  
 

descriptionForPartsBin

If the receiver is a member of a class that would like to be represented in a parts bin, answer the name by which it should be known, and a documentation string to be provided, for example, as balloon help. When the 'nativitySelector' is sent to the 'globalReceiver', it is expected that some kind of Morph will result. The parameters used in the implementation below are for documentation purposes only!


 

includeInNewMorphMenu

Not to be instantiated from the menu


  scripting top  
 

additionsToViewerCategories

Answer a list of (<categoryName> <list of category specs>) pairs that characterize the phrases this kind of morph wishes to add to various Viewer categories.


 

authoringPrototype

Answer an instance of the receiver suitable for placing in a parts bin for authors