Class: IDE_Morph

IDE_Morph

new IDE_Morph (isAutoFill)

Name Type Description
isAutoFill boolean

Extends

Methods

aboutSnap ()

add (aMorph) inherited

Name Type Description
aMorph Morph

addBack (aMorph) inherited

Name Type Description
aMorph Morph

addChild (aNode) inherited

Name Type Description
aNode Node

addChildFirst (aNode) inherited

Name Type Description
aNode Node

addNewSprite ()

addShadow (off, a, color)ShadowMorph inherited

Name Type Description
off Point optional
a number optional
color Color optional
Returns:
Type Description
ShadowMorph

allChildren ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

allEntryFields ()Array.<Morph> inherited

Returns:
Type Description
Array.<Morph>

allLeafs ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

allParents ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

anyChild (aPredicate)boolean inherited

Name Type Description
aPredicate function
Returns:
Type Description
boolean

applySavedSettings ()

attach () inherited

backTab (editField) inherited

Name Type Description
editField Morph

bottom ()number inherited

Returns:
Type Description
number

bottomCenter ()Point inherited

Returns:
Type Description
Point

bottomLeft ()Point inherited

Returns:
Type Description
Point

bottomRight ()Point inherited

Returns:
Type Description
Point

boundingBox ()Point inherited

Returns:
Type Description
Point

buildPanes ()

center ()Point inherited

Returns:
Type Description
Point

changeCloudPassword ()

changed () inherited

childChanged () inherited

cloudAcknowledge ()

cloudError ()function

Returns:
Type Description
function

cloudIcon (height, color)SymbolMorph

Name Type Description
height number
color Color
Returns:
Type Description
SymbolMorph

cloudMenu ()

cloudResponse ()

colorSetters ()Array.<String> inherited

Returns:
Type Description
Array.<String>

confirm (message, title, action)

Name Type Description
message String
title String
action ?

contextMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

copy ()Morph inherited

Returns:
Type Description
Morph

copyRecordingReferences (map)Morph inherited

Name Type Description
map Map
Returns:
Type Description
Morph

corners ()Array.<Point> inherited

Returns:
Type Description
Array.<Point>

createCategories ()

createCloudAccount ()

createControlBar ()

createCorral ()

createCorralBar ()

createNewProject ()

createPalette (forSearching)

Name Type Description
forSearching boolean

createPaletteHandle ()

createSpriteBar ()

createSpriteEditor ()

createStage ()

createStageHandle ()

defaultDesign ()

depth ()number inherited

Returns:
Type Description
number

destroy () inherited

developersMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

drawCachedTexture () inherited

drawNew () inherited

drawOn (aCanvas, aRect) inherited

Name Type Description
aCanvas HTMLCanvasElement
aRect Rectangle optional

drawTexture (url) inherited

Name Type Description
url String

droppedAudio (anAudio, name) inherited overrides

Name Type Description
anAudio Audio
name String

droppedBinary (anArrayBuffer, name) inherited overrides

Name Type Description
anArrayBuffer Array
name String

droppedImage (aCanvas, name) inherited overrides

Name Type Description
aCanvas HTMLCanvasElement
name String

droppedSVG (anImage, name) inherited overrides

Name Type Description
anImage Image
name String

droppedText (aString, name) inherited overrides

Name Type Description
aString String
name String

duplicateSprite (sprite)

Name Type Description
sprite SpriteMorph

editProjectNotes ()

escalateEvent (functionName, arg) inherited

Name Type Description
functionName String
arg *

evaluateString (code)* inherited

Name Type Description
code String
Returns:
Type Description
*

exportGlobalBlocks ()

exportProject (name, plain)

Name Type Description
name String
plain boolean

exportProjectAsCloudData (name)

Name Type Description
name String

exportProjectMedia (name)

Name Type Description
name String

exportProjectNoMedia (name)

Name Type Description
name String

exportProjectSummary (useDropShadows)

Name Type Default Description
useDropShadows boolean false optional

exportScriptsPicture ()

exportSprite (sprite)

Name Type Description
sprite ?

extent ()Point inherited

Returns:
Type Description
Point

fadeTo (endAlpha, msecs, easing, onComplete) inherited

Name Type Description
endAlpha number
msecs number optional
easing String | function optional
onComplete function optional

fixLayout (situation)

Name Type Description
situation String

flatDesign ()

flushBlocksCache (category)

Name Type Description
category ? optional

flushPaletteCache (category)

Name Type Description
category ? optional

forAllChildren (aFunction) inherited

Name Type Description
aFunction function

