T - Type of row object beans in the underlying data source@Deprecated public class RowSelectionPreserver<T> extends Object implements ILayerEventHandler<IVisualChangeEvent>
Example: Data 'A' is the 1st row. An update comes in and data 'A' moves to the 5th row. This class clears current selection and selects row 5.
| Constructor and Description |
|---|
RowSelectionPreserver(SelectionLayer selectionLayer,
IRowDataProvider<T> rowDataProvider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Class<IVisualChangeEvent> |
getLayerEventClass()
Deprecated.
|
void |
handleLayerEvent(IVisualChangeEvent event)
Deprecated.
On a change in the underlying data:
Clears the selection
Re-select the row objects selected earlier.
|
public RowSelectionPreserver(SelectionLayer selectionLayer, IRowDataProvider<T> rowDataProvider)
public void handleLayerEvent(IVisualChangeEvent event)
handleLayerEvent in interface ILayerEventHandler<IVisualChangeEvent>public Class<IVisualChangeEvent> getLayerEventClass()
getLayerEventClass in interface ILayerEventHandler<IVisualChangeEvent>Copyright © 2019. All rights reserved.