| <!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:48 CEST 2020 --> |
| <title>DualList</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="DualList"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10}; |
| var tabs = {65535:["t0","All 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/DualList.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><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.LAST_ACTION.html" title="enum in org.eclipse.nebula.widgets.opal.duallist"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeEvent.html" title="class in org.eclipse.nebula.widgets.opal.duallist"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/opal/duallist/DualList.html" target="_top">Frames</a></li> |
| <li><a href="DualList.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.opal.duallist</div> |
| <h2 title="Class DualList" class="title">Class DualList</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.opal.duallist.DualList</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>org.eclipse.swt.graphics.Drawable</dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">DualList</span> |
| extends org.eclipse.swt.widgets.Composite</pre> |
| <div class="block">Instances of this class are controls that allow the user to select multiple |
| elements. |
| <dl> |
| <dt><b>Styles:</b></dt> |
| <dd>(none)</dd> |
| <dt><b>Events:</b></dt> |
| <dd>Selection</dd> |
| </dl></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="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#DualList-org.eclipse.swt.widgets.Composite-int-">DualList</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> |
| </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="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>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#add-org.eclipse.nebula.widgets.opal.duallist.DLItem-">add</a></span>(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item)</code> |
| <div class="block">Adds the argument to the end of the receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#add-org.eclipse.nebula.widgets.opal.duallist.DLItem-int-">add</a></span>(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item, |
| int index)</code> |
| <div class="block">Adds the argument to the receiver's list at the given zero-relative index.</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/opal/duallist/DualList.html#addSelectionChangeListener-org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener-">addSelectionChangeListener</a></span>(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeListener.html" title="interface in org.eclipse.nebula.widgets.opal.duallist">SelectionChangeListener</a> listener)</code> |
| <div class="block">Adds the listener to the collection of listeners who will be notified when |
| the user changes the receiver's selection, by sending it one of the messages |
| defined in the <code>SelectionChangeListener</code> interface.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#addSelectionListener-org.eclipse.swt.events.SelectionListener-">addSelectionListener</a></span>(org.eclipse.swt.events.SelectionListener listener)</code> |
| <div class="block">Adds the listener to the collection of listeners who will be notified when |
| the user changes the receiver's selection, by sending it one of the messages |
| defined in the <code>SelectionListener</code> interface.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselect-int-">deselect</a></span>(int index)</code> |
| <div class="block">Deselects the item at the given zero-relative index in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselect-int:A-">deselect</a></span>(int[] indices)</code> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver.</div> |
| </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/opal/duallist/DualList.html#deselect-int-int-">deselect</a></span>(int start, |
| int end)</code> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver.</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/opal/duallist/DualList.html#deselectAll--">deselectAll</a></span>()</code> |
| <div class="block">Deselects all selected items in the receiver.</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/opal/duallist/DualList.html#deselectAll-boolean-">deselectAll</a></span>(boolean shouldFireEvents)</code> |
| <div class="block">Deselects all selected items in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselectAllDoNotFireEvent--">deselectAllDoNotFireEvent</a></span>()</code> |
| <div class="block">Deselects all selected items in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselectDoNotFireEvent-int-">deselectDoNotFireEvent</a></span>(int index)</code> |
| <div class="block">Deselects the item at the given zero-relative index in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselectDoNotFireEvent-int:A-">deselectDoNotFireEvent</a></span>(int[] indices)</code> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselectDoNotFireEvent-int-int-">deselectDoNotFireEvent</a></span>(int start, |
| int end)</code> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#deselectItem--">deselectItem</a></span>()</code> |
| <div class="block">Deselect a given item</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getItem-int-">getItem</a></span>(int index)</code> |
| <div class="block">Returns the item at the given, zero-relative index in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getItemCount--">getItemCount</a></span>()</code> |
| <div class="block">Returns the number of items contained in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getItems--">getItems</a></span>()</code> |
| <div class="block">Returns a (possibly empty) array of <code>DLItem</code>s which are the items |
| in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getItemsAsList--">getItemsAsList</a></span>()</code> |
| <div class="block">Returns a (possibly empty) list of <code>DLItem</code>s which are the items |
| in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getSelection--">getSelection</a></span>()</code> |
| <div class="block">Returns an array of <code>DLItem</code>s that are currently selected in the |
| receiver.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getSelectionAsList--">getSelectionAsList</a></span>()</code> |
| <div class="block">Returns a list of <code>DLItem</code>s that are currently selected in the |
| receiver.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#getSelectionCount--">getSelectionCount</a></span>()</code> |
| <div class="block">Returns the number of selected items contained in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#moveDownItem--">moveDownItem</a></span>()</code> |
| <div class="block">Move the selected item down</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#moveSelectionToFirstPosition--">moveSelectionToFirstPosition</a></span>()</code> |
| <div class="block">Move the selected item to the first position</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#moveSelectionToLastPosition--">moveSelectionToLastPosition</a></span>()</code> |
| <div class="block">Move the selected item to the last position</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#moveUpItem--">moveUpItem</a></span>()</code> |
| <div class="block">Move the selected item up</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#remove-org.eclipse.nebula.widgets.opal.duallist.DLItem-">remove</a></span>(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item)</code> |
| <div class="block">Searches the receiver's list starting at the first item until an item is |
| found that is equal to the argument, and removes that item from the list.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#remove-int-">remove</a></span>(int index)</code> |
| <div class="block">Removes the item from the receiver at the given zero-relative index.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#remove-int:A-">remove</a></span>(int[] indices)</code> |
| <div class="block">Removes the items from the receiver at the given zero-relative indices.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#remove-int-int-">remove</a></span>(int start, |
| int end)</code> |
| <div class="block">Removes the items from the receiver which are between the given zero-relative |
| start and end indices (inclusive).</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#removeAll--">removeAll</a></span>()</code> |
| <div class="block">Removes all of the items from the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#removeSelectionChangeListener-org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener-">removeSelectionChangeListener</a></span>(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeListener.html" title="interface in org.eclipse.nebula.widgets.opal.duallist">SelectionChangeListener</a> listener)</code> |
| <div class="block">Removes the listener from the collection of listeners who will be notified |
| when the user changes the receiver's selection.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#removeSelectionListener-org.eclipse.swt.events.SelectionListener-">removeSelectionListener</a></span>(org.eclipse.swt.events.SelectionListener listener)</code> |
| <div class="block">Removes the listener from the collection of listeners who will be notified |
| when the user changes the receiver's selection.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#select-int-">select</a></span>(int index)</code> |
| <div class="block">Selects the item at the given zero-relative index in the receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#select-int:A-">select</a></span>(int[] indices)</code> |
| <div class="block">Selects the items at the given zero-relative indices in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#select-int-int-">select</a></span>(int start, |
| int end)</code> |
| <div class="block">Selects the items in the range specified by the given zero-relative indices |
| in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#selectAll--">selectAll</a></span>()</code> |
| <div class="block">Selects all of the items in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#selectAllDoNotFireEvent--">selectAllDoNotFireEvent</a></span>()</code> |
| <div class="block">Selects all of the items in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#selectDoNotFireEvent-int-">selectDoNotFireEvent</a></span>(int index)</code> |
| <div class="block">Selects the item at the given zero-relative index in the receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#selectDoNotFireEvent-int:A-">selectDoNotFireEvent</a></span>(int[] indices)</code> |
| <div class="block">Selects the items at the given zero-relative indices in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#selectDoNotFireEvent-int-int-">selectDoNotFireEvent</a></span>(int start, |
| int end)</code> |
| <div class="block">Selects the items in the range specified by the given zero-relative indices |
| in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#selectItem--">selectItem</a></span>()</code> |
| <div class="block">Select a given item</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#setBounds-int-int-int-int-">setBounds</a></span>(int x, |
| int y, |
| int width, |
| int height)</code> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#setItem-int-org.eclipse.nebula.widgets.opal.duallist.DLItem-">setItem</a></span>(int index, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item)</code> |
| <div class="block">Sets the item in the receiver's list at the given zero-relative index to the |
| item argument.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#setItems-org.eclipse.nebula.widgets.opal.duallist.DLItem:A-">setItems</a></span>(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>[] items)</code> |
| <div class="block">Sets the receiver's items to be the given array of items.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#setItems-java.util.List-">setItems</a></span>(java.util.List<<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>> items)</code> |
| <div class="block">Sets the receiver's items to be the given list of items.</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, 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, dispose, 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"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DualList-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DualList</h4> |
| <pre>public DualList(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. |
| <p> |
| The style value is either one of the style constants defined in class |
| <code>SWT</code> which is applicable to instances of this class, or must be |
| built by <em>bitwise OR</em>'ing together (that is, using the |
| <code>int</code> "|" operator) two or more of those <code>SWT</code> style |
| constants. The class description lists the style constants that are |
| applicable to the class. Style bits are also inherited from superclasses. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - a composite control which will be the parent of the new |
| instance (cannot be null)</dd> |
| <dd><code>style</code> - the style of control to construct</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the parent is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the parent</li> |
| </ul></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="add-org.eclipse.nebula.widgets.opal.duallist.DLItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public void add(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item)</pre> |
| <div class="block">Adds the argument to the end of the receiver's list.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>item</code> - the new item</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the item is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#add-org.eclipse.nebula.widgets.opal.duallist.DLItem-int-"><code>add(DLItem,int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-org.eclipse.nebula.widgets.opal.duallist.DLItem-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public void add(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item, |
| int index)</pre> |
| <div class="block">Adds the argument to the receiver's list at the given zero-relative index. |
| <p> |
| Note: To add an item at the end of the list, use the result of calling |
| <code>getItemCount()</code> as the index or use <code>add(DLItem)</code>. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>item</code> - the new item</dd> |
| <dd><code>index</code> - the index for the item</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the item is null</li> |
| <li>ERROR_INVALID_RANGE - if the index is not between 0 and |
| the number of elements in the list (inclusive)</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>#add(String)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addSelectionListener-org.eclipse.swt.events.SelectionListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addSelectionListener</h4> |
| <pre>public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)</pre> |
| <div class="block">Adds the listener to the collection of listeners who will be notified when |
| the user changes the receiver's selection, by sending it one of the messages |
| defined in the <code>SelectionListener</code> interface.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener which should be notified</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the listener is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>SelectionListener</code>, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#removeSelectionListener-org.eclipse.swt.events.SelectionListener-"><code>removeSelectionListener(org.eclipse.swt.events.SelectionListener)</code></a>, |
| <code>SelectionEvent</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeSelectionListener-org.eclipse.swt.events.SelectionListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeSelectionListener</h4> |
| <pre>public void removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)</pre> |
| <div class="block">Removes the listener from the collection of listeners who will be notified |
| when the user changes the receiver's selection.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener which should no longer be notified</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the listener is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>SelectionListener</code>, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#addSelectionListener-org.eclipse.swt.events.SelectionListener-"><code>addSelectionListener(org.eclipse.swt.events.SelectionListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addSelectionChangeListener-org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addSelectionChangeListener</h4> |
| <pre>public void addSelectionChangeListener(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeListener.html" title="interface in org.eclipse.nebula.widgets.opal.duallist">SelectionChangeListener</a> listener)</pre> |
| <div class="block">Adds the listener to the collection of listeners who will be notified when |
| the user changes the receiver's selection, by sending it one of the messages |
| defined in the <code>SelectionChangeListener</code> interface.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener which should be notified</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the listener is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeListener.html" title="interface in org.eclipse.nebula.widgets.opal.duallist"><code>SelectionChangeListener</code></a>, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#removeSelectionChangeListener-org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener-"><code>removeSelectionChangeListener(org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener)</code></a>, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeEvent.html" title="class in org.eclipse.nebula.widgets.opal.duallist"><code>SelectionChangeEvent</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeSelectionChangeListener-org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeSelectionChangeListener</h4> |
| <pre>public void removeSelectionChangeListener(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeListener.html" title="interface in org.eclipse.nebula.widgets.opal.duallist">SelectionChangeListener</a> listener)</pre> |
| <div class="block">Removes the listener from the collection of listeners who will be notified |
| when the user changes the receiver's selection.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener which should no longer be notified</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the listener is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeListener.html" title="interface in org.eclipse.nebula.widgets.opal.duallist"><code>SelectionChangeListener</code></a>, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DualList.html#addSelectionChangeListener-org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener-"><code>addSelectionChangeListener(org.eclipse.nebula.widgets.opal.duallist.SelectionChangeListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselect-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselect</h4> |
| <pre>public void deselect(int index)</pre> |
| <div class="block">Deselects the item at the given zero-relative index in the receiver. If the |
| item at the index was already deselected, it remains deselected. Indices that |
| are out of range are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the item to deselect</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselectDoNotFireEvent-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectDoNotFireEvent</h4> |
| <pre>public void deselectDoNotFireEvent(int index)</pre> |
| <div class="block">Deselects the item at the given zero-relative index in the receiver. If the |
| item at the index was already deselected, it remains deselected. Indices that |
| are out of range are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the item to deselect</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselect-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselect</h4> |
| <pre>public void deselect(int[] indices)</pre> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver. If |
| the item at the given zero-relative index in the receiver is selected, it is |
| deselected. If the item at the index was not selected, it remains deselected. |
| Indices that are out of range and duplicate indices are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>indices</code> - the array of indices for the items to deselect</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the set of indices is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselectDoNotFireEvent-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectDoNotFireEvent</h4> |
| <pre>public void deselectDoNotFireEvent(int[] indices)</pre> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver. If |
| the item at the given zero-relative index in the receiver is selected, it is |
| deselected. If the item at the index was not selected, it remains deselected. |
| Indices that are out of range and duplicate indices are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>indices</code> - the array of indices for the items to deselect</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the set of indices is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselect-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselect</h4> |
| <pre>public void deselect(int start, |
| int end)</pre> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver. If |
| the item at the given zero-relative index in the receiver is selected, it is |
| deselected. If the item at the index was not selected, it remains deselected. |
| The range of the indices is inclusive. Indices that are out of range are |
| ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>start</code> - the start index of the items to deselect</dd> |
| <dd><code>end</code> - the end index of the items to deselect</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if start is greater than end</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselectDoNotFireEvent-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectDoNotFireEvent</h4> |
| <pre>public void deselectDoNotFireEvent(int start, |
| int end)</pre> |
| <div class="block">Deselects the items at the given zero-relative indices in the receiver. If |
| the item at the given zero-relative index in the receiver is selected, it is |
| deselected. If the item at the index was not selected, it remains deselected. |
| The range of the indices is inclusive. Indices that are out of range are |
| ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>start</code> - the start index of the items to deselect</dd> |
| <dd><code>end</code> - the end index of the items to deselect</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if start is greater than end</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselectAll--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectAll</h4> |
| <pre>public void deselectAll()</pre> |
| <div class="block">Deselects all selected items in the receiver.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselectAllDoNotFireEvent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectAllDoNotFireEvent</h4> |
| <pre>public void deselectAllDoNotFireEvent()</pre> |
| <div class="block">Deselects all selected items in the receiver.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deselectAll-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectAll</h4> |
| <pre>public void deselectAll(boolean shouldFireEvents)</pre> |
| <div class="block">Deselects all selected items in the receiver.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getItem-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItem</h4> |
| <pre>public <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> getItem(int index)</pre> |
| <div class="block">Returns the item at the given, zero-relative index in the receiver. Throws an |
| exception if the index is out of range.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the item to return</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the item at the given index</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if the index is not between 0 and |
| the number of elements in the list minus 1 (inclusive)</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getItemCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemCount</h4> |
| <pre>public int getItemCount()</pre> |
| <div class="block">Returns the number of items contained in the receiver.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of items</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getItems--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItems</h4> |
| <pre>public <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>[] getItems()</pre> |
| <div class="block">Returns a (possibly empty) array of <code>DLItem</code>s which are the items |
| in the receiver. |
| <p> |
| Note: This is not the actual structure used by the receiver to maintain its |
| list of items, so modifying the array will not affect the receiver. |
| </p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the items in the receiver's list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getItemsAsList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemsAsList</h4> |
| <pre>public java.util.List<<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>> getItemsAsList()</pre> |
| <div class="block">Returns a (possibly empty) list of <code>DLItem</code>s which are the items |
| in the receiver. |
| <p> |
| Note: This is not the actual structure used by the receiver to maintain its |
| list of items, so modifying the array will not affect the receiver. |
| </p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the items in the receiver's list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelection</h4> |
| <pre>public <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>[] getSelection()</pre> |
| <div class="block">Returns an array of <code>DLItem</code>s that are currently selected in the |
| receiver. An empty array indicates that no items are selected. |
| <p> |
| Note: This is not the actual structure used by the receiver to maintain its |
| selection, so modifying the array will not affect the receiver. |
| </p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an array representing the selection</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelectionAsList--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelectionAsList</h4> |
| <pre>public java.util.List<<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>> getSelectionAsList()</pre> |
| <div class="block">Returns a list of <code>DLItem</code>s that are currently selected in the |
| receiver. An empty array indicates that no items are selected. |
| <p> |
| Note: This is not the actual structure used by the receiver to maintain its |
| selection, so modifying the array will not affect the receiver. |
| </p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an array representing the selection</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelectionCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelectionCount</h4> |
| <pre>public int getSelectionCount()</pre> |
| <div class="block">Returns the number of selected items contained in the receiver.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of selected items</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public void remove(int index)</pre> |
| <div class="block">Removes the item from the receiver at the given zero-relative index.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index for the item</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if the index is not between 0 and |
| the number of elements in the list minus 1 (inclusive)</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public void remove(int[] indices)</pre> |
| <div class="block">Removes the items from the receiver at the given zero-relative indices.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>indices</code> - the array of indices of the items</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if the index is not between 0 and |
| the number of elements in the list minus 1 (inclusive)</li> |
| <li>ERROR_NULL_ARGUMENT - if the indices array is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public void remove(int start, |
| int end)</pre> |
| <div class="block">Removes the items from the receiver which are between the given zero-relative |
| start and end indices (inclusive).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>start</code> - the start of the range</dd> |
| <dd><code>end</code> - the end of the range</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if either the start or end are not |
| between 0 and the number of elements in the list minus 1 |
| (inclusive) or if start>end</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-org.eclipse.nebula.widgets.opal.duallist.DLItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public void remove(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item)</pre> |
| <div class="block">Searches the receiver's list starting at the first item until an item is |
| found that is equal to the argument, and removes that item from the list.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>item</code> - the item to remove</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the item is null</li> |
| <li>ERROR_INVALID_ARGUMENT - if the item is not found in the |
| list</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeAll--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeAll</h4> |
| <pre>public void removeAll()</pre> |
| <div class="block">Removes all of the items from the receiver. |
| <p></div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="select-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>select</h4> |
| <pre>public void select(int index)</pre> |
| <div class="block">Selects the item at the given zero-relative index in the receiver's list. If |
| the item at the index was already selected, it remains selected. Indices that |
| are out of range are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the item to select</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="selectDoNotFireEvent-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectDoNotFireEvent</h4> |
| <pre>public void selectDoNotFireEvent(int index)</pre> |
| <div class="block">Selects the item at the given zero-relative index in the receiver's list. If |
| the item at the index was already selected, it remains selected. Indices that |
| are out of range are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the item to select</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="select-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>select</h4> |
| <pre>public void select(int[] indices)</pre> |
| <div class="block">Selects the items at the given zero-relative indices in the receiver. The |
| current selection is not cleared before the new items are selected. |
| <p> |
| If the item at a given index is not selected, it is selected. If the item at |
| a given index was already selected, it remains selected. Indices that are out |
| of range and duplicate indices are ignored. If the receiver is single-select |
| and multiple indices are specified, then all indices are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>indices</code> - the array of indices for the items to select</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the array of indices is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="selectDoNotFireEvent-int:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectDoNotFireEvent</h4> |
| <pre>public void selectDoNotFireEvent(int[] indices)</pre> |
| <div class="block">Selects the items at the given zero-relative indices in the receiver. The |
| current selection is not cleared before the new items are selected. |
| <p> |
| If the item at a given index is not selected, it is selected. If the item at |
| a given index was already selected, it remains selected. Indices that are out |
| of range and duplicate indices are ignored. If the receiver is single-select |
| and multiple indices are specified, then all indices are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>indices</code> - the array of indices for the items to select</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the array of indices is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="select-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>select</h4> |
| <pre>public void select(int start, |
| int end)</pre> |
| <div class="block">Selects the items in the range specified by the given zero-relative indices |
| in the receiver. The range of indices is inclusive. The current selection is |
| not cleared before the new items are selected. |
| <p> |
| If an item in the given range is not selected, it is selected. If an item in |
| the given range was already selected, it remains selected. Indices that are |
| out of range are ignored and no items will be selected if start is greater |
| than end. If the receiver is single-select and there is more than one item in |
| the given range, then all indices are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>start</code> - the start of the range</dd> |
| <dd><code>end</code> - the end of the range</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>List#setSelection(int,int)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="selectDoNotFireEvent-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectDoNotFireEvent</h4> |
| <pre>public void selectDoNotFireEvent(int start, |
| int end)</pre> |
| <div class="block">Selects the items in the range specified by the given zero-relative indices |
| in the receiver. The range of indices is inclusive. The current selection is |
| not cleared before the new items are selected. |
| <p> |
| If an item in the given range is not selected, it is selected. If an item in |
| the given range was already selected, it remains selected. Indices that are |
| out of range are ignored and no items will be selected if start is greater |
| than end. If the receiver is single-select and there is more than one item in |
| the given range, then all indices are ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>start</code> - the start of the range</dd> |
| <dd><code>end</code> - the end of the range</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>List#setSelection(int,int)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="selectAll--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectAll</h4> |
| <pre>public void selectAll()</pre> |
| <div class="block">Selects all of the items in the receiver. |
| <p> |
| If the receiver is single-select, do nothing.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="selectAllDoNotFireEvent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectAllDoNotFireEvent</h4> |
| <pre>public void selectAllDoNotFireEvent()</pre> |
| <div class="block">Selects all of the items in the receiver. |
| <p> |
| If the receiver is single-select, do nothing.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBounds-int-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBounds</h4> |
| <pre>public void setBounds(int x, |
| int y, |
| int width, |
| int height)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setBounds</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setBounds(int, int, int, int)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setItem-int-org.eclipse.nebula.widgets.opal.duallist.DLItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItem</h4> |
| <pre>public void setItem(int index, |
| <a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a> item)</pre> |
| <div class="block">Sets the item in the receiver's list at the given zero-relative index to the |
| item argument.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index for the item</dd> |
| <dd><code>item</code> - the new item</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_INVALID_RANGE - if the index is not between 0 and |
| the number of elements in the list minus 1 (inclusive)</li> |
| <li>ERROR_NULL_ARGUMENT - if the item is null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setItems-org.eclipse.nebula.widgets.opal.duallist.DLItem:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItems</h4> |
| <pre>public void setItems(<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>[] items)</pre> |
| <div class="block">Sets the receiver's items to be the given array of items.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>items</code> - the array of items</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the items array is null</li> |
| <li>ERROR_INVALID_ARGUMENT - if an item in the items array is |
| null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setItems-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItems</h4> |
| <pre>public void setItems(java.util.List<<a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.html" title="class in org.eclipse.nebula.widgets.opal.duallist">DLItem</a>> items)</pre> |
| <div class="block">Sets the receiver's items to be the given list of items.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>items</code> - the list of items</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the items list is null</li> |
| <li>ERROR_INVALID_ARGUMENT - if an item in the items list is |
| null</li> |
| </ul></dd> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been |
| disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the |
| thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="moveSelectionToFirstPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>moveSelectionToFirstPosition</h4> |
| <pre>protected void moveSelectionToFirstPosition()</pre> |
| <div class="block">Move the selected item to the first position</div> |
| </li> |
| </ul> |
| <a name="selectItem--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectItem</h4> |
| <pre>protected void selectItem()</pre> |
| <div class="block">Select a given item</div> |
| </li> |
| </ul> |
| <a name="moveUpItem--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>moveUpItem</h4> |
| <pre>protected void moveUpItem()</pre> |
| <div class="block">Move the selected item up</div> |
| </li> |
| </ul> |
| <a name="deselectItem--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deselectItem</h4> |
| <pre>protected void deselectItem()</pre> |
| <div class="block">Deselect a given item</div> |
| </li> |
| </ul> |
| <a name="moveDownItem--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>moveDownItem</h4> |
| <pre>protected void moveDownItem()</pre> |
| <div class="block">Move the selected item down</div> |
| </li> |
| </ul> |
| <a name="moveSelectionToLastPosition--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>moveSelectionToLastPosition</h4> |
| <pre>protected void moveSelectionToLastPosition()</pre> |
| <div class="block">Move the selected item to the last position</div> |
| </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/DualList.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><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/DLItem.LAST_ACTION.html" title="enum in org.eclipse.nebula.widgets.opal.duallist"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/eclipse/nebula/widgets/opal/duallist/SelectionChangeEvent.html" title="class in org.eclipse.nebula.widgets.opal.duallist"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/eclipse/nebula/widgets/opal/duallist/DualList.html" target="_top">Frames</a></li> |
| <li><a href="DualList.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> |