| <!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:55 CEST 2020 --> |
| <title>AbstractCombo</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="AbstractCombo"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":6,"i12":10,"i13":10,"i14":6,"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}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractCombo.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" target="_top">Frames</a></li> |
| <li><a href="AbstractCombo.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.datechooser</div> |
| <h2 title="Class AbstractCombo" class="title">Class AbstractCombo</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.datechooser.AbstractCombo</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/datechooser/DateChooserCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooserCombo</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">AbstractCombo</span> |
| extends org.eclipse.swt.widgets.Composite</pre> |
| <div class="block">Abstract class for combo widgets composed of a <code>Text</code>, a |
| <code>Button</code> and a popup associated to the button. |
| <p> |
| |
| The creation of text, button and popup content is delegated to abstract |
| methods. |
| <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>Selection</dd> |
| </dl></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <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.Shell</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#Z:Z_shell">_shell</a></span></code> |
| <div class="block">The parent Shell</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Button</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#button">button</a></span></code> |
| <div class="block">Button opening the popup</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createOnDrop">createOnDrop</a></span></code> |
| <div class="block">Flag indicating that the popup content must be created each time the combo is dropped</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Listener</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#filter">filter</a></span></code> |
| <div class="block">Listener for external events</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#GTK">GTK</a></span></code> |
| <div class="block">GTK platform constant</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#hasFocus">hasFocus</a></span></code> |
| <div class="block">Flag indicating if the widget has focus or not</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Listener</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#listener">listener</a></span></code> |
| <div class="block">Listener for all internal events</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Shell</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#popup">popup</a></span></code> |
| <div class="block">Popup shell for the selection</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Control</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#popupContent">popupContent</a></span></code> |
| <div class="block">Content of the popup</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#showButtonOnFocus">showButtonOnFocus</a></span></code> |
| <div class="block">Flag to show button only if combo has the focus</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Text</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#text">text</a></span></code> |
| <div class="block">Text widget for the input</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#WIN32">WIN32</a></span></code> |
| <div class="block">WIN32 platform constant</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.swt.widgets.Control"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.swt.widgets.Control</h3> |
| <code>handle</code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#AbstractCombo-org.eclipse.swt.widgets.Composite-int-">AbstractCombo</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.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="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.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 receiver's selection changes, by sending |
| it one of the messages defined in the <code>SelectionListener</code> |
| interface.</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/datechooser/AbstractCombo.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="i3" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#beforeDrop--">beforeDrop</a></span>()</code> |
| <div class="block">Called just before the popup is dropped.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#buttonEvent-org.eclipse.swt.widgets.Event-">buttonEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages button events.</div> |
| </td> |
| </tr> |
| <tr id="i5" 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/datechooser/AbstractCombo.html#checkStyle-int-">checkStyle</a></span>(int style)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#comboEvent-org.eclipse.swt.widgets.Event-">comboEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages global combo events.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#contentEvent-org.eclipse.swt.widgets.Event-">contentEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages popup content events.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#copy--">copy</a></span>()</code> |
| <div class="block">Copies the selected text.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Button</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createButtonControl-int-">createButtonControl</a></span>(int style)</code> |
| <div class="block">Creates the arrow button widget.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createPopup--">createPopup</a></span>()</code> |
| <div class="block">Creates the popup that will be displayed when the button is selected.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected abstract org.eclipse.swt.widgets.Control</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createPopupContent-org.eclipse.swt.widgets.Composite-">createPopupContent</a></span>(org.eclipse.swt.widgets.Composite parent)</code> |
| <div class="block">Creates the popup content.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Text</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createTextControl-int-">createTextControl</a></span>(int style)</code> |
| <div class="block">Creates the text widget.</div> |
| </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/datechooser/AbstractCombo.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>protected abstract boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#doSelection--">doSelection</a></span>()</code> |
| <div class="block">This method is called when a SWT.Selection is notify in the popup content, |
| allowing to update the Text widget content.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#dropDown-boolean-">dropDown</a></span>(boolean drop)</code> |
| <div class="block">Manages drop down of the popup.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getEditable--">getEditable</a></span>()</code> |
| <div class="block">Gets the editable state.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getPopupVisible--">getPopupVisible</a></span>()</code> |
| <div class="block">Returns <code>true</code> if the receiver's popup is visible, |
| and <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i18" 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/datechooser/AbstractCombo.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="i19" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.widgets.Shell</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getShell--">getShell</a></span>()</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getStyle--">getStyle</a></span>()</code> |
| <div class="block">Returns the receiver's style information.</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/datechooser/AbstractCombo.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="i22" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getTextHeight--">getTextHeight</a></span>()</code> |
| <div class="block">Returns the height of the receivers's text field.</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/datechooser/AbstractCombo.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="i24" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#handleFocus-int-">handleFocus</a></span>(int type)</code> |
| <div class="block">Manages the focus on the combo.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#isDropped--">isDropped</a></span>()</code> |
| <div class="block">Returns <code>true</code> if popup is dropped (visible), else <code>false</code>.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#isFocusControl--">isFocusControl</a></span>()</code> |
| <div class="block">Returns <code>true</code> if the receiver has the user-interface focus, |
| and <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#isShowButtonOnFocus--">isShowButtonOnFocus</a></span>()</code> |
| <div class="block">Returns <code>true</code> if button is displayed only when the combo has |
| has focus and <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#paste--">paste</a></span>()</code> |
| <div class="block">Pastes text from clipboard.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#popupEvent-org.eclipse.swt.widgets.Event-">popupEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages popup shell events.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#redraw--">redraw</a></span>()</code> |
| <div class="block">Causes the entire bounds of the receiver to be marked as needing to be |
| redrawn.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#redraw-int-int-int-int-boolean-">redraw</a></span>(int x, |
| int y, |
| int width, |
| int height, |
| boolean all)</code> |
| <div class="block">Causes the rectangular area of the receiver specified by the arguments to |
| be marked as needing to be redrawn.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.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="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.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 receiver's selection changes.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.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="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#selectAll--">selectAll</a></span>()</code> |
| <div class="block">Selects all the text in the receiver.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setBackground-org.eclipse.swt.graphics.Color-">setBackground</a></span>(org.eclipse.swt.graphics.Color color)</code> |
| <div class="block">Sets the receiver's background color to the color specified by the |
| argument, or to the default system color for the control if the argument |
| is null.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setCreateOnDrop-boolean-">setCreateOnDrop</a></span>(boolean createOnDrop)</code> |
| <div class="block">Sets the flag indicating if the popup content must be created each time |
| the combo is dropped.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setEditable-boolean-">setEditable</a></span>(boolean editable)</code> |
| <div class="block">Sets the editable state.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setEnabled-boolean-">setEnabled</a></span>(boolean enabled)</code> |
| <div class="block">Enables the receiver if the argument is <code>true</code>, and disables it |
| otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setFocus--">setFocus</a></span>()</code> |
| <div class="block">Causes the receiver to have the keyboard focus, such that all keyboard |
| events will be delivered to it.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setFont-org.eclipse.swt.graphics.Font-">setFont</a></span>(org.eclipse.swt.graphics.Font font)</code> |
| <div class="block">Sets the font that the receiver will use to paint textual information to |
| the font specified by the argument, or to the default font for that kind |
| of control if the argument is null.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setForeground-org.eclipse.swt.graphics.Color-">setForeground</a></span>(org.eclipse.swt.graphics.Color color)</code> |
| <div class="block">Sets the receiver's foreground color to the color specified by the |
| argument, or to the default system color for the control if the argument |
| is null.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.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="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setMenu-org.eclipse.swt.widgets.Menu-">setMenu</a></span>(org.eclipse.swt.widgets.Menu menu)</code> |
| <div class="block">Sets the receiver's pop up menu to the argument.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setPopupLocation--">setPopupLocation</a></span>()</code> |
| <div class="block">Calculates and returns the location of popup.<br> |
| Called just before than the popup is dropped.</div> |
| </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/datechooser/AbstractCombo.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="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setShowButtonOnFocus-boolean-">setShowButtonOnFocus</a></span>(boolean showButtonOnFocus)</code> |
| <div class="block">Sets the flag indicating if the button must be shown only if the combo |
| has the focus (<code>true</code>).</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/datechooser/AbstractCombo.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="i49" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setToolTipText-java.lang.String-">setToolTipText</a></span>(java.lang.String string)</code> |
| <div class="block">Sets the receiver's tool tip text to the argument, which may be null |
| indicating that no tool tip text should be shown.</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/datechooser/AbstractCombo.html#setVisible-boolean-">setVisible</a></span>(boolean visible)</code> |
| <div class="block">Marks the receiver as visible if the argument is <code>true</code>, and |
| marks it invisible otherwise.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#textEvent-org.eclipse.swt.widgets.Event-">textEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages text widget events.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#updateButtonDisplay--">updateButtonDisplay</a></span>()</code> |
| <div class="block">Updates the visibility of the button in function of the flag and the focus.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Composite"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Composite</h3> |
| <code>changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayoutDeferred, setTabList</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Scrollable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Scrollable</h3> |
| <code>computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Control"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Control</h3> |
| <code>addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, 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="GTK"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GTK</h4> |
| <pre>public static final boolean GTK</pre> |
| <div class="block">GTK platform constant</div> |
| </li> |
| </ul> |
| <a name="WIN32"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>WIN32</h4> |
| <pre>public static final boolean WIN32</pre> |
| <div class="block">WIN32 platform constant</div> |
| </li> |
| </ul> |
| <a name="Z:Z_shell"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>_shell</h4> |
| <pre>org.eclipse.swt.widgets.Shell _shell</pre> |
| <div class="block">The parent Shell</div> |
| </li> |
| </ul> |
| <a name="text"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>text</h4> |
| <pre>protected org.eclipse.swt.widgets.Text text</pre> |
| <div class="block">Text widget for the input</div> |
| </li> |
| </ul> |
| <a name="popup"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>popup</h4> |
| <pre>protected org.eclipse.swt.widgets.Shell popup</pre> |
| <div class="block">Popup shell for the selection</div> |
| </li> |
| </ul> |
| <a name="button"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>button</h4> |
| <pre>protected org.eclipse.swt.widgets.Button button</pre> |
| <div class="block">Button opening the popup</div> |
| </li> |
| </ul> |
| <a name="popupContent"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>popupContent</h4> |
| <pre>protected org.eclipse.swt.widgets.Control popupContent</pre> |
| <div class="block">Content of the popup</div> |
| </li> |
| </ul> |
| <a name="listener"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listener</h4> |
| <pre>protected org.eclipse.swt.widgets.Listener listener</pre> |
| <div class="block">Listener for all internal events</div> |
| </li> |
| </ul> |
| <a name="filter"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>filter</h4> |
| <pre>protected org.eclipse.swt.widgets.Listener filter</pre> |
| <div class="block">Listener for external events</div> |
| </li> |
| </ul> |
| <a name="hasFocus"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>hasFocus</h4> |
| <pre>protected boolean hasFocus</pre> |
| <div class="block">Flag indicating if the widget has focus or not</div> |
| </li> |
| </ul> |
| <a name="showButtonOnFocus"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>showButtonOnFocus</h4> |
| <pre>protected boolean showButtonOnFocus</pre> |
| <div class="block">Flag to show button only if combo has the focus</div> |
| </li> |
| </ul> |
| <a name="createOnDrop"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createOnDrop</h4> |
| <pre>protected boolean createOnDrop</pre> |
| <div class="block">Flag indicating that the popup content must be created each time the combo is dropped</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="AbstractCombo-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractCombo</h4> |
| <pre>public AbstractCombo(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></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - a widget which will be the parent of the new instance (cannot be null)</dd> |
| <dd><code>style</code> - the style of widget to construct</dd> |
| </dl> |
| </li> |
| </ul> |
| </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="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/datechooser/AbstractCombo.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 receiver's selection changes, 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</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/datechooser/AbstractCombo.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="seeLabel">See Also:</span></dt> |
| <dd><code>VerifyListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#removeVerifyListener-org.eclipse.swt.events.VerifyListener-"><code>removeVerifyListener(org.eclipse.swt.events.VerifyListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="beforeDrop--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>beforeDrop</h4> |
| <pre>protected void beforeDrop()</pre> |
| <div class="block">Called just before the popup is dropped. Override to execute actions |
| before the apparition of the popup. |
| <p> |
| |
| By default, do nothing.</div> |
| </li> |
| </ul> |
| <a name="buttonEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buttonEvent</h4> |
| <pre>protected void buttonEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages button events.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="comboEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>comboEvent</h4> |
| <pre>protected void comboEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages global combo events.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="contentEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>contentEvent</h4> |
| <pre>protected void contentEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages popup content events. SelectionEvent are notified to all |
| registered SelectionListeners of the combo.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</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> |
| </dl> |
| </li> |
| </ul> |
| <a name="createButtonControl-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createButtonControl</h4> |
| <pre>protected org.eclipse.swt.widgets.Button createButtonControl(int style)</pre> |
| <div class="block">Creates the arrow button widget. Override to change appearance or |
| behavior of the button.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>style</code> - button style</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The created button</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createPopup--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createPopup</h4> |
| <pre>protected void createPopup()</pre> |
| <div class="block">Creates the popup that will be displayed when the button is selected. |
| Popup is a new Shell containing a unique Control. The content is specific |
| to each implementation of the Combo and is created overriding the |
| createPopupContent method.</div> |
| </li> |
| </ul> |
| <a name="createPopupContent-org.eclipse.swt.widgets.Composite-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createPopupContent</h4> |
| <pre>protected abstract org.eclipse.swt.widgets.Control createPopupContent(org.eclipse.swt.widgets.Composite parent)</pre> |
| <div class="block">Creates the popup content. The popup is dependent of each implementation. |
| Content can be a <code>List</code>, a <code>Table</code> or every other |
| control.<br> |
| The <code>popupContent</code> attribute must be set with the created |
| control. The parent must be the <code>shell</code> attribute, that is |
| initialized by default with a <code>FillLayout</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>parent</code> - The parent Composite that will contain the control</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The created Control for the popup content</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createTextControl-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTextControl</h4> |
| <pre>protected org.eclipse.swt.widgets.Text createTextControl(int style)</pre> |
| <div class="block">Creates the text widget. Override to change appearance or behavior of |
| the default text that is created here.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>style</code> - text style</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the created Text control</dd> |
| </dl> |
| </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> |
| </dl> |
| </li> |
| </ul> |
| <a name="doSelection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>doSelection</h4> |
| <pre>protected abstract boolean doSelection()</pre> |
| <div class="block">This method is called when a SWT.Selection is notify in the popup content, |
| allowing to update the Text widget content.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the SWT.Selection event must be propagated, else false</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> |
| <div class="block">Manages drop down of the popup.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>drop</code> - <code>true</code> to drop the popup, <code>false</code> to close</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> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPopupVisible--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPopupVisible</h4> |
| <pre>public boolean getPopupVisible()</pre> |
| <div class="block">Returns <code>true</code> if the receiver's popup 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 popup'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> |
| </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="getShell--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getShell</h4> |
| <pre>public org.eclipse.swt.widgets.Shell getShell()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getShell</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStyle--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStyle</h4> |
| <pre>public int getStyle()</pre> |
| <div class="block">Returns the receiver's style information.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getStyle</code> in class <code>org.eclipse.swt.widgets.Widget</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Widget.getStyle()</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> |
| </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="handleFocus-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleFocus</h4> |
| <pre>protected void handleFocus(int type)</pre> |
| <div class="block">Manages the focus on the combo.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>type</code> - SWT.FocusIn or SWT.FocusOut</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDropped--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDropped</h4> |
| <pre>protected boolean isDropped()</pre> |
| <div class="block">Returns <code>true</code> if popup is dropped (visible), else <code>false</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>boolean indicating if popup is dropped</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isFocusControl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFocusControl</h4> |
| <pre>public boolean isFocusControl()</pre> |
| <div class="block">Returns <code>true</code> if the receiver has the user-interface focus, |
| and <code>false</code> otherwise.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>isFocusControl</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.isFocusControl()</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isShowButtonOnFocus--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isShowButtonOnFocus</h4> |
| <pre>public boolean isShowButtonOnFocus()</pre> |
| <div class="block">Returns <code>true</code> if button is displayed only when the combo has |
| has focus and <code>false</code> otherwise.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>boolean indicating if combo must show button only on focus</dd> |
| </dl> |
| </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> |
| </dl> |
| </li> |
| </ul> |
| <a name="popupEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>popupEvent</h4> |
| <pre>protected void popupEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages popup shell events.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="redraw--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>redraw</h4> |
| <pre>public void redraw()</pre> |
| <div class="block">Causes the entire bounds of the receiver to be marked as needing to be |
| redrawn. The next time a paint request is processed, the control will be |
| completely painted, including the background.</div> |
| <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> |
| <div class="block">Causes the rectangular area of the receiver specified by the arguments to |
| be marked as needing to be redrawn. The next time a paint request is |
| processed, that area of the receiver will be painted, including the |
| background. If the all flag is true, any children of the receiver which |
| intersect with the specified area will also paint their intersecting |
| areas. If the all flag is false, the children will not be painted.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>redraw</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>x</code> - </dd> |
| <dd><code>y</code> - </dd> |
| <dd><code>width</code> - </dd> |
| <dd><code>height</code> - </dd> |
| <dd><code>all</code> - </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/datechooser/AbstractCombo.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 receiver's selection changes.</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/datechooser/AbstractCombo.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="seeLabel">See Also:</span></dt> |
| <dd><code>VerifyListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#addVerifyListener-org.eclipse.swt.events.VerifyListener-"><code>addVerifyListener(org.eclipse.swt.events.VerifyListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="selectAll--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectAll</h4> |
| <pre>public void selectAll()</pre> |
| <div class="block">Selects all the text in the receiver.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.eclipse.swt.SWTException</code> - <ul> |
| <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> |
| <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> |
| </ul></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="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> |
| <div class="block">Sets the receiver's background color to the color specified by the |
| argument, or to the default system color for the control if the argument |
| is null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setBackground</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setBackground(org.eclipse.swt.graphics.Color)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setCreateOnDrop-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCreateOnDrop</h4> |
| <pre>protected void setCreateOnDrop(boolean createOnDrop)</pre> |
| <div class="block">Sets the flag indicating if the popup content must be created each time |
| the combo is dropped. |
| It can be necessary to set this flag to true when the popup content use |
| to many controls, as the DateChooser.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>createOnDrop</code> - true if popup is recreated at each drop, else false</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> |
| </dl> |
| </li> |
| </ul> |
| <a name="setEnabled-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEnabled</h4> |
| <pre>public void setEnabled(boolean enabled)</pre> |
| <div class="block">Enables the receiver if the argument is <code>true</code>, and disables it |
| otherwise.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setEnabled</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setEnabled(boolean)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFocus--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFocus</h4> |
| <pre>public boolean setFocus()</pre> |
| <div class="block">Causes the receiver to have the keyboard focus, such that all keyboard |
| events will be delivered to it.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setFocus</code> in class <code>org.eclipse.swt.widgets.Composite</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setFocus()</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> |
| <div class="block">Sets the font that the receiver will use to paint textual information to |
| the font specified by the argument, or to the default font for that kind |
| of control if the argument is null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setFont</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setFont(org.eclipse.swt.graphics.Font)</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> |
| <div class="block">Sets the receiver's foreground color to the color specified by the |
| argument, or to the default system color for the control if the argument |
| is null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setForeground</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setForeground(org.eclipse.swt.graphics.Color)</code></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> |
| </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> |
| <div class="block">Sets the receiver's pop up menu to the argument. All controls may |
| optionally have a pop up menu that is displayed when the user requests |
| one for the control. The sequence of key strokes, button presses and/or |
| button releases that are used to request a pop up menu is platform |
| specific. |
| |
| Note: Disposing of a control that has a pop up menu will dispose of the |
| menu. To avoid this behavior, set the menu to null before the control |
| is disposed.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setMenu</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>menu</code> - the new pop up menu</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPopupLocation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPopupLocation</h4> |
| <pre>protected void setPopupLocation()</pre> |
| <div class="block">Calculates and returns the location of popup.<br> |
| Called just before than the popup is dropped.</div> |
| </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> |
| </dl> |
| </li> |
| </ul> |
| <a name="setShowButtonOnFocus-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShowButtonOnFocus</h4> |
| <pre>public void setShowButtonOnFocus(boolean showButtonOnFocus)</pre> |
| <div class="block">Sets the flag indicating if the button must be shown only if the combo |
| has the focus (<code>true</code>).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>showButtonOnFocus</code> - <code>true<code> if button must be shown on focus only</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> |
| <div class="block">Sets the receiver's tool tip text to the argument, which may be null |
| indicating that no tool tip text should be shown.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setToolTipText</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>string</code> - the new tool tip text (or null)</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> |
| <div class="block">Marks the receiver as visible if the argument is <code>true</code>, and |
| marks it invisible otherwise.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setVisible</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.setVisible(boolean)</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="textEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>textEvent</h4> |
| <pre>protected void textEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages text widget events. ModifyEvent are notified to all registered |
| ModifyListener of the combo.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="updateButtonDisplay--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>updateButtonDisplay</h4> |
| <pre>protected void updateButtonDisplay()</pre> |
| <div class="block">Updates the visibility of the button in function of the flag and the focus.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractCombo.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li>Prev Class</li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" target="_top">Frames</a></li> |
| <li><a href="AbstractCombo.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> |