Name | Type | Default | Description |
---|---|---|---|
slotSpec |
String | ||
labelTxt |
String | '' | optional |
min |
number | 0 | optional |
eSpec |
String | optional | |
arrowColor |
Color | optional | |
labelColor |
Color | optional | |
shadowColor |
Color | optional | |
shadowOffset |
Point | optional | |
isTransparent |
boolean | optional |
Extends
Methods
-
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 -
Name Type Description contents
* optional -
addShadow (off, a, color)ShadowMorph inherited
-
Name Type Description off
Point optional a
number optional color
Color optional Returns:
Type Description ShadowMorph -
Returns:
Type Description Array.<Node> -
allEmptySlots ()Array.<?> inherited
-
Returns:
Type Description Array.<?> -
Returns:
Type Description Array.<Morph> -
allInputs ()Array.<ArgMorph> | Array.<ReporterBlockMorph> inherited
-
Returns:
Type Description Array.<ArgMorph> | Array.<ReporterBlockMorph> -
Returns:
Type Description Array.<Node> -
Returns:
Type Description Array.<Node> -
anyChild (aPredicate)boolean inherited
-
Name Type Description aPredicate
function Returns:
Type Description boolean -
arrows ()FrameMorph
-
Returns:
Type Description FrameMorph -
attach () inherited
-
-
backTab (editField) inherited
-
Name Type Description editField
Morph -
bottom ()number inherited
-
Returns:
Type Description number -
Returns:
Type Description Point -
Returns:
Type Description Point -
Returns:
Type Description Point -
Returns:
Type Description Point -
bright ()String inherited
-
Returns:
Type Description String -
Returns:
Type Description Point -
changed () inherited
-
-
childChanged () inherited
-
-
colorSetters ()Array.<String> inherited
-
Returns:
Type Description Array.<String> -
Returns:
Type Description MenuMorph -
Returns:
Type Description Morph -
Name Type Description map
Map Returns:
Type Description Morph -
Returns:
Type Description Array.<Point> -
dark ()String inherited
-
Returns:
Type Description String -
debugCachedInputs () inherited
-
-
definesScriptVariable (name)boolean inherited
-
Name Type Description name
String Returns:
Type Description boolean -
depth ()number inherited
-
Returns:
Type Description number -
destroy () inherited
-
-
Returns:
Type Description MenuMorph -
drawCachedTexture () 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 -
endLayout () inherited
-
-
escalateEvent (functionName, arg) inherited
-
Name Type Description functionName
String arg
* -
Returns:
Type Description * -
evaluateString (code)* inherited
-
Name Type Description code
String Returns:
Type Description * -
exportPictureWithResult (aBubble) inherited
-
Name Type Description aBubble
? -
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 -
-
fixBlockColor (nearestBlock, isForced) inherited
-
Name Type Description nearestBlock
BlockMorph isForced
boolean -
fixHighlight () inherited
-
-
fixLayout () overrides
-
-
flash () inherited
-
-
forAllChildren (aFunction) inherited
-
Name Type Description aFunction
function -
Returns:
Type Description Rectangle -
Returns:
Type Description Rectangle -
fullChanged () 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 -
Name Type Description aPoint
Point Returns:
Type Description Color -
getShadow ()ShadowMorph inherited
-
Returns:
Type Description ShadowMorph -
Returns:
Type Description String -
getVarNamesDict ()Object inherited
-
Returns:
Type Description Object -
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 -
-
Returns:
Type Description MenuMorph -
hint (msg) inherited
-
Name Type Default Description msg
String 'NULL' optional -
inform (msg) inherited
-
Name Type Default Description msg
String 'NULL' optional -
init (slotSpec, labelTxt, min, eSpec, arrowColor, labelColor, shadowColor, shadowOffset, isTransparent) overrides
-
Name Type Default Description slotSpec
String labelTxt
String '' optional min
number 0 optional eSpec
String optional arrowColor
Color optional labelColor
Color optional shadowColor
Color optional shadowOffset
Point optional isTransparent
boolean optional -
inputs ()Array.<SyntaxElementMorph> inherited
-
Returns:
Type Description Array.<SyntaxElementMorph> -
inspect (anotherObject) inherited
-
Name Type Description anotherObject
* -
isCorrectingOutsideDrag ()boolean inherited
-
Returns:
Type Description boolean -
Returns:
Type Description boolean -
isLocked ()boolean inherited
-
Returns:
Type Description boolean -
isObjInputFragment ()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 -
Returns:
Type Description ? -
Name Type Description spec
String Returns:
Type Description ArgMorph | Morph -
left ()number inherited
-
Returns:
Type Description number -
Returns:
Type Description Point -
listIcon ()HTMLCanvasElement inherited
-
Returns:
Type Description HTMLCanvasElement -
-
-
-
Name Type Description definitions
? -
Name Type Description key
String label
String -
Returns:
Type Description Point -
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
-
-
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> -
objectIcon ()HTMLCanvasElement inherited
-
Returns:
Type Description HTMLCanvasElement -
Returns:
Type Description Array.<Morph> -
overlappingImage (otherMorph)HTMLCanvasElement inherited
-
Name Type Description otherMorph
Morph Returns:
Type Description HTMLCanvasElement -
Name Type Description constructor
function Returns:
Type Description Node -
Name Type Description constructors
Array.<function()> Returns:
Type Description Node -
Returns:
Type Description Array.<Morph> -
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 -
Returns:
Type Description Point -
prepareToBeGrabbed (handMorph) inherited
-
Name Type Description handMorph
HandMorph -
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 (msg, callback, environment, defaultContents, width, floorNum, ceilingNum, isRounded) inherited
-
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 -
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 -
reactToSliderEdit () inherited
-
-
reactToTemplateCopy () inherited
-
-
refactorVarInStack (oldName, newName, isScriptVar) inherited
-
Name Type Description oldName
String newName
String isScriptVar
boolean -
-
removeChild (aNode) inherited
-
Name Type Description aNode
Node -
-
removeShadow () inherited
-
-
replaceInput (oldArg, newArg) inherited
-
Name Type Description oldArg
? newArg
? -
resize () inherited
-
-
revertToDefaultInput (arg, noValues) inherited
-
Name Type Default Description arg
? noValues
boolean false optional -
right ()number inherited
-
Returns:
Type Description number -
Returns:
Type Description Point -
Returns:
Type Description Node -
Returns:
Type Description Morph -
scrollIntoView () 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 -
Name Type Description anArray
Array -
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 -
Name Type Description textColor
Color shadowColor
Color shadowOffset
number -
setLeft (x) inherited
-
Name Type Description x
number -
setPosition (aPoint) inherited
-
Name Type Description aPoint
Point -
setRight (x) inherited
-
Name Type Description x
number -
setScale (num) inherited
-
Name Type Description num
number -
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 -
-
showBubble (value, exportPic, target) inherited
-
Name Type Default Description value
? exportPic
boolean false optional target
? -
Returns:
Type Description Array.<Node> -
silentMoveBy (delta) inherited
-
Name Type Description delta
number | Point -
silentReplaceInput (oldArg, newArg) inherited
-
Name Type Description oldArg
? newArg
? -
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 -
startLayout () inherited
-
-
step () inherited
-
-
stepFrame () inherited
-
-
tab (editField) inherited
-
Name Type Description editField
Morph -
tagExitBlocks (stopTag, isCommand) inherited
-
Name Type Description stopTag
? isCommand
boolean -
toggleIsDraggable () inherited
-
-
toggleVisibility () inherited
-
-
top ()number inherited
-
Returns:
Type Description number -
topBlock ()? inherited
-
Returns:
Type Description ? -
Returns:
Type Description Point -
Returns:
Type Description Point -
Name Type Description point
Point Returns:
Type Description Morph -
Name Type Description predicate
function Returns:
Type Description Morph -
Returns:
Type Description Point -
toString ()String inherited
-
Returns:
Type Description String Example
'a Morph 10 [0@0 | 50@40]'
-
unflash () inherited
-
-
updateReferences (map) inherited
-
Name Type Description map
Map -
Returns:
Type Description MenuMorph -
Returns:
Type Description Rectangle -
wantsDropOf (aMorph)boolean inherited
-
Name Type Description aMorph
Morph Returns:
Type Description boolean -
width ()number inherited
-
Returns:
Type Description number -
world ()WorldMorph inherited
-
Returns:
Type Description WorldMorph