Name

dataselectionmanager (LzDataSelectionManager)

Synopsis

LZX: dataselectionmanager
JavaScript: LzDataSelectionManager
Type: Class
Access: private
Topic: LFC.Helpers
Declared in: WEB-INF/lps/lfc/helpers/LzSelectionManager.lzs

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.

Superclass Chain

node (LzNode) » selectionmanager (LzSelectionManager) » dataselectionmanager (LzDataSelectionManager)

Known Subclasses

Details

Methods (7)

clearSelection()
<method name="clearSelection" />
public function clearSelection();
Unselects everything that is currently selected and clears the selection list
getSelection()
<method name="getSelection" />
public function getSelection() : Array;
Returns a list of datapointers, which point to the selected records
isSelected()
<method name="isSelected" args="o" />
public function isSelected(o : LzView);
Tests whether the given view is selected
__LZsetSelected()
<method name="__LZsetSelected" args="p, val" />
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()
<method name="makeSelected" args="o" />
protected function makeSelected(o : LzView);
Makes the given view selected
selectRange()
<method name="selectRange" args="s, e" />
private function selectRange(s : LzDataPath, e : LzView);
Selects the range between the datapath that was lastselected and the newly selected view
unselect()
<method name="unselect" args="o" />
public function unselect(o : LzView);
Unselect the given view

LZX Synopsis

<class name="LzDataSelectionManager" extends=" LzSelectionManager ">
  <method name=" clearSelection " />
  <method name=" getSelection " />
  <method name=" isSelected " args="o" />
  <method name=" __LZsetSelected " args="p, val" />
  <method name=" makeSelected " args="o" />
  <method name=" selectRange " args="s, e" />
  <method name=" unselect " args="o" />
</class>

JavaScript Synopsis

private LzDataSelectionManager extends  LzSelectionManager  {
  prototype public function clearSelection ();
  prototype public function getSelection () : Array;
  prototype public function isSelected (o : LzView);
  prototype private function __LZsetSelected (p : LzDataElement, val : Boolean);
  prototype protected function makeSelected (o : LzView);
  prototype private function selectRange (s : LzDataPath, e : LzView);
  prototype public function unselect (o : LzView);
}