fullBounds ()Rectangle inherited

Returns:
Type Description
Rectangle

fullBoundsNoShadow ()Rectangle inherited

Returns:
Type Description
Rectangle

fullChanged () inherited

fullCopy ()Morph inherited

Returns:
Type Description
Morph

fullDrawOn (aCanvas, aRect) inherited

Name Type Description
aCanvas HTMLCanvasElement
aRect Rectangle optional

fullImage ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement

fullImageClassic ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement

getMediaList (dirname, callback)Array.<Object>

Name Type Description
dirname String
callback function optional
Returns:
Type Description
Array.<Object>

getPixelColor (aPoint)Color inherited

Name Type Description
aPoint Point
Returns:
Type Description
Color

getSetting (key)?

Name Type Description
key String
Returns:
Type Description
?

getShadow ()ShadowMorph inherited

Returns:
Type Description
ShadowMorph

getURL (url, callback)

Name Type Description
url String
callback function

glideTo (endPoint, msecs, easing, onComplete) inherited

Name Type Description
endPoint Point
msecs number optional
easing String | function optional
onComplete function optional

hasLocalStorage ()boolean

Returns:
Type Description
boolean

height ()number inherited

Returns:
Type Description
number

hide () inherited

hierarchyMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

hint (msg) inherited

Name Type Default Description
msg String 'NULL' optional

importMedia (folderName)

Name Type Description
folderName String

inform (msg) inherited overrides

Name Type Default Description
msg String 'NULL' optional

init (isAutoFill) overrides

Name Type Description
isAutoFill boolean

initializeCloud ()

inspect (anotherObject) inherited

Name Type Description
anotherObject *

instantiateSprite (sprite)

Name Type Description
sprite SpriteMorph

isCorrectingOutsideDrag ()boolean inherited

Returns:
Type Description
boolean

isPaused ()boolean

Returns:
Type Description
boolean

isPickedUp ()boolean inherited

Returns:
Type Description
boolean

isTouching (otherMorph)boolean inherited

Name Type Description
otherMorph Morph
Returns:
Type Description
boolean

isTransparentAt (aPoint)boolean inherited

Name Type Description
aPoint Point
Returns:
Type Description
boolean

justDropped (handMorph) inherited

Name Type Description
handMorph HandMorph

keepWithin (aMorph) inherited

Name Type Description
aMorph Morph

languageMenu ()

left ()number inherited

Returns:
Type Description
number

leftCenter ()Point inherited

Returns:
Type Description
Point

logout ()

mouseClickLeft (pos) inherited

Name Type Description
pos Point

mouseClickRight (pos) inherited

Name Type Description
pos Point

mouseDoubleClick (pos) inherited

Name Type Description
pos Point

mouseDownLeft (pos) inherited

Name Type Description
pos Point

mouseDownRight (pos) inherited

Name Type Description
pos Point

mouseEnter (pos) inherited

Name Type Description
pos Point

mouseEnterDragging (pos) inherited

Name Type Description
pos Point

mouseLeave (pos) inherited

Name Type Description
pos Point

mouseLeaveDragging (pos) inherited

Name Type Description
pos Point

mouseMove (pos, button) inherited

Name Type Description
pos Point
button String

mouseScroll (pos) inherited

Name Type Description
pos Point

move () inherited

moveBy (delta) inherited

Name Type Description
delta number | Point

moveCenter () inherited

newCamSprite ()

newName (name, elements)String

Name Type Description
name String
elements ?
Returns:
Type Description
String

newProject ()

newSoundName (name)

Name Type Description
name String

newSpriteName (name, ignoredSprite)String

Name Type Description
name String
ignoredSprite boolean optional
Returns:
Type Description
String

nextEntryField (current)Morph inherited

Name Type Description
current number
Returns:
Type Description
Morph

nextSteps (arrayOfFunctions) inherited

Name Type Description
arrayOfFunctions Array.<function()>

nextTab (editField) inherited

Name Type Description
editField Morph

numericalSetters ()Array.<String> inherited

Returns:
Type Description
Array.<String>

openBlocksString (str, name, silently)

Name Type Description
str String
name String
silently boolean

openCloudDataString (str)

Name Type Description
str String

openIn (world)

Name Type Description
world WorldMorph

openMediaString (str)

Name Type Description
str String

openProject (name)

Name Type Description
name String

openProjectsBrowser ()

openProjectString (str)

Name Type Description
str String

openScriptString (str)

Name Type Description
str String

openSpritesString (str)

Name Type Description
str String

