Name
listitem —
a listitem is an element of a list
Description
A listitem is an element with a value that
is contained within a list. As with
baselistitem, the selected attribute will be
true when selected.
A simple listitem that is usually declared inside of a list.
Details
Properties (4)
-
height
-
<attribute name="height" value="20" />
The height of the listitem.
-
hilited
-
<attribute name="hilited" value="false" />
-
_ipclassroot
-
<attribute name="_ipclassroot" value="$once{immediateparent.classroot}" />
private var _ipclassroot;
-
_selectonevent
-
<attribute name="_selectonevent" value="onmousetrackup" />
private var _selectonevent;
This is a protected attribute of baselistitem and the default value of
onClick is replaced with onmousetrackup so that the parent.select()
function is not called twice.
Methods (4)
-
_applystyle()
-
<method name="_applystyle" args="s" />
private function _applystyle(s);
-
setHilite()
-
<method name="setHilite" args="ishilited" />
private function setHilite(ishilited);
-
setSelected()
-
<method name="setSelected" args="isSelected" />
private function setSelected(isSelected);
-
_showEnabled()
-
<method name="_showEnabled" />
private function _showEnabled();
LZX Synopsis
<class name="
lz.listitem" extends="
lz.baselistitem
">
<attribute name="
height
" value="
20" />
<attribute name="
hilited
" value="
false" />
<attribute name="
_ipclassroot
" value="
$once{immediateparent.classroot}" />
<method name="
setHilite
" args="
ishilited" />
</class>