C# Class Rhino.Tools.Debugger.Treetable.JTreeTable.ListToTreeSelectionModelWrapper

Inheritance: DefaultTreeSelectionModel
Exibir arquivo Open project: hazzik/Rhino.Net Class Usage Examples

Protected Properties

Property Type Description
updatingListSelectionModel bool

Public Methods

Method Description
GetListSelectionModel ( ) : ListSelectionModel

Returns the list selection model.

Returns the list selection model. ListToTreeSelectionModelWrapper listens for changes to this model and updates the selected paths accordingly.

ListToTreeSelectionModelWrapper ( JTreeTable _enclosing ) : Java.Awt
ResetRowSelection ( ) : void

This is overridden to set updatingListSelectionModel and message super.

This is overridden to set updatingListSelectionModel and message super. This is the only place DefaultTreeSelectionModel alters the ListSelectionModel.

Protected Methods

Method Description
CreateListSelectionListener ( ) : ListSelectionListener

Creates and returns an instance of ListSelectionHandler.

Creates and returns an instance of ListSelectionHandler.

UpdateSelectedPathsFromSelectedRows ( ) : void

If updatingListSelectionModel is false, this will reset the selected paths from the selected rows in the list selection model.

If updatingListSelectionModel is false, this will reset the selected paths from the selected rows in the list selection model.

Method Details

CreateListSelectionListener() protected method

Creates and returns an instance of ListSelectionHandler.
Creates and returns an instance of ListSelectionHandler.
protected CreateListSelectionListener ( ) : ListSelectionListener
return ListSelectionListener

GetListSelectionModel() public method

Returns the list selection model.
Returns the list selection model. ListToTreeSelectionModelWrapper listens for changes to this model and updates the selected paths accordingly.
public GetListSelectionModel ( ) : ListSelectionModel
return ListSelectionModel

ListToTreeSelectionModelWrapper() public method

public ListToTreeSelectionModelWrapper ( JTreeTable _enclosing ) : Java.Awt
_enclosing JTreeTable
return Java.Awt

ResetRowSelection() public method

This is overridden to set updatingListSelectionModel and message super.
This is overridden to set updatingListSelectionModel and message super. This is the only place DefaultTreeSelectionModel alters the ListSelectionModel.
public ResetRowSelection ( ) : void
return void

UpdateSelectedPathsFromSelectedRows() protected method

If updatingListSelectionModel is false, this will reset the selected paths from the selected rows in the list selection model.
If updatingListSelectionModel is false, this will reset the selected paths from the selected rows in the list selection model.
protected UpdateSelectedPathsFromSelectedRows ( ) : void
return void

Property Details

updatingListSelectionModel protected_oe property

Set to true when we are updating the ListSelectionModel.
Set to true when we are updating the ListSelectionModel.
protected bool updatingListSelectionModel
return bool