A draggable panel that provides common behavior for various window classes.
The <windowpanel> tag creates a floating view that
has a title area and can be moved by the user. It provides common
behavior for window,
modaldialog, and
alert.
<canvas width="300" height="150">
<windowpanel x="10" y="10" width="200" height="100"
title="windowpanel" closeable="true">
<text>Hello</text>
</windowpanel>
</canvas>
window, modaldialog and alert
For details on how this component is constructed, see the Window Panel section of the Component Design Guide.
| Attributes | |||||
| Name | Usage | Type (Tag) | Type (JS) | Default | Category |
| closeable | Tag & JS | expression | any | false | setter |
|
If true, the window will have a close control. Default: false |
|||||
|
|
|||||
| inset_bottom | Tag & JS | expression | any | 20 | setter |
|
The bottom inset for the window content area. Default: 20 |
|||||
|
|
|||||
| inset_left | Tag & JS | expression | any | 6 | setter |
|
The left inset for the window content area. Default: 6 |
|||||
|
|
|||||
| inset_right | Tag & JS | expression | any | 11 | setter |
|
The right inset for the window content area. Default: 11 |
|||||
|
|
|||||
| inset_top | Tag & JS | expression | any | 22 | setter |
|
The top inset for the window content area. Default: 22 |
|||||
|
|
|||||
| title | Tag & JS | string | String | setter | |
|
the title of a window : this string appears at the top of the window. Default: none |
|||||
|
|
|||||
| titlearea_inset_top | Tag & JS | expression | any | 6 | setter |
|
The top inset for the window title area. Default: 6 |
|||||
|
|
|||||
doesenter, enabled, hasdefault, isdefault, style, styleable, text
allowdrag, datacontrolsvisibility, haswindowfocus, minheight, minwidth, state
class, classroot, cloneManager, datapath, id, ignoreAttribute, ignoreplacement, immediateparent, initstage, name, nodeLevel, onconstruct, oninit, parent, placement, subnodes
aaactive, aadescription, aaname, aasilent, aatabindex, align, bgcolor, clickable, clickregion, clip, cursor, defaultplacement, fgcolor, focusable, focustrap, font, fontsize, fontstyle, frame, framesloadratio, hassetheight, hassetwidth, height, layout, loadratio, mask, onblur, onclick, ondata, ondblclick, onfocus, onkeydown, onkeyup, onmousedown, onmouseout, onmouseover, onmouseup, onselect, opacity, options, pixellock, play, resource, resourceheight, resourcewidth, rotation, selectiontype, showhandcursor, source, stretches, subviews, totalframes, unstretchedheight, unstretchedwidth, valign, visible, width, x, xoffset, y, yoffset
doEnterDown, doEnterUp, doSpaceDown, doSpaceUp, setStyle, setTint, updateDefault
bringToFront, close, open, sendBehind, sendInFrontOf, sendToBack, setVisible, setWindowFocus
animate, applyConstraint, applyData, childOf, completeInstantiation, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, lookupSourceLocator, searchImmediateSubnodes, searchSubnodes, setAttribute, setDatapath, setID, setName, setOption
addProxyPolicy, addSubview, construct, containsPt, getAttributeRelative, getBounds, getColor, getColorTransform, getContextMenu, getCurrentTime, getDepthList, getHeight, getID3, getMouse, getPan, getTotalTime, getVolume, getWidth, init, measureHeight, measureWidth, play, releaseLayouts, removeProxyPolicy, searchParents, searchSubviews, seek, setAAActive, setAADescription, setAAName, setAASilent, setAATabIndex, setAlign, setAttributeRelative, setBGColor, setClickable, setColor, setColorTransform, setContextMenu, setCursor, setHeight, setLayout, setOpacity, setPan, setPlay, setResource, setResourceNumber, setRotation, setShowHandCursor, setSource, setValign, setVolume, setWidth, setX, setY, shouldYieldFocus, stop, stretchResource, unload, updateResourceSize
| Events |
onaddsubresource, onaddsubview, onblur, onclick, ondblclick, onerror, onfocus, onframe, onheight, onlastframe, onload, onmousedown, onmousedragin, onmousedragout, onmouseout, onmouseover, onmouseup, onmouseupoutside, onopacity, onplay, onremovesubview, onstop, ontimeout, onwidth, onx, ony
Copyright © 2002-2005 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.