>onMouseDown\nmorph2>>onMouseDown\n- - - - - -\n","__LivelyClassName__":"lively.morphic.TextChunk"},"308":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontFamily":"Courier ","__LivelyClassName__":"lively.morphic.TextEmphasis"},"309":{"style":{"__isSmartRef__":true,"id":310},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"world>>onMouseUp\nmorph2>>onMouseUp","__LivelyClassName__":"lively.morphic.TextChunk"},"310":{"textDecoration":"none","fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"311":{"style":{"__isSmartRef__":true,"id":312},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk"},"312":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"313":{"style":{"__isSmartRef__":true,"id":314},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Click on p2","__LivelyClassName__":"lively.morphic.TextChunk"},"314":{"textDecoration":"none","italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"315":{"style":{"__isSmartRef__":true,"id":316},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":":\n","__LivelyClassName__":"lively.morphic.TextChunk"},"316":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"317":{"style":{"__isSmartRef__":true,"id":318},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"world>>onMouseDown\nmorph2>>onMouseDown\n","__LivelyClassName__":"lively.morphic.TextChunk"},"318":{"textDecoration":"none","fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"319":{"style":{"__isSmartRef__":true,"id":320},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"morph3>>onMouseDown","__LivelyClassName__":"lively.morphic.TextChunk"},"320":{"fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"321":{"style":{"__isSmartRef__":true,"id":322},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n- - - - - -\nworld>>onMouseUp\nmorph2>>onMouseUp\nmorph3>>onMouseUp","__LivelyClassName__":"lively.morphic.TextChunk"},"322":{"textDecoration":"none","fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"323":{"style":{"__isSmartRef__":true,"id":324},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"324":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"325":{"style":{"__isSmartRef__":true,"id":326},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"326":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"327":{"style":{"__isSmartRef__":true,"id":328},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Click on p3","__LivelyClassName__":"lively.morphic.TextChunk"},"328":{"textDecoration":"none","italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"329":{"style":{"__isSmartRef__":true,"id":330},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":":\n","__LivelyClassName__":"lively.morphic.TextChunk"},"330":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"331":{"style":{"__isSmartRef__":true,"id":332},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"world>>onMouseDown\nmorph2>>onMouseDown\nmorph3>>onMouseDown\n- - - - - -\nworld>>onMouseUp\nmorph2>>onMouseUp\nmorph3>>onMouseUp","__LivelyClassName__":"lively.morphic.TextChunk"},"332":{"textDecoration":"none","fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"333":{"style":{"__isSmartRef__":true,"id":334},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"334":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"335":{"style":{"__isSmartRef__":true,"id":336},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Note that the event dispatch is the same as for p2!. This is because the DOM events are dispatched depending on the scene graph not only click position","__LivelyClassName__":"lively.morphic.TextChunk"},"336":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":337},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"337":{"r":1,"g":0.56,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"338":{"style":{"__isSmartRef__":true,"id":339},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":". You can still find out what morphs are placed under the mouse cursor by asking the world for all its submorphs that contain a certain position:\n","__LivelyClassName__":"lively.morphic.TextChunk"},"339":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"340":{"style":{"__isSmartRef__":true,"id":341},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"// return a list of the morphs under the hand, independent of the composition hierarchy","__LivelyClassName__":"lively.morphic.TextChunk"},"341":{"textDecoration":"none","color":"rgb(0,128,0)","fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"342":{"style":{"__isSmartRef__":true,"id":343},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n$world.morphsContainingPoint($world.firstHand().getPosition())","__LivelyClassName__":"lively.morphic.TextChunk"},"343":{"textDecoration":"none","fontFamily":"Courier ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"344":{"style":{"__isSmartRef__":true,"id":345},"chunkOwner":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"345":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"346":{"x":982,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"347":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"348":{"morph":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"349":{"submorphs":[],"scripts":[],"id":2,"shape":{"__isSmartRef__":true,"id":350},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":356},"_MaxTextWidth":982,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":357},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","padding":{"__isSmartRef__":true,"id":358},"layout":{"__isSmartRef__":true,"id":359},"_Padding":{"__isSmartRef__":true,"id":358},"textChunks":[{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":368},{"__isSmartRef__":true,"id":370},{"__isSmartRef__":true,"id":372},{"__isSmartRef__":true,"id":374},{"__isSmartRef__":true,"id":377},{"__isSmartRef__":true,"id":379},{"__isSmartRef__":true,"id":381},{"__isSmartRef__":true,"id":383},{"__isSmartRef__":true,"id":385},{"__isSmartRef__":true,"id":387},{"__isSmartRef__":true,"id":389},{"__isSmartRef__":true,"id":391},{"__isSmartRef__":true,"id":393},{"__isSmartRef__":true,"id":395},{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":399},{"__isSmartRef__":true,"id":401},{"__isSmartRef__":true,"id":403},{"__isSmartRef__":true,"id":405},{"__isSmartRef__":true,"id":407},{"__isSmartRef__":true,"id":409},{"__isSmartRef__":true,"id":411},{"__isSmartRef__":true,"id":413},{"__isSmartRef__":true,"id":415},{"__isSmartRef__":true,"id":417},{"__isSmartRef__":true,"id":420},{"__isSmartRef__":true,"id":422},{"__isSmartRef__":true,"id":424},{"__isSmartRef__":true,"id":426},{"__isSmartRef__":true,"id":428},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":436},{"__isSmartRef__":true,"id":438},{"__isSmartRef__":true,"id":440},{"__isSmartRef__":true,"id":442},{"__isSmartRef__":true,"id":444},{"__isSmartRef__":true,"id":446},{"__isSmartRef__":true,"id":448}],"charsReplaced":"key","lastFindLoc":1471,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":450},"priorSelectionRange":[2454,2454],"prevScroll":[0,0],"name":"Text14","_WhiteSpaceHandling":"pre-wrap","lastSearchString":"Ellipse(Morph)","renderContextTable":{"__isSmartRef__":true,"id":451},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"eventHandler":{"__isSmartRef__":true,"id":452},"owner":{"__isSmartRef__":true,"id":16},"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"_Rotation":0,"_Scale":1,"lastDragTime":1312984271034,"__LivelyClassName__":"lively.morphic.Text"},"350":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":351},"_Extent":{"__isSmartRef__":true,"id":352},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":353},"_Fill":{"__isSmartRef__":true,"id":354},"renderContextTable":{"__isSmartRef__":true,"id":355},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"351":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"352":{"x":982,"y":1144,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"353":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"354":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"355":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"356":{"x":10,"y":157,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"357":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"358":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"359":{"resizeWidth":true,"resizeHeight":false},"360":{"style":{"__isSmartRef__":true,"id":361},"morph":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":349},"storedString":"Event callbacks","__LivelyClassName__":"lively.morphic.TextChunk"},"361":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"362":{"style":{"__isSmartRef__":true,"id":363},"morph":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":349},"storedString":"\nEvent handling is done on the morph level, i.e. morphs implement event handlers that are triggered in a certain order (see event dispatch below to learn more about the order of event handler activation). Event handlers are normal methods that are automatically called and get an event object as parameter. For mouse events the following event handlers exist (as of 08/10/2011):\n","__LivelyClassName__":"lively.morphic.TextChunk"},"363":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"364":{"style":{"__isSmartRef__":true,"id":365},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onMouseDown","__LivelyClassName__":"lively.morphic.TextChunk"},"365":{"textDecoration":"none","color":"rgb(0,0,0)","italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"366":{"style":{"__isSmartRef__":true,"id":367},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Mouse button is pressed.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"367":{"textDecoration":"none","color":"rgb(0,0,0)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"368":{"style":{"__isSmartRef__":true,"id":369},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onMouseUp","__LivelyClassName__":"lively.morphic.TextChunk"},"369":{"textDecoration":"none","color":"rgb(0,0,0)","italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"370":{"style":{"__isSmartRef__":true,"id":371},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"371":{"textDecoration":"none","color":"rgb(0,0,0)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"372":{"style":{"__isSmartRef__":true,"id":373},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" Mouse button is released.","__LivelyClassName__":"lively.morphic.TextChunk"},"373":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"374":{"style":{"__isSmartRef__":true,"id":375},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"375":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"376":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"377":{"style":{"__isSmartRef__":true,"id":378},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onClick","__LivelyClassName__":"lively.morphic.TextChunk"},"378":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"379":{"style":{"__isSmartRef__":true,"id":380},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n When mouse was pressed and released. Currently not used.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"380":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"381":{"style":{"__isSmartRef__":true,"id":382},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onMouseMove","__LivelyClassName__":"lively.morphic.TextChunk"},"382":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"383":{"style":{"__isSmartRef__":true,"id":384},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n The mouse cursor (hand) moves.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"384":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"385":{"style":{"__isSmartRef__":true,"id":386},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onDoubleClick","__LivelyClassName__":"lively.morphic.TextChunk"},"386":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"387":{"style":{"__isSmartRef__":true,"id":388},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk"},"388":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"389":{"style":{"__isSmartRef__":true,"id":390},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"When mouse was pressed and released twice in a certain (OS specific) time period. Currently not used.","__LivelyClassName__":"lively.morphic.TextChunk"},"390":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"391":{"style":{"__isSmartRef__":true,"id":392},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"392":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"393":{"style":{"__isSmartRef__":true,"id":394},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onSelectStart","__LivelyClassName__":"lively.morphic.TextChunk"},"394":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"395":{"style":{"__isSmartRef__":true,"id":396},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n OS specific select (mouse down and move). Implemented to disable default behavior.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"396":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"397":{"style":{"__isSmartRef__":true,"id":398},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onContextMenu","__LivelyClassName__":"lively.morphic.TextChunk"},"398":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"399":{"style":{"__isSmartRef__":true,"id":400},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n OS specific context menu activation. ","__LivelyClassName__":"lively.morphic.TextChunk"},"400":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"401":{"style":{"__isSmartRef__":true,"id":402},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Implemented to disable default behavior.","__LivelyClassName__":"lively.morphic.TextChunk"},"402":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"403":{"style":{"__isSmartRef__":true,"id":404},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"404":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"405":{"style":{"__isSmartRef__":true,"id":406},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onMouseWheel","__LivelyClassName__":"lively.morphic.TextChunk"},"406":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"407":{"style":{"__isSmartRef__":true,"id":408},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Horizontal and vertical scroll. Also for two finger scrolling.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"408":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"409":{"style":{"__isSmartRef__":true,"id":410},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onMouseOver","__LivelyClassName__":"lively.morphic.TextChunk"},"410":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"411":{"style":{"__isSmartRef__":true,"id":412},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Triggered when the mouse cursor enters a morph. Currently not used.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"412":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"413":{"style":{"__isSmartRef__":true,"id":414},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onHTML5DragEnter, onHTML5DragOver, onHTML5Drag, onHTML5Drop","__LivelyClassName__":"lively.morphic.TextChunk"},"414":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"415":{"style":{"__isSmartRef__":true,"id":416},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Handlers for browser-specific drag and drop. Quite complicated (see ","__LivelyClassName__":"lively.morphic.TextChunk"},"416":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"417":{"style":{"__isSmartRef__":true,"id":418},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"quirksmode","__LivelyClassName__":"lively.morphic.TextChunk"},"418":{"textDecoration":"underline","color":{"__isSmartRef__":true,"id":419},"uri":"http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"419":{"r":0.227,"g":0,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"420":{"style":{"__isSmartRef__":true,"id":421},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"). Currently only implemented by lively.morphic.World for uploading files like pictures and videos.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"421":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"uri":"http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"422":{"style":{"__isSmartRef__":true,"id":423},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\nKey events ","__LivelyClassName__":"lively.morphic.TextChunk"},"423":{"textDecoration":"none","color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"424":{"style":{"__isSmartRef__":true,"id":425},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"(as of 08/10/2011):\n","__LivelyClassName__":"lively.morphic.TextChunk"},"425":{"color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"426":{"style":{"__isSmartRef__":true,"id":427},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onKeyDown\n","__LivelyClassName__":"lively.morphic.TextChunk"},"427":{"color":{"__isSmartRef__":true,"id":376},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"428":{"style":{"__isSmartRef__":true,"id":429},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" Any key.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"429":{"color":{"__isSmartRef__":true,"id":376},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"430":{"style":{"__isSmartRef__":true,"id":431},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onKeyUp\n","__LivelyClassName__":"lively.morphic.TextChunk"},"431":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"432":{"style":{"__isSmartRef__":true,"id":433},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" Any key.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"433":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"434":{"style":{"__isSmartRef__":true,"id":435},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onKeyPress\n","__LivelyClassName__":"lively.morphic.TextChunk"},"435":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"436":{"style":{"__isSmartRef__":true,"id":437},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" Triggering is browser specific. Most browsers trigger this event when a character is inserted (i.e. it is also triggered when a key is held down but not for keys that do not produce character output).\n\nOn top of the DOM events we implement our own event handling logic e.g. to provide dragging and dropping event handlers that work similar to the event handlers that are directly mapped to DOM events. These handlers will only be active if morph.draggingEnabled === true. Call morph.enableDragging() or morph.applyStyle({enableDragging: true}).\n\nDragging event handlers:\n","__LivelyClassName__":"lively.morphic.TextChunk"},"437":{"italics":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"438":{"style":{"__isSmartRef__":true,"id":439},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onDragStart","__LivelyClassName__":"lively.morphic.TextChunk"},"439":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"440":{"style":{"__isSmartRef__":true,"id":441},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Triggered when drag is initiated. Mouse was clicked and moved morph.dragTriggerDistance (by default 5).\n","__LivelyClassName__":"lively.morphic.TextChunk"},"441":{"italics":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"442":{"style":{"__isSmartRef__":true,"id":443},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onDragEnd","__LivelyClassName__":"lively.morphic.TextChunk"},"443":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"444":{"style":{"__isSmartRef__":true,"id":445},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Mouse was released after dragging.\n","__LivelyClassName__":"lively.morphic.TextChunk"},"445":{"italics":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"446":{"style":{"__isSmartRef__":true,"id":447},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"onDrag","__LivelyClassName__":"lively.morphic.TextChunk"},"447":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"448":{"style":{"__isSmartRef__":true,"id":449},"chunkOwner":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\n Between drag start and end. Morph gets dragged. (Actually triggered by mouse move).\n\nYou can overwrite the event handlers to implement custom event logic. However, please note that certain features (e.g. halo invocation and grabbing) depend on the default behavior. If you do not want to disable that, then include a super call to activate the base behavior.","__LivelyClassName__":"lively.morphic.TextChunk"},"449":{"italics":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"450":{"x":982,"y":1144,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"451":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"452":{"morph":{"__isSmartRef__":true,"id":349},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"453":{"submorphs":[],"scripts":[],"id":4331,"shape":{"__isSmartRef__":true,"id":454},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":460},"_MaxTextWidth":982,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":461},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","padding":{"__isSmartRef__":true,"id":462},"layout":{"__isSmartRef__":true,"id":463},"_Padding":{"__isSmartRef__":true,"id":462},"textChunks":[{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":468}],"charsReplaced":"","lastFindLoc":262,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":470},"priorSelectionRange":[266,266],"prevScroll":[0,0],"name":"Text24","_WhiteSpaceHandling":"pre-wrap","lastSearchString":"Ellipse(Morph)","renderContextTable":{"__isSmartRef__":true,"id":471},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"eventHandler":{"__isSmartRef__":true,"id":472},"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"owner":{"__isSmartRef__":true,"id":16},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"454":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":455},"_Extent":{"__isSmartRef__":true,"id":456},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":457},"_Fill":{"__isSmartRef__":true,"id":458},"renderContextTable":{"__isSmartRef__":true,"id":459},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"455":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"456":{"x":982,"y":88,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"457":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"458":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"459":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"460":{"x":10,"y":1316,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"461":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"462":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"463":{"resizeWidth":true,"resizeHeight":false},"464":{"style":{"__isSmartRef__":true,"id":465},"morph":{"__isSmartRef__":true,"id":453},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":453},"storedString":"Mouse Event Dispatch","__LivelyClassName__":"lively.morphic.TextChunk"},"465":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"466":{"style":{"__isSmartRef__":true,"id":467},"morph":{"__isSmartRef__":true,"id":453},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":453},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk"},"467":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"468":{"style":{"__isSmartRef__":true,"id":469},"morph":{"__isSmartRef__":true,"id":453},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":453},"storedString":"The figure below shows a simple Morphic scene and the logical morph composition hierarchy. Three morphs are placed in a world. Morph1 and morph2 are top-level morphs. Morph3 is a submorph of morph2 and its bounds stick out and overlap with morph1.","__LivelyClassName__":"lively.morphic.TextChunk"},"469":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"470":{"x":982,"y":88,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"471":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"472":{"morph":{"__isSmartRef__":true,"id":453},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"473":{"submorphs":[],"scripts":[],"id":121,"shape":{"__isSmartRef__":true,"id":474},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":480},"_MaxTextWidth":982,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":481},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","owner":{"__isSmartRef__":true,"id":16},"padding":{"__isSmartRef__":true,"id":482},"layout":{"__isSmartRef__":true,"id":483},"_Padding":{"__isSmartRef__":true,"id":482},"textChunks":[{"__isSmartRef__":true,"id":484},{"__isSmartRef__":true,"id":486},{"__isSmartRef__":true,"id":488}],"charsReplaced":"and how t","lastFindLoc":170,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":490},"priorSelectionRange":[12,12],"prevScroll":[0,0],"_WhiteSpaceHandling":"pre-wrap","renderContextTable":{"__isSmartRef__":true,"id":491},"eventHandler":{"__isSmartRef__":true,"id":492},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"isBeingDragged":false,"lastDragTime":1312981933196,"__LivelyClassName__":"lively.morphic.Text"},"474":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":475},"_Extent":{"__isSmartRef__":true,"id":476},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":477},"_Fill":{"__isSmartRef__":true,"id":478},"renderContextTable":{"__isSmartRef__":true,"id":479},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"475":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"476":{"x":982,"y":132,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"477":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"478":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"479":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"480":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"481":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"482":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"483":{"resizeWidth":true,"resizeHeight":false},"484":{"style":{"__isSmartRef__":true,"id":485},"morph":{"__isSmartRef__":true,"id":473},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":473},"storedString":"Introduction","__LivelyClassName__":"lively.morphic.TextChunk"},"485":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"486":{"style":{"__isSmartRef__":true,"id":487},"morph":{"__isSmartRef__":true,"id":473},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":473},"storedString":"\nKey and mouse events are the main abstractions for user inputs in Lively. This text explains how event dispatch in Lively works and how to define new event behavior, The current Lively implementation ties into the DOM event system but also provides an abstraction to it since events are handled on a per morph level.\nYou can find the implementation of events in the module lively.morphic.Events. Event handlers for texts are implemented in ","__LivelyClassName__":"lively.morphic.TextChunk"},"487":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"488":{"style":{"__isSmartRef__":true,"id":489},"chunkOwner":{"__isSmartRef__":true,"id":473},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"lively.morphic.TextCore (in the lively.morphic.Text class).","__LivelyClassName__":"lively.morphic.TextChunk"},"489":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"490":{"x":982,"y":132,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"491":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"492":{"morph":{"__isSmartRef__":true,"id":473},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"493":{"submorphs":[],"scripts":[],"id":5506,"shape":{"__isSmartRef__":true,"id":494},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":500},"_MaxTextWidth":982,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":501},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","padding":{"__isSmartRef__":true,"id":502},"layout":{"__isSmartRef__":true,"id":503},"_Padding":{"__isSmartRef__":true,"id":502},"textChunks":[{"__isSmartRef__":true,"id":504},{"__isSmartRef__":true,"id":506},{"__isSmartRef__":true,"id":508},{"__isSmartRef__":true,"id":510},{"__isSmartRef__":true,"id":512}],"charsReplaced":"","lastFindLoc":450,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":514},"priorSelectionRange":[100,100],"prevScroll":[0,0],"name":"Text25","_WhiteSpaceHandling":"pre-wrap","lastSearchString":"Ellipse(Morph)","renderContextTable":{"__isSmartRef__":true,"id":515},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"eventHandler":{"__isSmartRef__":true,"id":516},"isBeingDragged":false,"splittedFrom":{"__isSmartRef__":true,"id":290},"lastDragTime":1312969433338,"_Rotation":0,"_Scale":1,"owner":{"__isSmartRef__":true,"id":16},"__LivelyClassName__":"lively.morphic.Text"},"494":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":495},"_Extent":{"__isSmartRef__":true,"id":496},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":497},"_Fill":{"__isSmartRef__":true,"id":498},"renderContextTable":{"__isSmartRef__":true,"id":499},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"495":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"496":{"x":982,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"497":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"498":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"499":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"500":{"x":10,"y":2379,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"501":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"502":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"503":{"resizeWidth":true,"resizeHeight":false},"504":{"style":{"__isSmartRef__":true,"id":505},"morph":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":493},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"505":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"506":{"style":{"__isSmartRef__":true,"id":507},"chunkOwner":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Modifying the Event Dispatch","__LivelyClassName__":"lively.morphic.TextChunk"},"507":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"508":{"style":{"__isSmartRef__":true,"id":509},"chunkOwner":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\nIt is possible to cancel the event dispatch so that morphs deeper in the scene graph will not receive an event by returning ","__LivelyClassName__":"lively.morphic.TextChunk"},"509":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"510":{"style":{"__isSmartRef__":true,"id":511},"chunkOwner":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"true","__LivelyClassName__":"lively.morphic.TextChunk"},"511":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"512":{"style":{"__isSmartRef__":true,"id":513},"chunkOwner":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" as the result of the event handler method.\nExample: If morph2 in the example above overwrites onMouseDown like\nmorph2.addScript(function onMouseDown(evt) {\n $super(evt);\n return true;\n})\nthen morph3.onMouseDown will not be called (onMouseUp will, however, unless being modified itself).","__LivelyClassName__":"lively.morphic.TextChunk"},"513":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"514":{"x":982,"y":198,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"515":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"516":{"morph":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"517":{"submorphs":[],"scripts":[],"id":5807,"shape":{"__isSmartRef__":true,"id":518},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":524},"_MaxTextWidth":982,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":525},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","padding":{"__isSmartRef__":true,"id":526},"layout":{"__isSmartRef__":true,"id":527},"_Padding":{"__isSmartRef__":true,"id":526},"textChunks":[{"__isSmartRef__":true,"id":528},{"__isSmartRef__":true,"id":530},{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":534}],"charsReplaced":"Canceling","lastFindLoc":169,"_ClipMode":"visible","priorExtent":{"__isSmartRef__":true,"id":536},"priorSelectionRange":[332,332],"prevScroll":[0,0],"name":"Text26","_WhiteSpaceHandling":"pre-wrap","lastSearchString":"Ellipse(Morph)","renderContextTable":{"__isSmartRef__":true,"id":537},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"eventHandler":{"__isSmartRef__":true,"id":538},"isBeingDragged":false,"splittedFrom":{"__isSmartRef__":true,"id":493},"lastDragTime":1312969433338,"_Rotation":0,"_Scale":1,"owner":{"__isSmartRef__":true,"id":16},"__LivelyClassName__":"lively.morphic.Text"},"518":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":519},"_Extent":{"__isSmartRef__":true,"id":520},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":521},"_Fill":{"__isSmartRef__":true,"id":522},"renderContextTable":{"__isSmartRef__":true,"id":523},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"519":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"520":{"x":982,"y":88,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"521":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"522":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"523":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"524":{"x":10,"y":2592,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"525":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"526":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"527":{"resizeWidth":true,"resizeHeight":false},"528":{"style":{"__isSmartRef__":true,"id":529},"morph":{"__isSmartRef__":true,"id":517},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":517},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"529":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"530":{"style":{"__isSmartRef__":true,"id":531},"chunkOwner":{"__isSmartRef__":true,"id":517},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Canceling default event behavior","__LivelyClassName__":"lively.morphic.TextChunk"},"531":{"textDecoration":"none","fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"532":{"style":{"__isSmartRef__":true,"id":533},"chunkOwner":{"__isSmartRef__":true,"id":517},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"\nLively partly overwrites the browser standard event behavior, e.g. for executing modified behavior when the BACKSPACE key is pressed in a text. Stopping the default event behavior should not be confused with canceling the event dispatch to a submorph! Default behavior is canceled by calling stop() on an event object.","__LivelyClassName__":"lively.morphic.TextChunk"},"533":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"534":{"style":{"__isSmartRef__":true,"id":535},"chunkOwner":{"__isSmartRef__":true,"id":517},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"535":{"textDecoration":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"536":{"x":982,"y":88,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"537":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"538":{"morph":{"__isSmartRef__":true,"id":517},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"539":{"position":{"__isSmartRef__":true,"id":540},"_Extent":{"__isSmartRef__":true,"id":541},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":542},"_Fill":{"__isSmartRef__":true,"id":543},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":544},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"540":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"541":{"x":1002,"y":2690,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"542":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"543":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"544":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"545":{"x":27.82523765006249,"y":84.01402102803505,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"546":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"547":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"548":{"morph":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"549":{"x":1002,"y":2712,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"550":{"layouter":{"__isSmartRef__":true,"id":551}},"551":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.JournalLayout"},"552":{"x":590.1747623499375,"y":-16.014021028035046,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"553":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":554},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":559},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1,"_Rotation":0,"renderContextTable":{"__isSmartRef__":true,"id":560},"eventHandler":{"__isSmartRef__":true,"id":561},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"554":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":555},"_Extent":{"__isSmartRef__":true,"id":556},"_Fill":{"__isSmartRef__":true,"id":557},"renderContextTable":{"__isSmartRef__":true,"id":558},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"555":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"556":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"557":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"558":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"559":{"x":50,"y":231,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"560":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"561":{"morph":{"__isSmartRef__":true,"id":553},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"562":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":563},"_Extent":{"__isSmartRef__":true,"id":564},"_Fill":{"__isSmartRef__":true,"id":565},"renderContextTable":{"__isSmartRef__":true,"id":566},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"563":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"564":{"x":3000,"y":10000,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"565":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"567":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"568":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"569":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","__SourceModuleName__":"Global.lively.bindings","varMapping":{"__isSmartRef__":true,"id":570},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":571},"__LivelyClassName__":"AttributeConnection"},"570":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"571":{"updater":{"__isSmartRef__":true,"id":572}},"572":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":573},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":574},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"573":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"574":{},"575":{"x":2800,"y":4000,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"576":{"x":48,"y":229,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"577":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"578":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"579":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/documentation/Events.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"}}}]]>