<basetabelement>

Base class for the contents of a basetabslider.

JavaScript: basetabelement

Extends Baselistitem

basetabelement is the base class for the contents of a basetabslider. The basetabelement is focusable if it is closed, and not focusable when it is open.

Attributes
Name Usage Type (Tag) Type (JS) Default Category
contentvisible Tag & JS expression any   setter
 

This is set to true when a basetabelement begins to open and is set to false when it finishes its close. Default is the inverse of hideonclose.


headerheight Tag & JS number Number   setter
 

The height of the header. Default is minheight.


hideonclose Tag & JS expression any true setter
 

Content is automatically hidden when tabelement is closed. To override, set this attribute to false. Default is true.


itemclassname Tag & JS string String   setter
 

When creating tabelements via additem, this is the class that gets created. The default value is the class of the first tabelement or its descendant.


minheight Tag & JS number Number 22 setter
 

The height the tab will close to. Default is 22.


onclosestart Tag & JS expression any   setter
 

Sent at the start of the close animation.


onclosestop Tag & JS expression any   setter
 

Sent at the start of the close animation.


onopenstart Tag & JS expression any   setter
 

Sent at the start of the open animation.


onopenstop Tag & JS expression any   setter
 

Sent at the end of the open animation.



Attributes inherited from Basecomponent

doesenter, enabled, hasdefault, isdefault, style, styleable, text

Attributes inherited from Baselistitem

onselected, selected

Attributes inherited from Basevaluecomponent

value

Attributes inherited from Node

class, classroot, cloneManager, datapath, id, ignoreAttribute, ignoreplacement, immediateparent, initstage, name, nodeLevel, onconstruct, oninit, parent, placement, subnodes

Attributes inherited from View

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


Methods

closed()
basetabelement.closed()

Called when the tabelement is completely closed.



openned()
basetabelement.openned()

Called when the tabelement is completely opened.



setSelected()
basetabelement.setSelected(isSelected)

The selection manager associated with a tabslider sends an onselect event to the tabelement that is being opened or closed.

Parameters
Name Type Desc
isSelected boolean true is this basetabelement is selected.


Methods inherited from basecomponent

doEnterDown, doEnterUp, doSpaceDown, doSpaceUp, setStyle, setTint, updateDefault

Methods inherited from basevaluecomponent

getValue

Methods inherited from LzNode

animate, applyConstraint, applyData, childOf, completeInstantiation, createChildren, dataBindAttribute, destroy, determinePlacement, getAttribute, getOption, getUID, lookupSourceLocator, searchImmediateSubnodes, searchSubnodes, setAttribute, setDatapath, setID, setName, setOption

Methods inherited from LzView

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

Events inherited from LzNode

onconstruct, ondata, oninit

Events inherited from LzView

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