Class PageSizeComboRendererFactory
java.lang.Object
org.eclipse.nebula.widgets.pagination.renderers.pagesize.PageSizeComboRendererFactory
- All Implemented Interfaces:
ICompositeRendererFactory
public class PageSizeComboRendererFactory extends java.lang.Object implements ICompositeRendererFactory
Renderer factory to create instance of
PageSizeComboRenderer
.-
Constructor Summary
Constructors Constructor Description PageSizeComboRendererFactory(java.lang.Integer[] pageSizeList)
-
Method Summary
Modifier and Type Method Description org.eclipse.swt.widgets.Composite
createComposite(org.eclipse.swt.widgets.Composite parent, int style, PageableController controller)
Create SWTComposite
that you can link to the given paination controller.static ICompositeRendererFactory
getFactory()
-
Constructor Details
-
PageSizeComboRendererFactory
public PageSizeComboRendererFactory(java.lang.Integer[] pageSizeList)
-
-
Method Details
-
getFactory
-
createComposite
public org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent, int style, PageableController controller)Description copied from interface:ICompositeRendererFactory
Create SWTComposite
that you can link to the given paination controller.- Specified by:
createComposite
in interfaceICompositeRendererFactory
- Parameters:
parent
- a widget which will be the parent of the new instance (cannot be null)style
- the style of widget to constructcontroller
- the pagination controller.- Returns:
-