| <!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:47 CEST 2020 --> |
| <title>CustomCombo</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="CustomCombo"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"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,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":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/CustomCombo.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/calendarcombo/ColorCache.html" title="class in org.eclipse.nebula.widgets.calendarcombo"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/DateHelper.html" title="class in org.eclipse.nebula.widgets.calendarcombo"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html" target="_top">Frames</a></li> |
| <li><a href="CustomCombo.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.calendarcombo</div> |
| <h2 title="Class CustomCombo" class="title">Class CustomCombo</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.calendarcombo.CustomCombo</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> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/FlatCalendarCombo.html" title="class in org.eclipse.nebula.widgets.calendarcombo">FlatCalendarCombo</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">CustomCombo</span> |
| extends org.eclipse.swt.widgets.Composite</pre> |
| <div class="block">The CustomCombo class represents a selectable user interface object that combines |
| a text field and a list and issues notification when an item is selected from |
| the list. |
| <p> |
| CustomCombo was written to work around certain limitations in the native combo |
| box. Specifically, on win32, the height of a CustomCombo can be set; attempts to |
| set the height of a Combo are ignored. CustomCombo can be used anywhere that |
| having the increased flexibility is more important than getting native L&F, |
| but the decision should not be taken lightly. There is no is no strict |
| requirement that CustomCombo look or behave the same as the native combo box. |
| </p> |
| <p> |
| Note that although this class is a subclass of <code>Composite</code>, it |
| does not make sense to add children to it, or set a layout on it. |
| </p> |
| <dl> |
| <dt><b>Styles:</b> |
| <dd>BORDER, READ_ONLY, FLAT</dd> |
| <dt><b>Events:</b> |
| <dd>DefaultSelection, Modify, Selection, Verify</dd> |
| </dl></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="http://www.eclipse.org/swt/snippets/#CustomCombo">CustomCombo snippets< |
| /a>, |
| <a href="http://www.eclipse.org/swt/examples.php">SWT Example: |
| CustomControlExample< /a>, |
| <a href="http://www.eclipse.org/swt/">Sample code and further |
| information< /a></dd> |
| </dl> |
| </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>(package private) org.eclipse.swt.widgets.Button</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#arrow">arrow</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.graphics.Color</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#background">background</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.widgets.Listener</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#filter">filter</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.graphics.Font</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#font">font</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.graphics.Color</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#foreground">foreground</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#hasFocus">hasFocus</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.widgets.List</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#list">list</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.widgets.Listener</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#listener">listener</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.widgets.Shell</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#popup">popup</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.widgets.Text</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#text">text</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#visibleItemCount">visibleItemCount</a></span></code> </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="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#CustomCombo-org.eclipse.swt.widgets.Composite-int-">CustomCombo</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="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>(package private) char</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#Z:Z_findMnemonic-java.lang.String-">_findMnemonic</a></span>(java.lang.String string)</code> </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/calendarcombo/CustomCombo.html#add-java.lang.String-">add</a></span>(java.lang.String string)</code> |
| <div class="block">Adds the argument to the end of the receiver's list.</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/calendarcombo/CustomCombo.html#add-java.lang.String-int-">add</a></span>(java.lang.String string, |
| 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="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#addModifyListener-org.eclipse.swt.events.ModifyListener-">addModifyListener</a></span>(org.eclipse.swt.events.ModifyListener listener)</code> |
| <div class="block">Adds the listener to the collection of listeners who will be notified |
| when the receiver's text is modified, by sending it one of the messages |
| defined in the <code>ModifyListener</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/calendarcombo/CustomCombo.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="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#addVerifyListener-org.eclipse.swt.events.VerifyListener-">addVerifyListener</a></span>(org.eclipse.swt.events.VerifyListener listener)</code> |
| <div class="block">Adds the listener to the collection of listeners who will be notified |
| when the receiver's text is verified, by sending it one of the messages |
| defined in the <code>VerifyListener</code> interface.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#arrowEvent-org.eclipse.swt.widgets.Event-">arrowEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>(package private) static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#checkStyle-int-">checkStyle</a></span>(int style)</code> </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/calendarcombo/CustomCombo.html#clearSelection--">clearSelection</a></span>()</code> |
| <div class="block">Sets the selection in the receiver's text field to an empty selection |
| starting just before the first character.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#comboEvent-org.eclipse.swt.widgets.Event-">comboEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Point</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#computeSize-int-int-boolean-">computeSize</a></span>(int wHint, |
| int hHint, |
| boolean changed)</code> </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/calendarcombo/CustomCombo.html#copy--">copy</a></span>()</code> |
| <div class="block">Copies the selected text.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#createPopup-java.lang.String:A-int-">createPopup</a></span>(java.lang.String[] items, |
| int selectionIndex)</code> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#cut--">cut</a></span>()</code> |
| <div class="block">Cuts the selected text.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#deselect-int-">deselect</a></span>(int index)</code> |
| <div class="block">Deselects the item at the given zero-relative index in the receiver's |
| list.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#deselectAll--">deselectAll</a></span>()</code> |
| <div class="block">Deselects all selected items in the receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#dropDown-boolean-">dropDown</a></span>(boolean drop)</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.widgets.Button</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getArrowButton--">getArrowButton</a></span>()</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>(package private) org.eclipse.swt.widgets.Label</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getAssociatedLabel--">getAssociatedLabel</a></span>()</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.widgets.Control[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getChildren--">getChildren</a></span>()</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getEditable--">getEditable</a></span>()</code> |
| <div class="block">Gets the editable state.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getItem-int-">getItem</a></span>(int index)</code> |
| <div class="block">Returns the item at the given, zero-relative index in the receiver's |
| list.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getItemCount--">getItemCount</a></span>()</code> |
| <div class="block">Returns the number of items contained in the receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getItemHeight--">getItemHeight</a></span>()</code> |
| <div class="block">Returns the height of the area which would be used to display |
| <em>one</em> of the items in the receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>java.lang.String[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getItems--">getItems</a></span>()</code> |
| <div class="block">Returns an array of <code>String</code>s which are the items in the |
| receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getListVisible--">getListVisible</a></span>()</code> |
| <div class="block">Returns <code>true</code> if the receiver's list is visible, and |
| <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.swt.widgets.Menu</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getMenu--">getMenu</a></span>()</code> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Point</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getSelection--">getSelection</a></span>()</code> |
| <div class="block">Returns a <code>Point</code> whose x coordinate is the start of the |
| selection in the receiver's text field, and whose y coordinate is the end |
| of the selection.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getSelectionIndex--">getSelectionIndex</a></span>()</code> |
| <div class="block">Returns the zero-relative index of the item which is currently selected |
| in the receiver's list, or -1 if no item is selected.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getStyle--">getStyle</a></span>()</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getText--">getText</a></span>()</code> |
| <div class="block">Returns a string containing a copy of the contents of the receiver's text |
| field.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.widgets.Text</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getTextControl--">getTextControl</a></span>()</code> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getTextHeight--">getTextHeight</a></span>()</code> |
| <div class="block">Returns the height of the receivers's text field.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getTextLimit--">getTextLimit</a></span>()</code> |
| <div class="block">Returns the maximum number of characters that the receiver's text field |
| is capable of holding.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#getVisibleItemCount--">getVisibleItemCount</a></span>()</code> |
| <div class="block">Gets the number of items that are visible in the drop down portion of the |
| receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#handleFocus-int-">handleFocus</a></span>(int type)</code> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#indexOf-java.lang.String-">indexOf</a></span>(java.lang.String string)</code> |
| <div class="block">Searches the receiver's list starting at the first item (index 0) until |
| an item is found that is equal to the argument, and returns the index of |
| that item.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#indexOf-java.lang.String-int-">indexOf</a></span>(java.lang.String string, |
| int start)</code> |
| <div class="block">Searches the receiver's list starting at the given, zero-relative index |
| until an item is found that is equal to the argument, and returns the |
| index of that item.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#initAccessible--">initAccessible</a></span>()</code> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#internalLayout-boolean-">internalLayout</a></span>(boolean changed)</code> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>(package private) boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#isDropped--">isDropped</a></span>()</code> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#isFocusControl--">isFocusControl</a></span>()</code> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#listEvent-org.eclipse.swt.widgets.Event-">listEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> </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/calendarcombo/CustomCombo.html#paste--">paste</a></span>()</code> |
| <div class="block">Pastes text from clipboard.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#popupEvent-org.eclipse.swt.widgets.Event-">popupEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#redraw--">redraw</a></span>()</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#redraw-int-int-int-int-boolean-">redraw</a></span>(int x, |
| int y, |
| int width, |
| int height, |
| boolean all)</code> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#remove-int-">remove</a></span>(int index)</code> |
| <div class="block">Removes the item from the receiver's list at the given zero-relative |
| index.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#remove-int-int-">remove</a></span>(int start, |
| int end)</code> |
| <div class="block">Removes the items from the receiver's list which are between the given |
| zero-relative start and end indices (inclusive).</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#remove-java.lang.String-">remove</a></span>(java.lang.String string)</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="i50" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#removeAll--">removeAll</a></span>()</code> |
| <div class="block">Removes all of the items from the receiver's list and clear the contents |
| of receiver's text field.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#removeModifyListener-org.eclipse.swt.events.ModifyListener-">removeModifyListener</a></span>(org.eclipse.swt.events.ModifyListener listener)</code> |
| <div class="block">Removes the listener from the collection of listeners who will be |
| notified when the receiver's text is modified.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.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="i53" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#removeVerifyListener-org.eclipse.swt.events.VerifyListener-">removeVerifyListener</a></span>(org.eclipse.swt.events.VerifyListener listener)</code> |
| <div class="block">Removes the listener from the collection of listeners who will be |
| notified when the control is verified.</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.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="i55" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setBackground-org.eclipse.swt.graphics.Color-">setBackground</a></span>(org.eclipse.swt.graphics.Color color)</code> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setEditable-boolean-">setEditable</a></span>(boolean editable)</code> |
| <div class="block">Sets the editable state.</div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setEnabled-boolean-">setEnabled</a></span>(boolean enabled)</code> </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setFocus--">setFocus</a></span>()</code> </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setFont-org.eclipse.swt.graphics.Font-">setFont</a></span>(org.eclipse.swt.graphics.Font font)</code> </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setForeground-org.eclipse.swt.graphics.Color-">setForeground</a></span>(org.eclipse.swt.graphics.Color color)</code> </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setItem-int-java.lang.String-">setItem</a></span>(int index, |
| java.lang.String string)</code> |
| <div class="block">Sets the text of the item in the receiver's list at the given |
| zero-relative index to the string argument.</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setItems-java.lang.String:A-">setItems</a></span>(java.lang.String[] items)</code> |
| <div class="block">Sets the receiver's list to be the given array of items.</div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setLayout-org.eclipse.swt.widgets.Layout-">setLayout</a></span>(org.eclipse.swt.widgets.Layout layout)</code> |
| <div class="block">Sets the layout which is associated with the receiver to be the argument |
| which may be null.</div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setListVisible-boolean-">setListVisible</a></span>(boolean visible)</code> |
| <div class="block">Marks the receiver's list as visible if the argument is <code>true</code> |
| , and marks it invisible otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setMenu-org.eclipse.swt.widgets.Menu-">setMenu</a></span>(org.eclipse.swt.widgets.Menu menu)</code> </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setSelection-org.eclipse.swt.graphics.Point-">setSelection</a></span>(org.eclipse.swt.graphics.Point selection)</code> |
| <div class="block">Sets the selection in the receiver's text field to the range specified by |
| the argument whose x coordinate is the start of the selection and whose y |
| coordinate is the end of the selection.</div> |
| </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setText-java.lang.String-">setText</a></span>(java.lang.String string)</code> |
| <div class="block">Sets the contents of the receiver's text field to the given string.</div> |
| </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setTextLimit-int-">setTextLimit</a></span>(int limit)</code> |
| <div class="block">Sets the maximum number of characters that the receiver's text field is |
| capable of holding to be the argument.</div> |
| </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setToolTipText-java.lang.String-">setToolTipText</a></span>(java.lang.String string)</code> </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setVisible-boolean-">setVisible</a></span>(boolean visible)</code> </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#setVisibleItemCount-int-">setVisibleItemCount</a></span>(int count)</code> |
| <div class="block">Sets the number of items that are visible in the drop down portion of the |
| receiver's list.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>(package private) java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#stripMnemonic-java.lang.String-">stripMnemonic</a></span>(java.lang.String string)</code> </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code>(package private) void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#textEvent-org.eclipse.swt.widgets.Event-">textEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> </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, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, 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, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setLayoutData, setLocation, setLocation, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setTouchEnabled, 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, 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="text"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>text</h4> |
| <pre>org.eclipse.swt.widgets.Text text</pre> |
| </li> |
| </ul> |
| <a name="list"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>list</h4> |
| <pre>org.eclipse.swt.widgets.List list</pre> |
| </li> |
| </ul> |
| <a name="visibleItemCount"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>visibleItemCount</h4> |
| <pre>int visibleItemCount</pre> |
| </li> |
| </ul> |
| <a name="popup"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>popup</h4> |
| <pre>org.eclipse.swt.widgets.Shell popup</pre> |
| </li> |
| </ul> |
| <a name="arrow"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>arrow</h4> |
| <pre>org.eclipse.swt.widgets.Button arrow</pre> |
| </li> |
| </ul> |
| <a name="hasFocus"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasFocus</h4> |
| <pre>boolean hasFocus</pre> |
| </li> |
| </ul> |
| <a name="listener"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listener</h4> |
| <pre>org.eclipse.swt.widgets.Listener listener</pre> |
| </li> |
| </ul> |
| <a name="filter"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>filter</h4> |
| <pre>org.eclipse.swt.widgets.Listener filter</pre> |
| </li> |
| </ul> |
| <a name="foreground"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>foreground</h4> |
| <pre>org.eclipse.swt.graphics.Color foreground</pre> |
| </li> |
| </ul> |
| <a name="background"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>background</h4> |
| <pre>org.eclipse.swt.graphics.Color background</pre> |
| </li> |
| </ul> |
| <a name="font"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>font</h4> |
| <pre>org.eclipse.swt.graphics.Font font</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="CustomCombo-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CustomCombo</h4> |
| <pre>public CustomCombo(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 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> |
| <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> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>SWT.BORDER</code>, |
| <code>SWT.READ_ONLY</code>, |
| <code>SWT.FLAT</code>, |
| <code>Widget.getStyle()</code></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="checkStyle-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkStyle</h4> |
| <pre>static int checkStyle(int style)</pre> |
| </li> |
| </ul> |
| <a name="add-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public void add(java.lang.String string)</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>string</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 string 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/calendarcombo/CustomCombo.html#add-java.lang.String-int-"><code>add(String,int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-java.lang.String-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public void add(java.lang.String string, |
| 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(String)</code>. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</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 string 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><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#add-java.lang.String-"><code>add(String)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addModifyListener-org.eclipse.swt.events.ModifyListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addModifyListener</h4> |
| <pre>public void addModifyListener(org.eclipse.swt.events.ModifyListener listener)</pre> |
| <div class="block">Adds the listener to the collection of listeners who will be notified |
| when the receiver's text is modified, by sending it one of the messages |
| defined in the <code>ModifyListener</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>ModifyListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#removeModifyListener-org.eclipse.swt.events.ModifyListener-"><code>removeModifyListener(org.eclipse.swt.events.ModifyListener)</code></a></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. |
| <p> |
| <code>widgetSelected</code> is called when the combo's list selection |
| changes. <code>widgetDefaultSelected</code> is typically called when |
| ENTER is pressed the combo's text area. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>listener</code> - the listener which should be notified when the user |
| changes the receiver's selection</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/calendarcombo/CustomCombo.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="addVerifyListener-org.eclipse.swt.events.VerifyListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addVerifyListener</h4> |
| <pre>public void addVerifyListener(org.eclipse.swt.events.VerifyListener listener)</pre> |
| <div class="block">Adds the listener to the collection of listeners who will be notified |
| when the receiver's text is verified, by sending it one of the messages |
| defined in the <code>VerifyListener</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.3</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>VerifyListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#removeVerifyListener-org.eclipse.swt.events.VerifyListener-"><code>removeVerifyListener(org.eclipse.swt.events.VerifyListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="arrowEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>arrowEvent</h4> |
| <pre>void arrowEvent(org.eclipse.swt.widgets.Event event)</pre> |
| </li> |
| </ul> |
| <a name="clearSelection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearSelection</h4> |
| <pre>public void clearSelection()</pre> |
| <div class="block">Sets the selection in the receiver's text field to an empty selection |
| starting just before the first character. If the text field is editable, |
| this has the effect of placing the i-beam at the start of the text. |
| <p> |
| Note: To clear the selected items in the receiver's list, use |
| <code>deselectAll()</code>. |
| </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> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#deselectAll--"><code>deselectAll()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="comboEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>comboEvent</h4> |
| <pre>void comboEvent(org.eclipse.swt.widgets.Event event)</pre> |
| </li> |
| </ul> |
| <a name="computeSize-int-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>computeSize</h4> |
| <pre>public org.eclipse.swt.graphics.Point computeSize(int wHint, |
| int hHint, |
| boolean changed)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>computeSize</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public void copy()</pre> |
| <div class="block">Copies the selected text. |
| <p> |
| The current selection is copied to the clipboard. |
| </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> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createPopup-java.lang.String:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createPopup</h4> |
| <pre>void createPopup(java.lang.String[] items, |
| int selectionIndex)</pre> |
| </li> |
| </ul> |
| <a name="cut--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cut</h4> |
| <pre>public void cut()</pre> |
| <div class="block">Cuts the selected text. |
| <p> |
| The current selection is first copied to the clipboard and then deleted |
| from the widget. |
| </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> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.3</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's |
| list. 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="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's list. |
| <p> |
| Note: To clear the selection in the receiver's text field, use |
| <code>clearSelection()</code>. |
| </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> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#clearSelection--"><code>clearSelection()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dropDown-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropDown</h4> |
| <pre>protected void dropDown(boolean drop)</pre> |
| </li> |
| </ul> |
| <a name="Z:Z_findMnemonic-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>_findMnemonic</h4> |
| <pre>char _findMnemonic(java.lang.String string)</pre> |
| </li> |
| </ul> |
| <a name="getAssociatedLabel--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAssociatedLabel</h4> |
| <pre>org.eclipse.swt.widgets.Label getAssociatedLabel()</pre> |
| </li> |
| </ul> |
| <a name="getChildren--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChildren</h4> |
| <pre>public org.eclipse.swt.widgets.Control[] getChildren()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getChildren</code> in class <code>org.eclipse.swt.widgets.Composite</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getEditable--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEditable</h4> |
| <pre>public boolean getEditable()</pre> |
| <div class="block">Gets the editable state.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not the receiver is editable</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getItem-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItem</h4> |
| <pre>public java.lang.String getItem(int index)</pre> |
| <div class="block">Returns the item at the given, zero-relative index in the receiver's |
| list. 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's list.</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="getItemHeight--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemHeight</h4> |
| <pre>public int getItemHeight()</pre> |
| <div class="block">Returns the height of the area which would be used to display |
| <em>one</em> of the items in the receiver's list.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the height of one item</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 java.lang.String[] getItems()</pre> |
| <div class="block">Returns an array of <code>String</code>s which are the items in the |
| receiver's list. |
| <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="getListVisible--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getListVisible</h4> |
| <pre>public boolean getListVisible()</pre> |
| <div class="block">Returns <code>true</code> if the receiver's list is visible, and |
| <code>false</code> otherwise. |
| <p> |
| If one of the receiver's ancestors is not visible or some other condition |
| makes the receiver not visible, this method may still indicate that it is |
| considered visible even though it may not actually be showing. |
| </p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the receiver's list's visibility state</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMenu--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMenu</h4> |
| <pre>public org.eclipse.swt.widgets.Menu getMenu()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getMenu</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelection</h4> |
| <pre>public org.eclipse.swt.graphics.Point getSelection()</pre> |
| <div class="block">Returns a <code>Point</code> whose x coordinate is the start of the |
| selection in the receiver's text field, and whose y coordinate is the end |
| of the selection. The returned values are zero-relative. An "empty" |
| selection as indicated by the the x and y coordinates having the same |
| value.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a point representing the selection start and end</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="getSelectionIndex--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelectionIndex</h4> |
| <pre>public int getSelectionIndex()</pre> |
| <div class="block">Returns the zero-relative index of the item which is currently selected |
| in the receiver's list, or -1 if no item is selected.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the index of the selected item</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="getStyle--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStyle</h4> |
| <pre>public int getStyle()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getStyle</code> in class <code>org.eclipse.swt.widgets.Widget</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getText--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getText</h4> |
| <pre>public java.lang.String getText()</pre> |
| <div class="block">Returns a string containing a copy of the contents of the receiver's text |
| field.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the receiver's text</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="getTextHeight--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTextHeight</h4> |
| <pre>public int getTextHeight()</pre> |
| <div class="block">Returns the height of the receivers's text field.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the text height</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="getTextLimit--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTextLimit</h4> |
| <pre>public int getTextLimit()</pre> |
| <div class="block">Returns the maximum number of characters that the receiver's text field |
| is capable of holding. If this has not been changed by |
| <code>setTextLimit()</code>, it will be the constant |
| <code>Combo.LIMIT</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the text limit</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="getVisibleItemCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVisibleItemCount</h4> |
| <pre>public int getVisibleItemCount()</pre> |
| <div class="block">Gets the number of items that are visible in the drop down portion of the |
| receiver's list.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the number of items that are visible</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="handleFocus-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleFocus</h4> |
| <pre>void handleFocus(int type)</pre> |
| </li> |
| </ul> |
| <a name="indexOf-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>indexOf</h4> |
| <pre>public int indexOf(java.lang.String string)</pre> |
| <div class="block">Searches the receiver's list starting at the first item (index 0) until |
| an item is found that is equal to the argument, and returns the index of |
| that item. If no item is found, returns -1.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</code> - the search item</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the index of the item</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the string 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="indexOf-java.lang.String-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>indexOf</h4> |
| <pre>public int indexOf(java.lang.String string, |
| int start)</pre> |
| <div class="block">Searches the receiver's list starting at the given, zero-relative index |
| until an item is found that is equal to the argument, and returns the |
| index of that item. If no item is found or the starting index is out of |
| range, returns -1.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</code> - the search item</dd> |
| <dd><code>start</code> - the zero-relative index at which to begin the search</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the index of the item</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the string 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="initAccessible--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initAccessible</h4> |
| <pre>void initAccessible()</pre> |
| </li> |
| </ul> |
| <a name="isDropped--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDropped</h4> |
| <pre>boolean isDropped()</pre> |
| </li> |
| </ul> |
| <a name="isFocusControl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFocusControl</h4> |
| <pre>public boolean isFocusControl()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>isFocusControl</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="internalLayout-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>internalLayout</h4> |
| <pre>void internalLayout(boolean changed)</pre> |
| </li> |
| </ul> |
| <a name="listEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listEvent</h4> |
| <pre>void listEvent(org.eclipse.swt.widgets.Event event)</pre> |
| </li> |
| </ul> |
| <a name="paste--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>paste</h4> |
| <pre>public void paste()</pre> |
| <div class="block">Pastes text from clipboard. |
| <p> |
| The selected text is deleted from the widget and new text inserted from |
| the clipboard. |
| </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> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="popupEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>popupEvent</h4> |
| <pre>void popupEvent(org.eclipse.swt.widgets.Event event)</pre> |
| </li> |
| </ul> |
| <a name="redraw--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>redraw</h4> |
| <pre>public void redraw()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>redraw</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="redraw-int-int-int-int-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>redraw</h4> |
| <pre>public void redraw(int x, |
| int y, |
| int width, |
| int height, |
| boolean all)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>redraw</code> in class <code>org.eclipse.swt.widgets.Control</code></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's list 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-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's list 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)</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-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>public void remove(java.lang.String string)</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>string</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 string is null</li> |
| <li>ERROR_INVALID_ARGUMENT - if the string 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's list and clear the contents |
| of receiver's text field. |
| <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="removeModifyListener-org.eclipse.swt.events.ModifyListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeModifyListener</h4> |
| <pre>public void removeModifyListener(org.eclipse.swt.events.ModifyListener listener)</pre> |
| <div class="block">Removes the listener from the collection of listeners who will be |
| notified when the receiver's text is modified.</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>ModifyListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#addModifyListener-org.eclipse.swt.events.ModifyListener-"><code>addModifyListener(org.eclipse.swt.events.ModifyListener)</code></a></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/calendarcombo/CustomCombo.html#addSelectionListener-org.eclipse.swt.events.SelectionListener-"><code>addSelectionListener(org.eclipse.swt.events.SelectionListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeVerifyListener-org.eclipse.swt.events.VerifyListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeVerifyListener</h4> |
| <pre>public void removeVerifyListener(org.eclipse.swt.events.VerifyListener listener)</pre> |
| <div class="block">Removes the listener from the collection of listeners who will be |
| notified when the control is verified.</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.3</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>VerifyListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html#addVerifyListener-org.eclipse.swt.events.VerifyListener-"><code>addVerifyListener(org.eclipse.swt.events.VerifyListener)</code></a></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="setBackground-org.eclipse.swt.graphics.Color-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBackground</h4> |
| <pre>public void setBackground(org.eclipse.swt.graphics.Color color)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setBackground</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setEditable-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEditable</h4> |
| <pre>public void setEditable(boolean editable)</pre> |
| <div class="block">Sets the editable state.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>editable</code> - the new editable state</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setEnabled-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEnabled</h4> |
| <pre>public void setEnabled(boolean enabled)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setEnabled</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFocus--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFocus</h4> |
| <pre>public boolean setFocus()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setFocus</code> in class <code>org.eclipse.swt.widgets.Composite</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFont-org.eclipse.swt.graphics.Font-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFont</h4> |
| <pre>public void setFont(org.eclipse.swt.graphics.Font font)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setFont</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setForeground-org.eclipse.swt.graphics.Color-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setForeground</h4> |
| <pre>public void setForeground(org.eclipse.swt.graphics.Color color)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setForeground</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setItem-int-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItem</h4> |
| <pre>public void setItem(int index, |
| java.lang.String string)</pre> |
| <div class="block">Sets the text of the item in the receiver's list at the given |
| zero-relative index to the string argument. This is equivalent to |
| <code>remove</code>'ing the old item at the index, and then |
| <code>add</code>'ing the new item at that index.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index for the item</dd> |
| <dd><code>string</code> - the new text 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> <li>ERROR_NULL_ARGUMENT - if the string 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.lang.String:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItems</h4> |
| <pre>public void setItems(java.lang.String[] items)</pre> |
| <div class="block">Sets the receiver's list 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="setLayout-org.eclipse.swt.widgets.Layout-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLayout</h4> |
| <pre>public void setLayout(org.eclipse.swt.widgets.Layout layout)</pre> |
| <div class="block">Sets the layout which is associated with the receiver to be the argument |
| which may be null. |
| <p> |
| Note: No Layout can be set on this Control because it already manages the |
| size and position of its children. |
| </p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setLayout</code> in class <code>org.eclipse.swt.widgets.Composite</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>layout</code> - the receiver's new layout or null</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="setListVisible-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setListVisible</h4> |
| <pre>public void setListVisible(boolean visible)</pre> |
| <div class="block">Marks the receiver's list as visible if the argument is <code>true</code> |
| , and marks it invisible otherwise. |
| <p> |
| If one of the receiver's ancestors is not visible or some other condition |
| makes the receiver not visible, marking it visible may not actually cause |
| it to be displayed. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>visible</code> - the new visibility state</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.4</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMenu-org.eclipse.swt.widgets.Menu-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMenu</h4> |
| <pre>public void setMenu(org.eclipse.swt.widgets.Menu menu)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setMenu</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSelection-org.eclipse.swt.graphics.Point-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSelection</h4> |
| <pre>public void setSelection(org.eclipse.swt.graphics.Point selection)</pre> |
| <div class="block">Sets the selection in the receiver's text field to the range specified by |
| the argument whose x coordinate is the start of the selection and whose y |
| coordinate is the end of the selection.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>selection</code> - a point representing the new selection start and end</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the point 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="setText-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setText</h4> |
| <pre>public void setText(java.lang.String string)</pre> |
| <div class="block">Sets the contents of the receiver's text field to the given string. |
| <p> |
| Note: The text field in a <code>Combo</code> is typically only capable of |
| displaying a single line of text. Thus, setting the text to a string |
| containing line breaks or other special characters will probably cause it |
| to display incorrectly. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</code> - the new text</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_NULL_ARGUMENT - if the string 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="setTextLimit-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTextLimit</h4> |
| <pre>public void setTextLimit(int limit)</pre> |
| <div class="block">Sets the maximum number of characters that the receiver's text field is |
| capable of holding to be the argument.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>limit</code> - new text limit</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - <ul> |
| <li>ERROR_CANNOT_BE_ZERO - if the limit is zero</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="setToolTipText-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setToolTipText</h4> |
| <pre>public void setToolTipText(java.lang.String string)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setToolTipText</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setVisible-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setVisible</h4> |
| <pre>public void setVisible(boolean visible)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setVisible</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setVisibleItemCount-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setVisibleItemCount</h4> |
| <pre>public void setVisibleItemCount(int count)</pre> |
| <div class="block">Sets the number of items that are visible in the drop down portion of the |
| receiver's list.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - the new number of items to be visible</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="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="stripMnemonic-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stripMnemonic</h4> |
| <pre>java.lang.String stripMnemonic(java.lang.String string)</pre> |
| </li> |
| </ul> |
| <a name="textEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>textEvent</h4> |
| <pre>void textEvent(org.eclipse.swt.widgets.Event event)</pre> |
| </li> |
| </ul> |
| <a name="getTextControl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTextControl</h4> |
| <pre>public org.eclipse.swt.widgets.Text getTextControl()</pre> |
| </li> |
| </ul> |
| <a name="getArrowButton--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getArrowButton</h4> |
| <pre>public org.eclipse.swt.widgets.Button getArrowButton()</pre> |
| </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/CustomCombo.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/calendarcombo/ColorCache.html" title="class in org.eclipse.nebula.widgets.calendarcombo"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/calendarcombo/DateHelper.html" title="class in org.eclipse.nebula.widgets.calendarcombo"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/nebula/widgets/calendarcombo/CustomCombo.html" target="_top">Frames</a></li> |
| <li><a href="CustomCombo.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> |