Class LazyItemsSelectionListener
java.lang.Object
org.eclipse.swt.events.SelectionAdapter
org.eclipse.nebula.widgets.pagination.AbstractPageControllerSelectionListener<PageableController>
org.eclipse.nebula.widgets.pagination.LazyItemsSelectionListener
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class LazyItemsSelectionListener extends AbstractPageControllerSelectionListener<PageableController>
SelectionListener
implementation used to load data with lazy mode :
when an item (TableItem, TreeItem, etc) is selected and must load next page.-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LAST_ITEM_LOADED
-
Constructor Summary
Constructors Constructor Description LazyItemsSelectionListener()
Constructor with none pagination controller.LazyItemsSelectionListener(PageableController controller)
Constructor with pagination controller. -
Method Summary
Modifier and Type Method Description void
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Methods inherited from class org.eclipse.nebula.widgets.pagination.AbstractPageControllerSelectionListener
getController
-
Field Details
-
LAST_ITEM_LOADED
public static final java.lang.String LAST_ITEM_LOADED- See Also:
- Constant Field Values
-
-
Constructor Details
-
LazyItemsSelectionListener
public LazyItemsSelectionListener()Constructor with none pagination controller.- Parameters:
controller
-
-
LazyItemsSelectionListener
Constructor with pagination controller.- Parameters:
controller
-
-
-
Method Details
-
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)- Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
- Overrides:
widgetSelected
in classorg.eclipse.swt.events.SelectionAdapter
-