The tabs content container for tabpanes.
tabscontent houses a stack of
tabpanes for tabs, which
has a visual border and uses the default style's background
color. When a tabpane is added to a
tabs, its contents are actually placed in
tabscontent.
Said another way, tabscontent is the class used by tabs to place tabpanes. Visually, it
contains a border. The size of the border is constrained by its
parent's (tabs) bordersize attribute value. You can pass the name of
this class in the 'contentclass' attribute of basetabs and tabs. Tabs
uses this class as its default 'contentclass'.
<canvas width="450" height="100">
<include href="lz"/>
<simplelayout axis="x" spacing="10"/>
<view layout="class: simplelayout; axis: y; spacing: 5"
bgcolor="red">
<text>contentclass=basetabscontent</text>
<basetabs y="10" bordersize="5"
tabclass="tab" contentclass="basetabscontent">
<basetabpane text="one" bgcolor="teal">
<text>one</text>
</basetabpane>
<basetabpane text="two" bgcolor="green">
<text>two</text>
</basetabpane>
<basetabpane text="three" bgcolor="blue">
<text>three</text>
</basetabpane>
</basetabs>
</view>
<view layout="class: simplelayout; axis: y; spacing: 5"
bgcolor="yellow">
<text>contentclass=tabscontent</text>
<basetabs y="10" bordersize="5"
tabclass="tab" contentclass="tabscontent">
<basetabpane text="one" bgcolor="teal">
<text>one</text>
</basetabpane>
<basetabpane text="two" bgcolor="green">
<text>two</text>
</basetabpane>
<basetabpane text="three" bgcolor="blue">
<text>three</text>
</basetabpane>
</basetabs>
</view>
</canvas>
| Attributes |
doesenter, enabled, hasdefault, isdefault, style, styleable, text
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
animate, applyConstraint, applyData, childOf, completeInstantiation, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, lookupSourceLocator, searchImmediateSubnodes, searchSubnodes, setAttribute, setDatapath, setID, setName, setOption
addProxyPolicy, addSubview, bringToFront, 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, sendBehind, sendInFrontOf, sendToBack, setAAActive, setAADescription, setAAName, setAASilent, setAATabIndex, setAlign, setAttributeRelative, setBGColor, setClickable, setColor, setColorTransform, setContextMenu, setCursor, setHeight, setLayout, setOpacity, setPan, setPlay, setResource, setResourceNumber, setRotation, setShowHandCursor, setSource, setValign, setVisible, 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.