overlappedMorphs ()Array.<Morph> inherited

Returns:
Type Description
Array.<Morph>

overlappingImage (otherMorph)HTMLCanvasElement inherited

Name Type Description
otherMorph Morph
Returns:
Type Description
HTMLCanvasElement

paintNewSprite ()

parentThatIsA (constructor)Node inherited

Name Type Description
constructor function
Returns:
Type Description
Node

parentThatIsAnyOf (constructors)Node inherited

Name Type Description
constructors Array.<function()>
Returns:
Type Description
Node

parseResourceFile (text)Array.<Object>

Name Type Description
text String
Returns:
Type Description
Array.<Object>

penTrails ()HTMLCanvasElement inherited

Returns:
Type Description
HTMLCanvasElement

perish (msecs, onComplete) inherited

Name Type Description
msecs number optional
onComplete function optional

pickColor (msg, callback, environment, defaultContents) inherited

Name Type Default Description
msg String '' optional
callback function optional
environment String optional
defaultContents String '' optional

pickUp (wrrld) inherited

Name Type Description
wrrld WorldMorph optional

popupMediaImportDialog (folderName, items)

Name Type Description
folderName String
items Array.<String>

position ()Point inherited

Returns:
Type Description
Point

prepareToBeGrabbed (handMorph) inherited

Name Type Description
handMorph HandMorph

pressStart ()

previousEntryField (current)Morph inherited

Name Type Description
current number
Returns:
Type Description
Morph

previousTab (editField) inherited

Name Type Description
editField Morph

processKeyDown (event) inherited

Name Type Description
event KeyboardEvent

processKeyPress (event) inherited

Name Type Description
event KeyboardEvent

processKeyUp (event) inherited

Name Type Description
event KeyboardEvent

projectMenu ()

prompt (msg, callback, environment, defaultContents, width, floorNum, ceilingNum, isRounded) inherited overrides

Name Type Default Description
msg String '' optional
callback function optional
environment String optional
defaultContents String '' optional
width number 100 optional
floorNum number optional
ceilingNum number optional
isRounded boolean false optional

rawOpenBlocksString (str, name, silently)

Name Type Description
str String
name String
silently boolean

rawOpenCloudDataString (str)

Name Type Description
str String

rawOpenProjectString (str)

Name Type Description
str String

rawOpenScriptString (str)

Name Type Description
str String

rawOpenSpritesString (str)

Name Type Description
str String

rawSaveProject (name)

Name Type Description
name String

reactToChoice (arg) inherited

Name Type Description
arg *

reactToDropOf (aMorph, handMorph) inherited

Name Type Description
aMorph Morph
handMorph HandMorph

reactToGrabOf (grabbedMorph) inherited

Name Type Description
grabbedMorph Morph

reactToKeystroke (event) inherited

Name Type Description
event KeyboardEvent

reactToTemplateCopy () inherited

reactToWorldResize (rect)

Name Type Description
rect Rectangle

recordNewSound ()

reflectLanguage (lang, callback)

Name Type Description
lang String
callback function

refreshIDE ()

refreshPalette (shouldIgnorePosition)

Name Type Default Description
shouldIgnorePosition boolean false optional

removeBlock (aBlock, justThis)

Name Type Description
aBlock ?
justThis boolean

removeChild (aNode) inherited

Name Type Description
aNode Node

removeSetting (key)

Name Type Description
key String

removeShadow () inherited

removeSprite (sprite)

Name Type Description
sprite SpriteMorph

removeUnusedBlocks ()

resendVerification ()

resetCloudPassword ()

resize () inherited

resourceURL (arguments)String

Name Type Description
arguments String repeatable
Returns:
Type Description
String
Returns:
Type Description
number

rightCenter ()Point inherited

Returns:
Type Description
Point

root ()Node inherited

Returns:
Type Description
Node

rootForGrab ()Morph inherited

Returns:
Type Description
Morph

runScripts ()

save ()

saveCanvasAs (canvas, fileName)

Name Type Description
canvas HTMLCanvasElement
fileName String

saveFileAs (contents, fileType, fileName)

Name Type Description
contents ?
fileType String
fileName String

saveProject (name)

Name Type Description
name String

saveProjectsBrowser ()

saveProjectToCloud (name)

Name Type Description
name String

saveSetting (key, value)

Name Type Description
key String
value ?

saveXMLAs (xml, fileName)

Name Type Description
xml ?
fileName String

scrollIntoView () inherited

selectForEdit ()Morph inherited

Returns:
Type Description
Morph

selectSprite ()

