| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_201) on Thu Jul 23 15:58:46 CEST 2020 --> |
| <title>AbstractPageControllerComposite</title> |
| <meta name="date" content="2020-07-23"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractPageControllerComposite"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":6,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractPageControllerComposite.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerSelectionListener.html" title="class in org.eclipse.nebula.widgets.pagination"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html" target="_top">Frames</a></li> |
| <li><a href="AbstractPageControllerComposite.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.swt.widgets.Control">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.nebula.widgets.pagination</div> |
| <h2 title="Class AbstractPageControllerComposite" class="title">Class AbstractPageControllerComposite</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.swt.widgets.Widget</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.swt.widgets.Control</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.swt.widgets.Scrollable</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.swt.widgets.Composite</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.nebula.widgets.pagination.AbstractPageControllerComposite</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - pagination controller.</dd> |
| </dl> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageChangedListener</a>, org.eclipse.swt.graphics.Drawable</dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html" title="class in org.eclipse.nebula.widgets.pagination">AbstractPaginationWidget</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/renderers/navigation/NavigationPageComboRenderer.html" title="class in org.eclipse.nebula.widgets.pagination.renderers.navigation">NavigationPageComboRenderer</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/renderers/navigation/NavigationPageScaleRenderer.html" title="class in org.eclipse.nebula.widgets.pagination.renderers.navigation">NavigationPageScaleRenderer</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/renderers/pagesize/PageSizeComboRenderer.html" title="class in org.eclipse.nebula.widgets.pagination.renderers.pagesize">PageSizeComboRenderer</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/renderers/navigation/ResultAndNavigationPageGraphicsRenderer.html" title="class in org.eclipse.nebula.widgets.pagination.renderers.navigation">ResultAndNavigationPageGraphicsRenderer</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/renderers/navigation/ResultAndNavigationPageLinksRenderer.html" title="class in org.eclipse.nebula.widgets.pagination.renderers.navigation">ResultAndNavigationPageLinksRenderer</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">AbstractPageControllerComposite</span> |
| extends org.eclipse.swt.widgets.Composite |
| implements <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageChangedListener</a></pre> |
| <div class="block">Classes which implement this interface are SWT <code>Composite</code> which must |
| observe changed of a pagination controller to react and update the UI |
| according the change of the pagination controller. Ex: control to display |
| page navigation, paginated data in a table, etc...</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.swt.widgets.Control"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.swt.widgets.Control</h3> |
| <code>handle</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-">AbstractPageControllerComposite</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style)</code> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-">AbstractPageControllerComposite</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int pageSize, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider)</code> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.pagination.PageableController-">AbstractPageControllerComposite</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> controller)</code> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.pagination.PageableController-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-boolean-">AbstractPageControllerComposite</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> controller, |
| int pageSize, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider, |
| boolean createUI)</code> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#createController-int-">createController</a></span>(int pageSize)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected abstract void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#createUI-org.eclipse.swt.widgets.Composite-">createUI</a></span>(org.eclipse.swt.widgets.Composite parent)</code> |
| <div class="block">Create the UI content.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#dispose--">dispose</a></span>()</code> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#getController--">getController</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>java.util.Locale</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#getLocale--">getLocale</a></span>()</code> |
| <div class="block">returns the locale to use for resources.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#getPageContentProvider--">getPageContentProvider</a></span>()</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#localeChanged-java.util.Locale-java.util.Locale-org.eclipse.nebula.widgets.pagination.PageableController-">localeChanged</a></span>(java.util.Locale oldLocale, |
| java.util.Locale newLocale, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> paginationController)</code> |
| <div class="block">Sent when locale changed in the page controller |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination"><code>PageableController</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#setCurrentPage-int-">setCurrentPage</a></span>(int currentPage)</code> |
| <div class="block">Set the current page index to teh pagination controller.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#setLocale-java.util.Locale-">setLocale</a></span>(java.util.Locale locale)</code> |
| <div class="block">Set the locale to use for resources.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Composite"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Composite</h3> |
| <code>changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Scrollable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Scrollable</h3> |
| <code>computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Control"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Control</h3> |
| <code>addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Widget"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Widget</h3> |
| <code>addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.nebula.widgets.pagination.IPageChangedListener"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.nebula.widgets.pagination.<a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageChangedListener</a></h3> |
| <code><a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html#pageIndexChanged-int-int-org.eclipse.nebula.widgets.pagination.PageableController-">pageIndexChanged</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html#pageSizeChanged-int-int-org.eclipse.nebula.widgets.pagination.PageableController-">pageSizeChanged</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html#sortChanged-java.lang.String-java.lang.String-int-int-org.eclipse.nebula.widgets.pagination.PageableController-">sortChanged</a>, <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html#totalElementsChanged-long-long-org.eclipse.nebula.widgets.pagination.PageableController-">totalElementsChanged</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.graphics.Drawable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.swt.graphics.Drawable</h3> |
| <code>isAutoScalable</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AbstractPageControllerComposite</h4> |
| <pre>public AbstractPageControllerComposite(org.eclipse.swt.widgets.Composite parent, |
| int style)</pre> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance. Here the pagination |
| controller is created in this class with default page size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - a widget which will be the parent of the new instance (cannot |
| be null)</dd> |
| <dd><code>style</code> - the style of widget to construct</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.pagination.PageableController-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AbstractPageControllerComposite</h4> |
| <pre>public AbstractPageControllerComposite(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> controller)</pre> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance. Here the pagination |
| controller is filled.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - a widget which will be the parent of the new instance (cannot |
| be null)</dd> |
| <dd><code>style</code> - the style of widget to construct</dd> |
| <dd><code>controller</code> - the pagination controller to observe and update.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>AbstractPageControllerComposite</h4> |
| <pre>public AbstractPageControllerComposite(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int pageSize, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider)</pre> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance. Here the pagination |
| controller is created in this class with the given page size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - a widget which will be the parent of the new instance (cannot |
| be null)</dd> |
| <dd><code>style</code> - the style of widget to construct</dd> |
| <dd><code>pageSize</code> - size of the page (number items displayed per page).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="AbstractPageControllerComposite-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.pagination.PageableController-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractPageControllerComposite</h4> |
| <pre>protected AbstractPageControllerComposite(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> controller, |
| int pageSize, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider, |
| boolean createUI)</pre> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance. The pagination controller |
| is created in this class or filled.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - a widget which will be the parent of the new instance (cannot |
| be null)</dd> |
| <dd><code>style</code> - the style of widget to construct</dd> |
| <dd><code>controller</code> - the pagination controller to observe and update. If this |
| controller is null, this Composite create the pagination |
| controller with the given pageSize.</dd> |
| <dd><code>pageSize</code> - size of the page (number items displayed per page).</dd> |
| <dd><code>createUI</code> - true if the UI must be created and false otherwise.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="createController-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createController</h4> |
| <pre>protected <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> createController(int pageSize)</pre> |
| </li> |
| </ul> |
| <a name="getController--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getController</h4> |
| <pre>public <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> getController()</pre> |
| </li> |
| </ul> |
| <a name="setCurrentPage-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCurrentPage</h4> |
| <pre>public void setCurrentPage(int currentPage)</pre> |
| <div class="block">Set the current page index to teh pagination controller.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>currentPage</code> - new current page index.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void dispose()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>dispose</code> in class <code>org.eclipse.swt.widgets.Widget</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setLocale-java.util.Locale-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLocale</h4> |
| <pre>public void setLocale(java.util.Locale locale)</pre> |
| <div class="block">Set the locale to use for resources.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>locale</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getLocale--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLocale</h4> |
| <pre>public java.util.Locale getLocale()</pre> |
| <div class="block">returns the locale to use for resources.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="localeChanged-java.util.Locale-java.util.Locale-org.eclipse.nebula.widgets.pagination.PageableController-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localeChanged</h4> |
| <pre>public void localeChanged(java.util.Locale oldLocale, |
| java.util.Locale newLocale, |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination">PageableController</a> paginationController)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html#localeChanged-java.util.Locale-java.util.Locale-org.eclipse.nebula.widgets.pagination.PageableController-">IPageChangedListener</a></code></span></div> |
| <div class="block">Sent when locale changed in the page controller |
| <a href="../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html" title="class in org.eclipse.nebula.widgets.pagination"><code>PageableController</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html#localeChanged-java.util.Locale-java.util.Locale-org.eclipse.nebula.widgets.pagination.PageableController-">localeChanged</a></code> in interface <code><a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageChangedListener.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageChangedListener</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>oldLocale</code> - old locale.</dd> |
| <dd><code>newLocale</code> - new locale.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPageContentProvider--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPageContentProvider</h4> |
| <pre>public <a href="../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> getPageContentProvider()</pre> |
| </li> |
| </ul> |
| <a name="createUI-org.eclipse.swt.widgets.Composite-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createUI</h4> |
| <pre>protected abstract void createUI(org.eclipse.swt.widgets.Composite parent)</pre> |
| <div class="block">Create the UI content.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractPageControllerComposite.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerSelectionListener.html" title="class in org.eclipse.nebula.widgets.pagination"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html" target="_top">Frames</a></li> |
| <li><a href="AbstractPageControllerComposite.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.eclipse.swt.widgets.Control">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |