| <!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:44 CEST 2020 --> |
| <title>PageableTable</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="PageableTable"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9,"i5":10,"i6":10,"i7":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance 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/PageableTable.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/table/SortTableColumnSelectionListener.html" title="class in org.eclipse.nebula.widgets.pagination.table"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/pagination/table/PageableTable.html" target="_top">Frames</a></li> |
| <li><a href="PageableTable.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="#field.summary">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><a href="#field.detail">Field</a> | </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.table</div> |
| <h2 title="Class PageableTable" class="title">Class PageableTable</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><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html" title="class in org.eclipse.nebula.widgets.pagination">org.eclipse.nebula.widgets.pagination.AbstractPageControllerComposite</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html" title="class in org.eclipse.nebula.widgets.pagination">org.eclipse.nebula.widgets.pagination.AbstractPaginationWidget</a><org.eclipse.swt.widgets.Table></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.nebula.widgets.pagination.table.PageableTable</li> |
| </ul> |
| </li> |
| </ul> |
| </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> - the 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/table/forms/FormPageableTable.html" title="class in org.eclipse.nebula.widgets.pagination.table.forms">FormPageableTable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">PageableTable</span> |
| extends <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html" title="class in org.eclipse.nebula.widgets.pagination">AbstractPaginationWidget</a><org.eclipse.swt.widgets.Table></pre> |
| <div class="block">Abstract class SWT <code>Composite</code> which host a SWT <code>Table</code> linked to |
| a pagination controller to display data with pagination. The |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#refreshPage--"><code>refreshPage()</code></a> must be implemented to load paginated |
| data and update the total element of the controller. |
| |
| This composite is able to to add another <code>Composite</code> on the top and on |
| the bottom of the table. For instance you can display navigation page links |
| on the top of the table.</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> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#DEFAULT_TABLE_STYLE">DEFAULT_TABLE_STYLE</a></span></code> |
| <div class="block">default table style</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.jface.viewers.TableViewer</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#viewer">viewer</a></span></code> |
| <div class="block">the table viewer</div> |
| </td> |
| </tr> |
| </table> |
| <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/table/PageableTable.html#PageableTable-org.eclipse.swt.widgets.Composite-int-">PageableTable</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/table/PageableTable.html#PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-">PageableTable</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| int pageSize)</code> </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/table/PageableTable.html#PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-">PageableTable</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| 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="rowColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-">PageableTable</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| int pageSize, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererTopFactory, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererBottomFactory)</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>protected </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-boolean-">PageableTable</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| int pageSize, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererTopFactory, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererBottomFactory, |
| 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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="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 org.eclipse.swt.widgets.Table</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#createTable-org.eclipse.swt.widgets.Composite-">createTable</a></span>(org.eclipse.swt.widgets.Composite parent)</code> |
| <div class="block">Create the table widget and layout it.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Table</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#createTable-org.eclipse.swt.widgets.Composite-int-">createTable</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style)</code> |
| <div class="block">Create a table.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Table</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#createWidget-org.eclipse.swt.widgets.Composite-">createWidget</a></span>(org.eclipse.swt.widgets.Composite parent)</code> |
| <div class="block">Create the widget linked to the pagination controller.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#getDefaultPageRendererBottomFactory--">getDefaultPageRendererBottomFactory</a></span>()</code> |
| <div class="block">Returns the default page renderer factory for the bottom region.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#getDefaultPageRendererTopFactory--">getDefaultPageRendererTopFactory</a></span>()</code> |
| <div class="block">Returns the default page renderer factory for the top region.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#getTableStyle--">getTableStyle</a></span>()</code> |
| <div class="block">Returns the table style.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.jface.viewers.TableViewer</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/pagination/table/PageableTable.html#getViewer--">getViewer</a></span>()</code> |
| <div class="block">Returns the table viewer.</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/table/PageableTable.html#refreshPage--">refreshPage</a></span>()</code> |
| <div class="block">Refresh the page.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.nebula.widgets.pagination.AbstractPaginationWidget"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.nebula.widgets.pagination.<a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html" title="class in org.eclipse.nebula.widgets.pagination">AbstractPaginationWidget</a></h3> |
| <code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#createCompositeBottom-org.eclipse.swt.widgets.Composite-">createCompositeBottom</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#createCompositeTop-org.eclipse.swt.widgets.Composite-">createCompositeTop</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#createUI-org.eclipse.swt.widgets.Composite-">createUI</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getCompositeBottom--">getCompositeBottom</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getCompositeTop--">getCompositeTop</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getPageLoader--">getPageLoader</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getPageLoaderHandler--">getPageLoaderHandler</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getPageRendererBottomFactory--">getPageRendererBottomFactory</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getPageRendererTopFactory--">getPageRendererTopFactory</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#getWidget--">getWidget</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#pageIndexChanged-int-int-org.eclipse.nebula.widgets.pagination.PageableController-">pageIndexChanged</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#pageSizeChanged-int-int-org.eclipse.nebula.widgets.pagination.PageableController-">pageSizeChanged</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#refreshPage-boolean-">refreshPage</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#setLocale-java.util.Locale-">setLocale</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#setPageLoader-org.eclipse.nebula.widgets.pagination.IPageLoader-">setPageLoader</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#setPageLoaderHandler-org.eclipse.nebula.widgets.pagination.IPageLoaderHandler-">setPageLoaderHandler</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.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/AbstractPaginationWidget.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.nebula.widgets.pagination.AbstractPageControllerComposite"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.nebula.widgets.pagination.<a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html" title="class in org.eclipse.nebula.widgets.pagination">AbstractPageControllerComposite</a></h3> |
| <code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#createController-int-">createController</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#dispose--">dispose</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#getController--">getController</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#getLocale--">getLocale</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#getPageContentProvider--">getPageContentProvider</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#localeChanged-java.util.Locale-java.util.Locale-org.eclipse.nebula.widgets.pagination.PageableController-">localeChanged</a>, <a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPageControllerComposite.html#setCurrentPage-int-">setCurrentPage</a></code></li> |
| </ul> |
| <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.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"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="DEFAULT_TABLE_STYLE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_TABLE_STYLE</h4> |
| <pre>protected static final int DEFAULT_TABLE_STYLE</pre> |
| <div class="block">default table style</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.widgets.pagination.table.PageableTable.DEFAULT_TABLE_STYLE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="viewer"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>viewer</h4> |
| <pre>protected org.eclipse.jface.viewers.TableViewer viewer</pre> |
| <div class="block">the table viewer</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="PageableTable-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PageableTable</h4> |
| <pre>public PageableTable(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 default page size |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/PageableController.html#DEFAULT_PAGE_SIZE"><code>PageableController.DEFAULT_PAGE_SIZE</code></a> and default table style |
| SWT.BORDER | SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL are used.</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="PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PageableTable</h4> |
| <pre>public PageableTable(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| 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.</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>tableStyle</code> - the style of table to construct</dd> |
| <dd><code>pageSize</code> - size of the page (number items displayed per page).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PageableTable</h4> |
| <pre>public PageableTable(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| int pageSize)</pre> |
| </li> |
| </ul> |
| <a name="PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PageableTable</h4> |
| <pre>public PageableTable(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| int pageSize, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererTopFactory, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererBottomFactory)</pre> |
| <div class="block">Constructs a new instance of this class given its parent and a style |
| value describing its behavior and appearance.</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>tableStyle</code> - the style of table to construct</dd> |
| <dd><code>pageSize</code> - size of the page (number items displayed per page).</dd> |
| <dd><code>pageRendererTopFactory</code> - the page renderer factory used to create a SWT Composite on |
| the top of the widget. Null if none Composite must be created.</dd> |
| <dd><code>pageRendererBottomFactory</code> - the page renderer factory used to create a SWT Composite on |
| the bottom of the widget. Null if none Composite must be |
| created.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="PageableTable-org.eclipse.swt.widgets.Composite-int-int-int-org.eclipse.nebula.widgets.pagination.IPageContentProvider-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-org.eclipse.nebula.widgets.pagination.renderers.ICompositeRendererFactory-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PageableTable</h4> |
| <pre>protected PageableTable(org.eclipse.swt.widgets.Composite parent, |
| int style, |
| int tableStyle, |
| int pageSize, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/IPageContentProvider.html" title="interface in org.eclipse.nebula.widgets.pagination">IPageContentProvider</a> pageContentProvider, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererTopFactory, |
| <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> pageRendererBottomFactory, |
| 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.</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>tableStyle</code> - the style of table to construct</dd> |
| <dd><code>pageSize</code> - size of the page (number items displayed per page).</dd> |
| <dd><code>pageRendererTopFactory</code> - the page renderer factory used to create a SWT Composite on |
| the top of the widget. Null if none Composite must be created.</dd> |
| <dd><code>pageRendererBottomFactory</code> - the page renderer factory used to create a SWT Composite on |
| the bottom of the widget. Null if none Composite must be |
| created.</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="createWidget-org.eclipse.swt.widgets.Composite-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createWidget</h4> |
| <pre>protected org.eclipse.swt.widgets.Table createWidget(org.eclipse.swt.widgets.Composite parent)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#createWidget-org.eclipse.swt.widgets.Composite-">AbstractPaginationWidget</a></code></span></div> |
| <div class="block">Create the widget linked to the pagination controller.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#createWidget-org.eclipse.swt.widgets.Composite-">createWidget</a></code> in class <code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html" title="class in org.eclipse.nebula.widgets.pagination">AbstractPaginationWidget</a><org.eclipse.swt.widgets.Table></code></dd> |
| <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> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="createTable-org.eclipse.swt.widgets.Composite-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTable</h4> |
| <pre>protected org.eclipse.swt.widgets.Table createTable(org.eclipse.swt.widgets.Composite parent)</pre> |
| <div class="block">Create the table widget and layout it.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTableStyle--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableStyle</h4> |
| <pre>protected int getTableStyle()</pre> |
| <div class="block">Returns the table style.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getViewer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getViewer</h4> |
| <pre>public org.eclipse.jface.viewers.TableViewer getViewer()</pre> |
| <div class="block">Returns the table viewer.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="createTable-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTable</h4> |
| <pre>protected org.eclipse.swt.widgets.Table createTable(org.eclipse.swt.widgets.Composite parent, |
| int style)</pre> |
| <div class="block">Create a table.</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 table to constr * @return</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDefaultPageRendererTopFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultPageRendererTopFactory</h4> |
| <pre>public static <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> getDefaultPageRendererTopFactory()</pre> |
| <div class="block">Returns the default page renderer factory for the top region.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getDefaultPageRendererBottomFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDefaultPageRendererBottomFactory</h4> |
| <pre>public static <a href="../../../../../../org/eclipse/nebula/widgets/pagination/renderers/ICompositeRendererFactory.html" title="interface in org.eclipse.nebula.widgets.pagination.renderers">ICompositeRendererFactory</a> getDefaultPageRendererBottomFactory()</pre> |
| <div class="block">Returns the default page renderer factory for the bottom region.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="refreshPage--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>refreshPage</h4> |
| <pre>public void refreshPage()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#refreshPage--">AbstractPaginationWidget</a></code></span></div> |
| <div class="block">Refresh the page. This method should load paginated list data, update the |
| viewer and update the pagination controller with total elements.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html#refreshPage--">refreshPage</a></code> in class <code><a href="../../../../../../org/eclipse/nebula/widgets/pagination/AbstractPaginationWidget.html" title="class in org.eclipse.nebula.widgets.pagination">AbstractPaginationWidget</a><org.eclipse.swt.widgets.Table></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/PageableTable.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/table/SortTableColumnSelectionListener.html" title="class in org.eclipse.nebula.widgets.pagination.table"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/pagination/table/PageableTable.html" target="_top">Frames</a></li> |
| <li><a href="PageableTable.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="#field.summary">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><a href="#field.detail">Field</a> | </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> |