Documentation in progress: please use the 3.4 Reference Manual.

Name

LzDataSelectionManager

Synopsis

JavaScript: LzDataSelectionManager
Type: Class
Access: public
Topic: LFC.Helpers
Declared in: WEB-INF/lps/lfc/helpers/LzDataSelectionManager.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) » LzDataSelectionManager

Known Subclasses

Details

Methods (5)

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
makeSelected()
protected function makeSelected(o : LzView);
Makes the given view selected
unselect()
public function unselect(o : LzView);
Unselect the given view

JavaScript Synopsis

public LzDataSelectionManager extends  LzSelectionManager  {
  prototype public function clearSelection ();
  prototype public function getSelection () : Array;
  prototype public function isSelected (o : LzView) : Boolean;
  prototype protected function makeSelected (o : LzView);
  prototype public function unselect (o : LzView);
}