Squeak Class Documentation category index | class index  
 
CRGestureProcessor
  category: Genie-Integration
  superclass: Object
  subclasses:

This class is invoked is used to capture and process a gesture. It closely cooperates with HandMorph.

instance methods
  accessing
  disableFocus:
disableGenie
enableFocus:
enableGenie
gestureStart:target:
giveChanceToEscape
handleEventEscaped:
inspectLastGesture
prepareMouseFocusChangeFrom:to:
reset
switchEnabled
switchFocus:

  error handling
  doesNotUnderstand:

  event processing
  handleEvent:
handleFocusEvent:
handleMouseDown:
handleMouseMove:
handleMouseUp:

  initialize-release
  initializeHand:enabled:

  private
  addToRecognizerAndGiveChanceToEscape:
allowsMouseAction:target:
disableFocus
doMouseActionEvent:target:
escapeFromRecognizer:
escapedDo:
giveChanceToEscape:
inverseTransformation:target:
modifiedMouseActionEvent:
modifiedStartEvent:
preprocessGesture:
processGestureFeature:at:dictionary:startEvent:
releaseMouseFocus
simulateEvent:
stopRecognizer
stopRecognizerAndDispatch:
updateMouseActionButton:

  testing
  allowsGestureStart:target:
isEnabled
isEscaped
isFocused
isFocused:
isRecognizing

class methods
  instance creation
  forHand:

instance methods
  accessing top  
 

disableFocus:


 

disableGenie


 

enableFocus:


 

enableGenie


 

gestureStart:target:


 

giveChanceToEscape


 

handleEventEscaped:


 

inspectLastGesture


 

prepareMouseFocusChangeFrom:to:


 

reset


 

switchEnabled


 

switchFocus:


  error handling top  
 

doesNotUnderstand:

Forward unknown messages to the target morph.
This is necessary since this morph is temporarily installed as the mouseFocus morph
in the hand.


  event processing top  
 

handleEvent:


 

handleFocusEvent:


 

handleMouseDown:


 

handleMouseMove:


 

handleMouseUp:


  initialize-release top  
 

initializeHand:enabled:


  private top  
 

addToRecognizerAndGiveChanceToEscape:


 

allowsMouseAction:target:

There are speciel genie gestures that allow to do a mouse action with a certain mouse button
pressed.
This method says wheter such a mouse action is possible


 

disableFocus


 

doMouseActionEvent:target:

There are speciel genie gestures that allow to do a mouse action with a certain mouse button
pressed.
This method does such a mouse action for the spcecified target


 

escapeFromRecognizer:


 

escapedDo:


 

giveChanceToEscape:


 

inverseTransformation:target:


 

modifiedMouseActionEvent:

There are speciel genie gestures that allow to do a mouse action with a certain mouse button
pressed.
This method returns the event for such a mouse action


 

modifiedStartEvent:

Modify the event according to the last gesture


 

preprocessGesture:

Preprocess the recognized gesture.
Return true if it should not be passed to the target morph, false otherwise


 

processGestureFeature:at:dictionary:startEvent:

Process a recognized gesture.
Generate CRGesture, do some preprocessing (if not permitted) and it to the target Morph


 

releaseMouseFocus


 

simulateEvent:


 

stopRecognizer


 

stopRecognizerAndDispatch:


 

updateMouseActionButton:


  testing top  
 

allowsGestureStart:target:


 

isEnabled


 

isEscaped


 

isFocused


 

isFocused:


 

isRecognizing


class methods
  instance creation top  
 

forHand: