Name
LzDataSelectionManager
Description
Implements same functionality as a normal selection manager, but without
storing view references, which become invalid as views created by a datapath
that uses lazy replication do. Does this by storing subview numbers.
Details
Methods (7)
-
clearSelection()
-
public function clearSelection();
Unselects everything that is currently selected and clears the selection
list
-
getSelection()
-
public function getSelection() : Array;
Returns a list of datapointers, which point to the selected records
-
isSelected()
-
public function isSelected(o : LzView) : Boolean;
Tests whether the given view is selected
-
__LZsetSelected()
-
private function __LZsetSelected(p : LzDataElement, val : Boolean);
sets the selected attribute of the data, if there is a clone, it will
call setselected on the clone
-
makeSelected()
-
protected function makeSelected(o : LzView);
Makes the given view selected
-
selectRange()
-
private function selectRange(s : LzDataPath, e : LzView);
Selects the range between the datapath that was lastselected and the newly
selected view
-
unselect()
-
public function unselect(o : LzView);
JavaScript Synopsis
public
LzDataSelectionManager extends
LzSelectionManager
{
prototype public function
isSelected
(
o : LzView) :
Boolean;
prototype private function
__LZsetSelected
(
p : LzDataElement,
val : Boolean);
prototype private function
selectRange
(
s : LzDataPath,
e : LzView);
prototype public function
unselect
(
o : LzView);
}