Main Page | Packages | Class Tree | Index | Help

xp.system

class TreeEditManager

Object
  |
  +--xp.system.DispatcherObject
        |
        +--xp.system.TreeEditManager


class TreeEditManager
extends DispatcherObject

Manages editing nodes in a TreeView.


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public
isEditing: Boolean
Are we currently editing

Fields inherited from class xp.system.DispatcherObject

parent

Constructor

public
TreeEditManager ( host: ScrollSelectView, itemsControl: ListItemsControl)
Constructor - This should not be called directly.


Method Summary

public
hideEditor ( save: Boolean ): Boolean
Hides the cell editor

public
showEditor ( context: Object ): Boolean
Shows the cell editor row

Methods inherited from class xp.system.DispatcherObject

addEventListener, removeEventListener, routeEvent



Field Documentation

isEditing

public var isEditing: Boolean
Are we currently editing


Constructor Documentation

TreeEditManager

public function TreeEditManager(host: ScrollSelectView,
 itemsControl: ListItemsControl)
Constructor - This should not be called directly.

TreeEditManager are usually instantiated by a host control

Parameters:
host
The TreeView hosting this editor
itemsControl
The ListItemsControl this editor will work on

Method Documentation

hideEditor

public function hideEditor(save: Boolean): Boolean
Hides the cell editor

showEditor

public function showEditor(context: Object): Boolean
Shows the cell editor row

Parameters:
context
The edit session context object containing the properties: item - a reference to row object row - row index of the cell to be edited. cell - cell index of the cell to be edited.

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc