Name
baselistitem — a group of these are managed by a baselist
Description
See baselist for details.
A group of items that typically is used within a baselist.
Details
Properties (4)
-
selected
-
<attribute name="selected" value="false" />
Whether this item is selected. Our containing list will adopt the value
of this component when it is selected.
-
_selectonevent
-
<attribute name="_selectonevent" type="string" value="onclick" />
private var _selectonevent : String;
This is the event that sets this item as selected with its
parent( an extension of baselist ).
The default is onclick, but it can be set to anything like
onmousetrackup as in the combobox component.
-
_textdatapath
-
<attribute name="_textdatapath" value="null" />
private var _textdatapath;
-
_valuedatapath
-
<attribute name="_valuedatapath" value="null" />
private var _valuedatapath;
Methods (7)
-
dataBindAttribute()
-
<method name="dataBindAttribute" args="attr, path" />
private function dataBindAttribute(attr, path);
-
doClick()
-
<method name="doClick" />
private function doClick();
-
_doMousedown()
-
<method name="_doMousedown" />
private function _doMousedown();
when the user clicks on an item, the
parent component needs to get the focus, so that the user may start
navigating with the arrow keys after a click
-
setDatapath()
-
<method name="setDatapath" args="dp" />
private function setDatapath(dp);
-
setSelected()
-
<method name="setSelected" args="s" />
private function setSelected(s);
sets the selected attribute, called by the selection manager
if this is within a baselist, this method is guaranteed
to be called after all subviews are initialized
-
_setSelected()
-
<method name="_setSelected" args="s" />
protected function _setSelected(s);
this is a setter for the selected attribute
it simply calls the parent's select method, which is
responsible for calling setSelected
If you want to set whether this view is selected, use
setAttribute('selected', true)
-
setSelectOnEvent()
-
<method name="setSelectOnEvent" args="es" />
private function setSelectOnEvent(es);
Events (2)
-
onselect
-
<attribute name="onselect" />
Event sent when the user makes a selection.
-
onselected
-
<attribute name="onselected" />
Event sent when this item is selected.