blob: 418914a03ae94b1c0f0bfd42a67413431ff96181 [file] [log] [blame]
<!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>DateChooserCombo</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="DateChooserCombo";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":42,"i12":10,"i13":10,"i14":10,"i15":10,"i16":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/DateChooserCombo.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/datechooser/DateChooser.DateChooserLayout.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserComboCellEditor.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html" target="_top">Frames</a></li>
<li><a href="DateChooserCombo.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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 DateChooserCombo" class="title">Class DateChooserCombo</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Widget</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Control</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Scrollable</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Composite</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">org.eclipse.nebula.widgets.datechooser.AbstractCombo</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.widgets.datechooser.DateChooserCombo</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.eclipse.swt.graphics.Drawable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">DateChooserCombo</span>
extends <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></pre>
<div class="block">DateChooserCombo widget. This class represents a date field editor that combines
a text field and a calendar. Implementation is based on <code>FormattedText</code>
and <code>DateChooser</code>.
<p>
Issues notification when the text content is modified or when a date is
selected in the calendar.
<p>
<dl>
<dt><b>Styles:</b>
<dd>BORDER, READ_ONLY, FLAT</dd>
<dt><b>Events:</b>
<dd>Modify</dd>
<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">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static org.eclipse.swt.graphics.Image</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#buttonImage">buttonImage</a></span></code>
<div class="block">Default image for the button</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/DateChooserCombo.html#footerVisible">footerVisible</a></span></code>
<div class="block">Flag to set footer visible or not in the popup</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/formattedtext/FormattedText.html" title="class in org.eclipse.nebula.widgets.formattedtext">FormattedText</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#formattedText">formattedText</a></span></code>
<div class="block">FormattedText widget for edition of the date</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#gridVisible">gridVisible</a></span></code>
<div class="block">Flag to set grid visible or not in the popup</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#IMAGE">IMAGE</a></span></code>
<div class="block">Default image filename</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.Locale</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#locale">locale</a></span></code>
<div class="block">Locale used for localized names and formats</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserTheme.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooserTheme</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#theme">theme</a></span></code>
<div class="block">Calendar theme</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/DateChooserCombo.html#weeksVisible">weeksVisible</a></span></code>
<div class="block">Flag to set weeks numbers visible or not</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.nebula.widgets.datechooser.AbstractCombo">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.nebula.widgets.datechooser.<a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></h3>
<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#Z:Z_shell">_shell</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#button">button</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createOnDrop">createOnDrop</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#filter">filter</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#GTK">GTK</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#hasFocus">hasFocus</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#listener">listener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#popup">popup</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#popupContent">popupContent</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#showButtonOnFocus">showButtonOnFocus</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#text">text</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#WIN32">WIN32</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.swt.widgets.Control">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;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">&nbsp;</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/DateChooserCombo.html#DateChooserCombo-org.eclipse.swt.widgets.Composite-int-">DateChooserCombo</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</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/DateChooserCombo.html#addKeyListener-org.eclipse.swt.events.KeyListener-">addKeyListener</a></span>(org.eclipse.swt.events.KeyListener&nbsp;listener)</code>
<div class="block">Adds the listener to the collection of listeners who will be notified when
keys are pressed and released on the system keyboard, by sending it one of
the messages defined in the KeyListener interface.<b>
The listener is set on the Text widget, as there is no sense to have it
on the Composite.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#beforeDrop--">beforeDrop</a></span>()</code>
<div class="block">Called just before the popup is dropped.</div>
</td>
</tr>
<tr id="i2" 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/DateChooserCombo.html#computeSize-int-int-boolean-">computeSize</a></span>(int&nbsp;wHint,
int&nbsp;hHint,
boolean&nbsp;changed)</code>
<div class="block">Returns the preferred size of the receiver.<br>
If wHint == SWT.DEFAULT, the preferred size is computed to adjust the width
to display a date in the MM/dd/yyyy format.</div>
</td>
</tr>
<tr id="i3" 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/DateChooserCombo.html#createButtonControl-int-">createButtonControl</a></span>(int&nbsp;style)</code>
<div class="block">Creates the button widget.</div>
</td>
</tr>
<tr id="i4" 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/DateChooserCombo.html#createPopupContent-org.eclipse.swt.widgets.Composite-">createPopupContent</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent)</code>
<div class="block">Creates the popup content.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<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/DateChooserCombo.html#createTextControl-int-">createTextControl</a></span>(int&nbsp;style)</code>
<div class="block">Creates the text widget.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.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="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/DateChooserCombo.html#dropDown-boolean-">dropDown</a></span>(boolean&nbsp;drop)</code>
<div class="block">Manages drop down of the popup.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#getGridVisible--">getGridVisible</a></span>()</code>
<div class="block">Returns the grid visibility status.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.util.Date</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#getValue--">getValue</a></span>()</code>
<div class="block">Returns the current <code>Date</code> value of the widget.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#isFooterVisible--">isFooterVisible</a></span>()</code>
<div class="block">Returns true if footer is visible in the popup calendar.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#isGridVisible--">isGridVisible</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#isWeeksVisible--">isWeeksVisible</a></span>()</code>
<div class="block">Returns true if weeks numbers are visible.</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/DateChooserCombo.html#removeKeyListener-org.eclipse.swt.events.KeyListener-">removeKeyListener</a></span>(org.eclipse.swt.events.KeyListener&nbsp;listener)</code>
<div class="block">Removes the listener from the collection of listeners who will
be notified when keys are pressed and released on the system keyboard.</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/datechooser/DateChooserCombo.html#setFooterVisible-boolean-">setFooterVisible</a></span>(boolean&nbsp;footerVisible)</code>
<div class="block">Sets the footer of popup calendar visible or not.</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/datechooser/DateChooserCombo.html#setFormatter-org.eclipse.nebula.widgets.formattedtext.DateFormatter-">setFormatter</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/formattedtext/DateFormatter.html" title="class in org.eclipse.nebula.widgets.formattedtext">DateFormatter</a>&nbsp;formatter)</code>
<div class="block">Associates a new <code>DateFormatter</code> to the text widget, replacing
the default one.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setGridVisible-boolean-">setGridVisible</a></span>(boolean&nbsp;gridVisible)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;&nbsp;</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setGridVisible-int-">setGridVisible</a></span>(int&nbsp;gridVisible)</code>
<div class="block">Sets the grid visible or not.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setImage-org.eclipse.swt.graphics.Image-">setImage</a></span>(org.eclipse.swt.graphics.Image&nbsp;image)</code>
<div class="block">Sets a new image to display on the button, replacing the default one.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setLocale-java.util.Locale-">setLocale</a></span>(java.util.Locale&nbsp;locale)</code>
<div class="block">Sets the locale used both by the input mask and the calendar.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setTheme-org.eclipse.nebula.widgets.datechooser.DateChooserTheme-">setTheme</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserTheme.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooserTheme</a>&nbsp;theme)</code>
<div class="block">Sets the theme to apply to the calendar popup.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setValue-java.util.Date-">setValue</a></span>(java.util.Date&nbsp;value)</code>
<div class="block">Sets a new <code>Date</code> value.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html#setWeeksVisible-boolean-">setWeeksVisible</a></span>(boolean&nbsp;weeksVisible)</code>
<div class="block">Sets the weeks numbers visible or not.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.nebula.widgets.datechooser.AbstractCombo">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.nebula.widgets.datechooser.<a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></h3>
<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#addModifyListener-org.eclipse.swt.events.ModifyListener-">addModifyListener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#addSelectionListener-org.eclipse.swt.events.SelectionListener-">addSelectionListener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#addVerifyListener-org.eclipse.swt.events.VerifyListener-">addVerifyListener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#buttonEvent-org.eclipse.swt.widgets.Event-">buttonEvent</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#checkStyle-int-">checkStyle</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#comboEvent-org.eclipse.swt.widgets.Event-">comboEvent</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#contentEvent-org.eclipse.swt.widgets.Event-">contentEvent</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#copy--">copy</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createPopup--">createPopup</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#cut--">cut</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getEditable--">getEditable</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getPopupVisible--">getPopupVisible</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getSelection--">getSelection</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getShell--">getShell</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getStyle--">getStyle</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getText--">getText</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getTextHeight--">getTextHeight</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#getTextLimit--">getTextLimit</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#handleFocus-int-">handleFocus</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#isDropped--">isDropped</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#isFocusControl--">isFocusControl</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#isShowButtonOnFocus--">isShowButtonOnFocus</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#paste--">paste</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#popupEvent-org.eclipse.swt.widgets.Event-">popupEvent</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#redraw--">redraw</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#redraw-int-int-int-int-boolean-">redraw</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#removeModifyListener-org.eclipse.swt.events.ModifyListener-">removeModifyListener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#removeSelectionListener-org.eclipse.swt.events.SelectionListener-">removeSelectionListener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#removeVerifyListener-org.eclipse.swt.events.VerifyListener-">removeVerifyListener</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#selectAll--">selectAll</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setBackground-org.eclipse.swt.graphics.Color-">setBackground</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setCreateOnDrop-boolean-">setCreateOnDrop</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setEditable-boolean-">setEditable</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setEnabled-boolean-">setEnabled</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setFocus--">setFocus</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setFont-org.eclipse.swt.graphics.Font-">setFont</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setForeground-org.eclipse.swt.graphics.Color-">setForeground</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setLayout-org.eclipse.swt.widgets.Layout-">setLayout</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setMenu-org.eclipse.swt.widgets.Menu-">setMenu</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setPopupLocation--">setPopupLocation</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setSelection-org.eclipse.swt.graphics.Point-">setSelection</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setShowButtonOnFocus-boolean-">setShowButtonOnFocus</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setTextLimit-int-">setTextLimit</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setToolTipText-java.lang.String-">setToolTipText</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#setVisible-boolean-">setVisible</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#textEvent-org.eclipse.swt.widgets.Event-">textEvent</a>, <a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#updateButtonDisplay--">updateButtonDisplay</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Composite">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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&nbsp;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&nbsp;org.eclipse.swt.widgets.Control</h3>
<code>addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, 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, 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&nbsp;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&nbsp;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&nbsp;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="IMAGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IMAGE</h4>
<pre>protected static final&nbsp;java.lang.String IMAGE</pre>
<div class="block">Default image filename</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooserCombo.IMAGE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="buttonImage">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>buttonImage</h4>
<pre>protected static&nbsp;org.eclipse.swt.graphics.Image buttonImage</pre>
<div class="block">Default image for the button</div>
</li>
</ul>
<a name="formattedText">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>formattedText</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/formattedtext/FormattedText.html" title="class in org.eclipse.nebula.widgets.formattedtext">FormattedText</a> formattedText</pre>
<div class="block">FormattedText widget for edition of the date</div>
</li>
</ul>
<a name="footerVisible">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>footerVisible</h4>
<pre>protected&nbsp;boolean footerVisible</pre>
<div class="block">Flag to set footer visible or not in the popup</div>
</li>
</ul>
<a name="gridVisible">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gridVisible</h4>
<pre>protected&nbsp;int gridVisible</pre>
<div class="block">Flag to set grid visible or not in the popup</div>
</li>
</ul>
<a name="weeksVisible">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>weeksVisible</h4>
<pre>protected&nbsp;boolean weeksVisible</pre>
<div class="block">Flag to set weeks numbers visible or not</div>
</li>
</ul>
<a name="theme">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>theme</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserTheme.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooserTheme</a> theme</pre>
<div class="block">Calendar theme</div>
</li>
</ul>
<a name="locale">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>locale</h4>
<pre>protected&nbsp;java.util.Locale locale</pre>
<div class="block">Locale used for localized names and formats</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DateChooserCombo-org.eclipse.swt.widgets.Composite-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DateChooserCombo</h4>
<pre>public&nbsp;DateChooserCombo(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;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 widget is initialized with a default image for the button, and a
default <code>DateFormatter</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - a composite control which will be the parent of the new instance (cannot be null)</dd>
<dd><code>style</code> - the style of control to construct</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addKeyListener-org.eclipse.swt.events.KeyListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addKeyListener</h4>
<pre>public&nbsp;void&nbsp;addKeyListener(org.eclipse.swt.events.KeyListener&nbsp;listener)</pre>
<div class="block">Adds the listener to the collection of listeners who will be notified when
keys are pressed and released on the system keyboard, by sending it one of
the messages defined in the KeyListener interface.<b>
The listener is set on the Text widget, as there is no sense to have it
on the Composite.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>addKeyListener</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Control</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - the listener which should be notified</dd>
</dl>
</li>
</ul>
<a name="beforeDrop--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeDrop</h4>
<pre>protected&nbsp;void&nbsp;beforeDrop()</pre>
<div class="block">Called just before the popup is dropped. The selected date of the
calendar is set to the current date present in the formatted text.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#beforeDrop--">beforeDrop</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#beforeDrop--"><code>AbstractCombo.beforeDrop()</code></a></dd>
</dl>
</li>
</ul>
<a name="computeSize-int-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeSize</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Point&nbsp;computeSize(int&nbsp;wHint,
int&nbsp;hHint,
boolean&nbsp;changed)</pre>
<div class="block">Returns the preferred size of the receiver.<br>
If wHint == SWT.DEFAULT, the preferred size is computed to adjust the width
to display a date in the MM/dd/yyyy format. If a DateFormatter with more
larger edit or display patterns is used, the width of the combo must be
set programmatically.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>computeSize</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Control</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>wHint</code> - the width hint (can be SWT.DEFAULT)</dd>
<dd><code>hHint</code> - the height hint (can be SWT.DEFAULT)</dd>
<dd><code>changed</code> - <code>true</code> if the control's contents have changed, and <code>false</code> otherwise</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the preferred size of the control.</dd>
</dl>
</li>
</ul>
<a name="createButtonControl-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createButtonControl</h4>
<pre>protected&nbsp;org.eclipse.swt.widgets.Button&nbsp;createButtonControl(int&nbsp;style)</pre>
<div class="block">Creates the button widget. The default appearance with an arrow is
replaced by a button with an image.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createButtonControl-int-">createButtonControl</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></code></dd>
<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 control</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createButtonControl-int-"><code>AbstractCombo.createButtonControl(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="createPopupContent-org.eclipse.swt.widgets.Composite-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPopupContent</h4>
<pre>protected&nbsp;org.eclipse.swt.widgets.Control&nbsp;createPopupContent(org.eclipse.swt.widgets.Composite&nbsp;parent)</pre>
<div class="block">Creates the popup content. The content is a <code>DateChooser</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createPopupContent-org.eclipse.swt.widgets.Composite-">createPopupContent</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></code></dd>
<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&nbsp;org.eclipse.swt.widgets.Text&nbsp;createTextControl(int&nbsp;style)</pre>
<div class="block">Creates the text widget. Overrides the default implementation to create a
<code>FormattedText</code> with the default formatter for <code>Date</code>
values.
The formatter is provided by <code>DefaultFormatterFactory</code>. By default
a <code>DateFormatter</code> is returned. This can be changed by
registering a new formatter for Date class.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createTextControl-int-">createTextControl</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></code></dd>
<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>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#createTextControl-int-"><code>AbstractCombo.createTextControl(int)</code></a></dd>
</dl>
</li>
</ul>
<a name="doSelection--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doSelection</h4>
<pre>protected&nbsp;boolean&nbsp;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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#doSelection--">doSelection</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></code></dd>
<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&nbsp;void&nbsp;dropDown(boolean&nbsp;drop)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#dropDown-boolean-">AbstractCombo</a></code></span></div>
<div class="block">Manages drop down of the popup.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#dropDown-boolean-">dropDown</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser">AbstractCombo</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>drop</code> - <code>true</code> to drop the popup, <code>false</code> to close</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/datechooser/AbstractCombo.html#dropDown-boolean-"><code>AbstractCombo.dropDown(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="getGridVisible--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGridVisible</h4>
<pre>public&nbsp;int&nbsp;getGridVisible()</pre>
<div class="block">Returns the grid visibility status.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the grid visible status.</dd>
</dl>
</li>
</ul>
<a name="getValue--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;java.util.Date&nbsp;getValue()</pre>
<div class="block">Returns the current <code>Date</code> value of the widget.
<p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Current value</dd>
</dl>
</li>
</ul>
<a name="isFooterVisible--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFooterVisible</h4>
<pre>public&nbsp;boolean&nbsp;isFooterVisible()</pre>
<div class="block">Returns true if footer is visible in the popup calendar.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>true</code> if footer visible, else <code>false</code></dd>
</dl>
</li>
</ul>
<a name="isGridVisible--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isGridVisible</h4>
<pre>public&nbsp;boolean&nbsp;isGridVisible()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Returns true if grid is visible in the calendar popup.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the grid visible status.</dd>
</dl>
</li>
</ul>
<a name="isWeeksVisible--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWeeksVisible</h4>
<pre>public&nbsp;boolean&nbsp;isWeeksVisible()</pre>
<div class="block">Returns true if weeks numbers are visible.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the weeks numbers visible status.</dd>
</dl>
</li>
</ul>
<a name="removeKeyListener-org.eclipse.swt.events.KeyListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeKeyListener</h4>
<pre>public&nbsp;void&nbsp;removeKeyListener(org.eclipse.swt.events.KeyListener&nbsp;listener)</pre>
<div class="block">Removes the listener from the collection of listeners who will
be notified when keys are pressed and released on the system keyboard.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>removeKeyListener</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Control</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - the listener which should no longer be notified</dd>
</dl>
</li>
</ul>
<a name="setFooterVisible-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFooterVisible</h4>
<pre>public&nbsp;void&nbsp;setFooterVisible(boolean&nbsp;footerVisible)</pre>
<div class="block">Sets the footer of popup calendar visible or not. The footer displays the
today date. It is not visible by default.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>footerVisible</code> - <code>true</code> to set footer visible, else <code>false</code></dd>
</dl>
</li>
</ul>
<a name="setFormatter-org.eclipse.nebula.widgets.formattedtext.DateFormatter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFormatter</h4>
<pre>public&nbsp;void&nbsp;setFormatter(<a href="../../../../../org/eclipse/nebula/widgets/formattedtext/DateFormatter.html" title="class in org.eclipse.nebula.widgets.formattedtext">DateFormatter</a>&nbsp;formatter)</pre>
<div class="block">Associates a new <code>DateFormatter</code> to the text widget, replacing
the default one.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>formatter</code> - date formatter</dd>
</dl>
</li>
</ul>
<a name="setGridVisible-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGridVisible</h4>
<pre>public&nbsp;void&nbsp;setGridVisible(boolean&nbsp;gridVisible)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Sets the grid visible or not in the calendar popup. By default, the grid
is visible.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>gridVisible</code> - <code>true</code> to set grid visible, else <code>false</code></dd>
</dl>
</li>
</ul>
<a name="setGridVisible-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGridVisible</h4>
<pre>public&nbsp;void&nbsp;setGridVisible(int&nbsp;gridVisible)</pre>
<div class="block">Sets the grid visible or not. By default, the grid is visible. The
possible values are GRID_FULL, GRID_LINES and GRID_NONE.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>gridVisible</code> - grid visibility flag</dd>
</dl>
</li>
</ul>
<a name="setImage-org.eclipse.swt.graphics.Image-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setImage</h4>
<pre>public&nbsp;void&nbsp;setImage(org.eclipse.swt.graphics.Image&nbsp;image)</pre>
<div class="block">Sets a new image to display on the button, replacing the default one.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>image</code> - new image</dd>
</dl>
</li>
</ul>
<a name="setLocale-java.util.Locale-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocale</h4>
<pre>public&nbsp;void&nbsp;setLocale(java.util.Locale&nbsp;locale)</pre>
<div class="block">Sets the locale used both by the input mask and the calendar.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>locale</code> - locale</dd>
</dl>
</li>
</ul>
<a name="setTheme-org.eclipse.nebula.widgets.datechooser.DateChooserTheme-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTheme</h4>
<pre>public&nbsp;void&nbsp;setTheme(<a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserTheme.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooserTheme</a>&nbsp;theme)</pre>
<div class="block">Sets the theme to apply to the calendar popup.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>theme</code> - new theme (must not be null)</dd>
</dl>
</li>
</ul>
<a name="setValue-java.util.Date-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;void&nbsp;setValue(java.util.Date&nbsp;value)</pre>
<div class="block">Sets a new <code>Date</code> value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - new date value</dd>
</dl>
</li>
</ul>
<a name="setWeeksVisible-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setWeeksVisible</h4>
<pre>public&nbsp;void&nbsp;setWeeksVisible(boolean&nbsp;weeksVisible)</pre>
<div class="block">Sets the weeks numbers visible or not. By default, the weeks are NOT
visible.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>weeksVisible</code> - <code>true</code> to set weeks visible, else <code>false</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DateChooserCombo.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/datechooser/DateChooser.DateChooserLayout.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserComboCellEditor.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/datechooser/DateChooserCombo.html" target="_top">Frames</a></li>
<li><a href="DateChooserCombo.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>