public interface SelectionChangedInterceptor extends Interceptor
SelectionChangedInterceptor
class is designed to intercept
selection changed event in selection model.Modifier and Type | Field and Description |
---|---|
static int |
APPEND_SELECTION_COLLECTION
append a collection of elements into selection model.
|
static int |
APPEND_SELECTION_ELEMENT
append a element into selection model.
|
static int |
CLEAR_SELECTION
clear all selected elements from selection model.
|
static int |
REMOVE_SELECTION_COLLECTION
remove a collection of elements from selection model.
|
static int |
REMOVE_SELECTION_ELEMENT
remove a element from selection model.
|
Modifier and Type | Method and Description |
---|---|
void |
afterSelectionChanged(TDataBox box,
int type,
java.util.Collection elements)
Invoked after elements' selection state changed.
|
void |
beforeSelectionChanged(TDataBox box,
int type,
java.util.Collection elements)
Invoked before elements' selection state changed.
|
static final int APPEND_SELECTION_COLLECTION
static final int APPEND_SELECTION_ELEMENT
static final int CLEAR_SELECTION
static final int REMOVE_SELECTION_COLLECTION
static final int REMOVE_SELECTION_ELEMENT
void beforeSelectionChanged(TDataBox box, int type, java.util.Collection elements)
box
- the related data box.type
- the selection changed type.elements
- the elements to be changed.void afterSelectionChanged(TDataBox box, int type, java.util.Collection elements)
box
- the related data box.type
- the selection changed type.elements
- the elements to be changed.Copyright © 2002 - 2010 Serva Software. All Rights Reserved.