Squeak Class Documentation category index | class index  
 
FlashButtonMorph
  category: Balloon-MMFlash Morphs
  superclass: FlashCharacterMorph
  subclasses:

No comment. Sorry.

instance methods
  accessing
  addSound:forState:
ownerSprite
trackAsMenu:

  balloon help
  analyzeActionsForBalloonHelp:

  classification
  isFlashButton
isMouseSensitive

  event handling
  executeActions:
executeSounds:
handlesMouseDown:
handlesMouseOver:
handlesMouseOverDragging:
mouseDown:
mouseEnter:
mouseLeave:
mouseMove:
mouseUp:
on:send:
on:sendAll:
simulateMouseDown
simulateMouseEnter
simulateMouseLeave
simulateMouseUp

  event processing
  handlerForMouseDown:

  geometry
  containsPoint:
lookEnable:disable:

  initialize
  defaultLook:
loadInitialFrame
overLook:
pressLook:
sensitiveLook:

  menu
  addCustomAction
addCustomMenuItems:hand:
removeActions

  printing
  printOn:

class methods
  class initialization
  initialize

instance methods
  accessing top  
 

addSound:forState:


 

ownerSprite

Return the sprite owning the receiver.
The owning sprite is responsible for executing
the actions associated with the button.


 

trackAsMenu:

Currently unused


  balloon help top  
 

analyzeActionsForBalloonHelp:


  classification top  
 

isFlashButton


 

isMouseSensitive

Return true if the receiver is mouse sensitive and must stay unlocked


  event handling top  
 

executeActions:


 

executeSounds:


 

handlesMouseDown:

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


 

handlesMouseOver:

Handle mouse events only if I am visible,


 

handlesMouseOverDragging:

Return true if I want to receive mouseEnterDragging: and mouseLeaveDragging: when the hand drags something over me (button up or button down), or when the mouse button is down but there is no mouseDown recipient. The default response is false, except if you have added sensitivity to mouseEnterLaden: or mouseLeaveLaden:, using the on:send:to: mechanism.


 

mouseDown:

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


 

mouseEnter:

Handle a mouseEnter event, meaning the mouse just entered my bounds with no button pressed. The default response is to let my eventHandler, if any, handle it.


 

mouseLeave:

Handle a mouseLeave event, meaning the mouse just left my bounds with no button pressed. The default response is to let my eventHandler, if any, handle it.


 

mouseMove:

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


 

mouseUp:

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


 

on:send:

Note: We handle more than the standard Morphic events here


 

on:sendAll:

Note: We handle more than the standard Morphic events here


 

simulateMouseDown

Invoked from a client -- simulate mouse down


 

simulateMouseEnter

Invoked from a client -- simulate mouseEnter


 

simulateMouseLeave

Invoked from a client -- simulate mouse leave


 

simulateMouseUp

Invoked from a client -- simulate mouse up


  event processing top  
 

handlerForMouseDown:

Don't give anybody over me a chance


  geometry top  
 

containsPoint:


 

lookEnable:disable:


  initialize top  
 

defaultLook:

Assign the default look


 

loadInitialFrame

Resort our children


 

overLook:

Assign the look if the mouse if over


 

pressLook:

Assign the look if the mouse is pressed


 

sensitiveLook:

Assign the look for the sensitive area.


  menu top  
 

addCustomAction


 

addCustomMenuItems:hand:

Add morph-specific items to the given menu which was invoked by the given hand. This method provides is invoked both from the halo-menu and from the control-menu regimes.


 

removeActions


  printing top  
 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


class methods
  class initialization top  
 

initialize

FlashButtonMorph initialize