setAlphaScaled (alpha) inherited

Name Type Description
alpha number

setBlocksScale (num)

Name Type Description
num number

setBottom (y) inherited

Name Type Description
y number

setCenter (aPoint) inherited

Name Type Description
aPoint Point

setCloudURL ()

setColor (aColor) inherited

Name Type Description
aColor Color

setEmbedMode ()

setExtent (aPoint, silently) inherited overrides

Name Type Default Description
aPoint Point
silently boolean false optional

setFullCenter (aPoint) inherited

Name Type Description
aPoint Point

setHeight (height) inherited

Name Type Description
height number

setLanguage (lang, callback)

Name Type Description
lang String
callback function

setLeft (x) inherited

Name Type Description
x number

setPaletteWidth (newWidth)

Name Type Description
newWidth number

setPosition (aPoint) inherited

Name Type Description
aPoint Point

setProjectName (string)

Name Type Description
string String

setRight (x) inherited

Name Type Description
x number

setStageExtent (aPoint)

Name Type Description
aPoint Point

settingsMenu ()

setTop (y) inherited

Name Type Description
y number

setURL (str)

Name Type Description
str String

setWidth (width) inherited

Name Type Description
width number

shadow (off, a, color)ShadowMorph inherited

Name Type Description
off Point optional
a number optional
color Color optional
Returns:
Type Description
ShadowMorph

shadowImage (off, color)HTMLCanvasElement inherited

Name Type Description
off Point optional
color Color optional
Returns:
Type Description
HTMLCanvasElement

shadowImageBlurred (off, color)HTMLCanvasElement inherited

Name Type Description
off Point optional
color Color optional
Returns:
Type Description
HTMLCanvasElement

show () inherited

showMessage (message, secs)MenuMorph

Name Type Description
message String
secs number
Returns:
Type Description
MenuMorph

siblings ()Array.<Node> inherited

Returns:
Type Description
Array.<Node>

silentMoveBy (delta) inherited

Name Type Description
delta number | Point

silentSetExtent (aPoint) inherited

Name Type Description
aPoint Point

silentSetHeight (height) inherited

Name Type Description
height number

silentSetPosition (aPoint) inherited

Name Type Description
aPoint Point

silentSetWidth (width) inherited

Name Type Description
width number

situation ()Object inherited

Returns:
Type Description
Object

slideBackTo (situation, msecs, onBeforeDrop, onComplete) inherited

Name Type Description
situation Object
msecs number optional
onBeforeDrop function optional
onComplete function optional

snapMenu ()

startFastTracking ()

step () inherited

stepFrame () inherited

stopAllScripts ()

stopFastTracking ()

switchToDevMode ()

switchToUserMode ()

tab (editField) inherited

Name Type Description
editField Morph

toggleAppMode (appMode)

Name Type Description
appMode ?

toggleBlurredShadows ()

toggleCameraSupport ()

toggleDynamicInputLabels ()

toggleFastTracking ()

toggleInputSliders ()

toggleIsDraggable () inherited

toggleLongFormInputDialog ()

togglePauseResume ()

togglePlainPrototypeLabels ()

togglePreferEmptySlotDrops ()

toggleRetina ()

toggleSingleStepping ()

toggleSliderExecute ()

toggleStageSize (isSmall, forcedRatio)

Name Type Description
isSmall boolean optional
forcedRatio number optional

toggleVariableFrameRate ()

toggleVirtualKeyboard ()

toggleVisibility () inherited

toggleZebraColoring ()

top ()number inherited

Returns:
Type Description
number

topCenter ()Point inherited

Returns:
Type Description
Point

topLeft ()Point inherited

Returns:
Type Description
Point

topMorphAt (point)Morph inherited

Name Type Description
point Point
Returns:
Type Description
Morph

topMorphSuchThat (predicate)Morph inherited

Name Type Description
predicate function
Returns:
Type Description
Morph

topRight ()Point inherited

Returns:
Type Description
Point

toString ()String inherited

Returns:
Type Description
String
Example
'a Morph 10 [0@0 | 50@40]'

updateReferences (map) inherited

Name Type Description
map Map
Returns:
Type Description
MenuMorph

userSetBlocksScale ()

userSetDragThreshold ()

userSetStageSize ()

visibleBounds ()Rectangle inherited

Returns:
Type Description
Rectangle

wantsDropOf (aMorph)boolean inherited

Name Type Description
aMorph Morph
Returns:
Type Description
boolean

width ()number inherited

Returns:
Type Description
number
Returns:
Type Description
WorldMorph