Class: ProjectDialogMorph

ProjectDialogMorph

new ProjectDialogMorph (ide, label)

Name Type Description
ide IDE_Morph
label String

Extends

Methods

accept () inherited

add (aMorph) inherited

Name Type Description
aMorph Morph

addBack (aMorph) inherited

Name Type Description
aMorph Morph

addBody (aMorph) inherited

Name Type Description
aMorph Morph

addButton (action, label) inherited

Name Type Default Description
action String 'ok' optional
label function | String 'OK' optional

addChild (aNode) inherited

Name Type Description
aNode Node

addChildFirst (aNode) inherited

Name Type Description
aNode Node

addHead (aMorph) inherited

Name Type Description
aMorph Morph

addShadow (off, a, color)ShadowMorph inherited

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

addSourceButton (source, label, symbol)

Name Type Description
source ?
label String
symbol String

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

askYesNo (title, textString, world, pic) inherited

Name Type Description
title String
textString String
world WorldMorph
pic Morph | HTMLCanvasElement optional

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

buildContents ()

buildFilterField ()

cancel () inherited

center ()Point inherited

Returns:
Type Description
Point

changed () inherited

childChanged () inherited

clearDetails ()

colorSetters ()Array.<String> inherited

Returns:
Type Description
Array.<String>

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>

createButtons () inherited

createLabel () inherited

deleteProject ()

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

Name Type Description
anAudio Audio
name String

droppedBinary (anArrayBuffer, name) inherited

Name Type Description
anArrayBuffer Array
name String

droppedImage (aCanvas, name) inherited

Name Type Description
aCanvas HTMLCanvasElement
name String

droppedSVG (anImage, name) inherited

Name Type Description
anImage Image
name String

droppedText (aString, name) inherited

Name Type Description
aString String
name String

escalateEvent (functionName, arg) inherited

Name Type Description
functionName String
arg *

evaluateString (code)* inherited

Name Type Description
code String
Returns:
Type Description
*

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 () inherited overrides

fixListFieldItemColors ()

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

getExamplesProjectList ()Array.<Object>

Returns:
Type Description
Array.<Object>

getInput ()String inherited

Returns:
Type Description
String

getLocalProjectList ()Array.<Object>

Returns:
Type Description
Array.<Object>

getPixelColor (aPoint)Color inherited

Name Type Description
aPoint Point
Returns:
Type Description
Color

getShadow ()ShadowMorph inherited

Returns:
Type Description
ShadowMorph

glideTo (endPoint, msecs, easing, onComplete) inherited

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

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

inform (title, textString, world, pic) inherited

Name Type Description
title String
textString String
world WorldMorph
pic Morph | HTMLCanvasElement optional

init (ide, label) overrides

Name Type Description
ide IDE_Morph
label String

inspect (anotherObject) inherited

Name Type Description
anotherObject *

installCloudProjectList (pl)

Name Type Description
pl ?

isCorrectingOutsideDrag ()boolean inherited

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

left ()number inherited

Returns:
Type Description
number

leftCenter ()Point inherited

Returns:
Type Description
Point

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

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

normalizeSpaces (string) inherited

Name Type Description
string String

numericalSetters ()Array.<String> inherited

Returns:
Type Description
Array.<String>

ok () inherited

openCloudProject (project)

Name Type Description
project ?

openProject ()

outlinePathBody (context, radius) inherited

Name Type Description
context CanvasRenderingContext2D
radius number

outlinePathTitle (context, radius) inherited

Name Type Description
context CanvasRenderingContext2D
radius number

overlappedMorphs ()Array.<Morph> inherited

Returns:
Type Description
Array.<Morph>

overlappingImage (otherMorph)HTMLCanvasElement inherited

Name Type Description
otherMorph Morph
Returns:
Type Description
HTMLCanvasElement

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

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
Name Type Description
world WorldMorph

position ()Point inherited

Returns:
Type Description
Point

prepareToBeGrabbed (handMorph) inherited

Name Type Description
handMorph HandMorph

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

prompt (title, textString, world, pic, choices, isReadOnly, isNumeric, sliderMin, sliderMax, sliderAction) inherited

Name Type Default Description
title String
textString String
world WorldMorph
pic Morph | HTMLCanvasElement optional
choices Object optional
isReadOnly boolean false optional
isNumeric boolean false optional
sliderMin number optional
sliderMax number optional
sliderAction function optional

promptCode (title, defaultString, world, pic, instructions) inherited

Name Type Default Description
title String
defaultString String '' optional
world WorldMorph
pic Morph | HTMLCanvasElement optional
instructions String optional

promptCredentials (title, purpose, tosURL, tosLabel, prvURL, prvLabel, checkBoxLabel, world, pic, msg) inherited

Name Type Description
title String
purpose String
tosURL String
tosLabel String
prvURL String
prvLabel String
checkBoxLabel String
world WorldMorph
pic Morph | HTMLCanvasElement optional
msg String optional

promptVector (title, point, deflt, xLabel, yLabel, world, pic, msg) inherited

Name Type Description
title String
point Point
deflt Point optional
xLabel String
yLabel String
world WorldMorph
pic Morph | HTMLCanvasElement optional
msg String optional

publishProject ()

rawOpenCloudProject (proj)

Name Type Description
proj ?

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

removeChild (aNode) inherited

Name Type Description
aNode Node

removeShadow () inherited

resize () inherited

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

saveCloudProject ()

saveProject ()

scrollIntoView () inherited

selectForEdit ()Morph inherited

Returns:
Type Description
Morph

setAlphaScaled (alpha) inherited

Name Type Description
alpha number

setBottom (y) inherited

Name Type Description
y number

setCenter (aPoint) inherited

Name Type Description
aPoint Point

setColor (aColor) inherited

Name Type Description
aColor Color

setExtent (aPoint, silently) inherited

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

setLeft (x) inherited

Name Type Description
x number

setPicture (aMorphOrCanvas) inherited

Name Type Description
aMorphOrCanvas Morph | HTMLCanvasElement

setPosition (aPoint) inherited

Name Type Description
aPoint Point

setRight (x) inherited

Name Type Description
x number

setSource (source)

Name Type Description
source ?

setTop (y) inherited

Name Type Description
y number

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

shareProject ()

show () inherited

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

step () inherited

stepFrame () inherited

tab (editField) inherited

Name Type Description
editField Morph

toggleIsDraggable () inherited

toggleVisibility () inherited

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]'

unpublishProject ()

unshareProject ()

updateReferences (map) inherited

Name Type Description
map Map

userMenu ()MenuMorph inherited

Returns:
Type Description
MenuMorph

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

withKey (key)DialogBoxMorph inherited

Name Type Description
key String
Returns:
Type Description
DialogBoxMorph
Returns:
Type Description
WorldMorph