<basefloatinglist>

base class for floatinglist

JavaScript: basefloatinglist

Extends List
This is a base component with no visible elements that implements the functionality of a floating list. See <floatinglist> and <plainfloatinglist> for concrete extensions of this base class. See Also:
Attributes
Name Usage Type (Tag) Type (JS) Default Category
attach Tag & JS string String bottom setter
 

Where this floatinglist should attach to its owner. Possible values: bottom, top, left, right. In the event of a canvas out-of-bounds, the floating list will attach in a visible location.


attachoffset Tag & JS expression any 0 setter
 

The distance from the attachtarget.


attachtarget Tag & JS expression any null setter
 

The view to which this floatinglist will attach. By default, this will be the lexical parent. The style of the attachtarget will be inherited.



Attributes inherited from Basecomponent

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

Attributes inherited from Baseformitem

changed, ignoreform, onchanged, onvalue, rollbackvalue, submit, submitname

Attributes inherited from Baselist

dataoption, defaultselection, itemclassname, multiselect, toggleselected

Attributes inherited from Basevaluecomponent

value

Attributes inherited from List

autoscrollbar, border_bottom, border_left, border_right, border_top, bordersize, minheight, scrollable, scrollbarclassname, shownitems, spacing, tracking

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

setAttachTarget()
basefloatinglist.setAttachTarget(target)

Set the target to which the floating list will attach. Set the "attach" attribute for attachment location relative to this attach target. Our style will be inherited from this attachtarget.

Parameters
Name Type Desc
target LzView the target to attach the floatinglist.


updateAttachLocation()
basefloatinglist.updateAttachLocation()

Adjusts the location of the floatinglist relative to its attachtarget, taking into account the attach location and the canvas bounds.



Methods inherited from basecomponent

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

Methods inherited from baseformitem

applyData, commit, findForm, init, rollback, setChanged, setValue, toXML, updateData

Methods inherited from baselist

clearSelection, getItem, getItemAt, getNumItems, getSelection, getText, getValue, moveSelection, removeItem, removeItemAt, selectItem, selectItemAt, selectNext, selectPrev, setHilite

Methods inherited from list

addItem, ensureItemInView, select

Methods inherited from LzNode

animate, applyConstraint, 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, 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