| <!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>DateChooser</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="DateChooser"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":42,"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":42,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":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/DateChooser.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/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.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/DateChooser.html" target="_top">Frames</a></li> |
| <li><a href="DateChooser.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><a href="#nested.class.summary">Nested</a> | </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 DateChooser" class="title">Class DateChooser</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.DateChooser</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">DateChooser</span> |
| extends org.eclipse.swt.widgets.Composite</pre> |
| <div class="block">Calendar widget. Presents the monthly view of a calendar for date picking. |
| <p> |
| |
| Calendar is composed of a header and a grid for date selection. The header |
| display the current month and year, and the two buttons for navigation |
| (previous and next month). An optional footer display the today date. |
| <p> |
| |
| Features: |
| <ul> |
| <li>Month names, weekday names and first day of week depend of the locale |
| set on the calendar</li> |
| <li>GUI (colors, font...) are customizable through themes (3 provided)</li> |
| <li>Shows days from adjacent months</li> |
| <li>Optionally shows weeks numbers</li> |
| <li>Optional footer showing today date</li> |
| <li>Multi selection and interval selection</li> |
| <li>Keyboard support.</li> |
| </ul> |
| <p> |
| |
| To know which dates have been selected in the calendar, there is two means : |
| <ul> |
| <li>The <code>getSelectedDate()</code> method returns the currently |
| selected date (single selection). The <code>getSelectedDates()</code> |
| returns a list of all selected dates (multi selection).</li> |
| <li>Add a <code>CalendarListener</code> to the calendar. This listener |
| will be notified of selection. <code>event.data</code> contain the |
| selection if in single selection mode.</li> |
| </ul> |
| <p> |
| |
| Keyboard navigation : |
| <ul> |
| <li>Arrows: Change the focus cell.</li> |
| <li>Page UP / DOWN: Next / previous month.</li> |
| <li>Ctrl-Page UP / DOWN: Next / previous year.</li> |
| <li>SPACE: Select the cell having the focus. If in multi selection mode, |
| all previous selected dates are cleared.</li> |
| <li>Ctrl-SPACE: Add the cell having the focus to the selection (multi |
| selection mode).</li> |
| <li>Shift-SPACE: Select all dates in the interval between the current |
| focus and the last selected date.</li> |
| <li>HOME: Set the focus on the today date, and select it if |
| autoselectOnFooter is true.</li> |
| </ul></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.Cell</a></span></code> |
| <div class="block">Defines a grid cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.DateChooserLayout.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.DateChooserLayout</a></span></code> |
| <div class="block">Calendar grid specific layout.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#autoChangeOnAdjacent">autoChangeOnAdjacent</a></span></code> |
| <div class="block">If true, change the current month if an adjacent day is clicked</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/DateChooser.html#autoSelectOnFooter">autoSelectOnFooter</a></span></code> |
| <div class="block">If true, the today date is automatically selected on footer selection event</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.util.Date</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#beginInterval">beginInterval</a></span></code> |
| <div class="block">Begin date of selection interval</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#BUNDLE_NAME">BUNDLE_NAME</a></span></code> |
| <div class="block">Bundle name constant</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Label</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#currentMonth">currentMonth</a></span></code> |
| <div class="block">Label for the display of current month and year (corresponding to curDate)</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected java.util.Calendar</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#currentMonthCal">currentMonthCal</a></span></code> |
| <div class="block">Date of 1st day of the currently displayed month</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.Cell</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#days">days</a></span></code> |
| <div class="block">Days numbers cells</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Composite</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#daysPanel">daysPanel</a></span></code> |
| <div class="block">Panel for display of day numbers</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.text.SimpleDateFormat</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#df1">df1</a></span></code> |
| <div class="block">Format for the display of month and year in the header</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected java.text.DateFormat</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#df2">df2</a></span></code> |
| <div class="block">Format for the today date in the footer</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.util.Date</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#endInterval">endInterval</a></span></code> |
| <div class="block">End date of selection interval</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/DateChooser.html#filter">filter</a></span></code> |
| <div class="block">Listener for external events</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#firstDayIndex">firstDayIndex</a></span></code> |
| <div class="block">Index in the grid of the first day of displayed month</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/DateChooser.html#firstDayOfWeek">firstDayOfWeek</a></span></code> |
| <div class="block">Index of the first day of week</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#focusIndex">focusIndex</a></span></code> |
| <div class="block">Index of the focus in the days numbers grid</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/DateChooser.html#footerVisible">footerVisible</a></span></code> |
| <div class="block">Flag to set footer visible or not</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#GRID_FULL">GRID_FULL</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#GRID_LINES">GRID_LINES</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#GRID_NONE">GRID_NONE</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.DateChooserLayout.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.DateChooserLayout</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#gridLayout">gridLayout</a></span></code> |
| <div class="block">Layout of the grid</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Composite</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#gridPanel">gridPanel</a></span></code> |
| <div class="block">Grid panel</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/DateChooser.html#gridVisible">gridVisible</a></span></code> |
| <div class="block">Flag to set grid visible or not</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/DateChooser.html#hasFocus">hasFocus</a></span></code> |
| <div class="block">Flag indicating if the calendar has the focus</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#HEADER_SPACING">HEADER_SPACING</a></span></code> |
| <div class="block">Header spacing constant</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Label[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#headers">headers</a></span></code> |
| <div class="block">Grid headers, displaying weekday names</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Composite</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#headersPanel">headersPanel</a></span></code> |
| <div class="block">Panel for display of weekday names</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/DateChooser.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 java.util.Locale</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.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 int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#minimalDaysInFirstWeek">minimalDaysInFirstWeek</a></span></code> |
| <div class="block">Minimal number of days in the first week</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Composite</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#monthPanel">monthPanel</a></span></code> |
| <div class="block">Month header panel</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Menu</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#monthsMenu">monthsMenu</a></span></code> |
| <div class="block">Popup menu for month selection</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/DateChooser.html#multi">multi</a></span></code> |
| <div class="block">Multi selection flag</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/DateChooser.html#navigationEnabled">navigationEnabled</a></span></code> |
| <div class="block">Flag to set navigation enabled or not</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/DateChooser.html#nextMonth">nextMonth</a></span></code> |
| <div class="block">Navigation button for next month</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#NOFOCUS">NOFOCUS</a></span></code> |
| <div class="block">Value to use when there is none internal widget having the focus</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/DateChooser.html#prevMonth">prevMonth</a></span></code> |
| <div class="block">Navigation button for previous month</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected java.util.ResourceBundle</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#resources">resources</a></span></code> |
| <div class="block">Resources bundle</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected java.util.List<java.util.Date></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#selection">selection</a></span></code> |
| <div class="block">Selection</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/DateChooser.html#theme">theme</a></span></code> |
| <div class="block">Calendar theme</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected java.util.Calendar</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#todayCal">todayCal</a></span></code> |
| <div class="block">The today date</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Label</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#todayLabel">todayLabel</a></span></code> |
| <div class="block">Today label of the footer</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.Cell</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#weeks">weeks</a></span></code> |
| <div class="block">Weeks numbers cells</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.swt.widgets.Composite</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#weeksPanel">weeksPanel</a></span></code> |
| <div class="block">Panel for display of week numbers</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/DateChooser.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.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/DateChooser.html#DateChooser-org.eclipse.swt.widgets.Composite-int-">DateChooser</a></span>(org.eclipse.swt.widgets.Composite parent, |
| int style)</code> |
| <div class="block">Constructs a new instance of this class given its parent and a style value |
| describing its behavior and appearance.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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/DateChooser.html#addSelectionListener-org.eclipse.swt.events.SelectionListener-">addSelectionListener</a></span>(org.eclipse.swt.events.SelectionListener lsnr)</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="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/DateChooser.html#buttonsEvent-org.eclipse.swt.widgets.Event-">buttonsEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages navigation buttons events.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#calendarEvent-org.eclipse.swt.widgets.Event-">calendarEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages event at the calendar level.</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/DateChooser.html#changeCurrentMonth-int-">changeCurrentMonth</a></span>(int add)</code> |
| <div class="block">Displays a new month in the grid.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#clearSelection--">clearSelection</a></span>()</code> |
| <div class="block">Clears the selection.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#clearSelection-boolean-">clearSelection</a></span>(boolean refresh)</code> |
| <div class="block">Clears the selection.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#dispose--">dispose</a></span>()</code> |
| <div class="block">Disposes of the operating system resources associated with the receiver |
| and all its descendants.</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/DateChooser.html#footerEvent-org.eclipse.swt.widgets.Event-">footerEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages events on the footer label.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#forceFocus--">forceFocus</a></span>()</code> |
| <div class="block">Forces the receiver to have the keyboard focus, causing all keyboard events |
| to be delivered to it.</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/DateChooser.html#getCurrentMonth--">getCurrentMonth</a></span>()</code> |
| <div class="block">Returns the current displayed month.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#getFirstDayOfWeek--">getFirstDayOfWeek</a></span>()</code> |
| <div class="block">Gets what the first day of the week is.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#getGridVisible--">getGridVisible</a></span>()</code> |
| <div class="block">Returns the grid visibility status.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#getMinimalDaysInFirstWeek--">getMinimalDaysInFirstWeek</a></span>()</code> |
| <div class="block">Gets what the minimal days required in the first week of the year are.</div> |
| </td> |
| </tr> |
| <tr id="i13" 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/DateChooser.html#getSelectedDate--">getSelectedDate</a></span>()</code> |
| <div class="block">Returns the selected date.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>java.util.Collection<java.util.Date></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#getSelectedDates--">getSelectedDates</a></span>()</code> |
| <div class="block">Returns all the selected dates.</div> |
| </td> |
| </tr> |
| <tr id="i15" 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/DateChooser.html#getTodayDate--">getTodayDate</a></span>()</code> |
| <div class="block">Returns the today date.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#gridEvent-org.eclipse.swt.widgets.Event-">gridEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages events at the grid level.</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/DateChooser.html#isAutoChangeOnAdjacent--">isAutoChangeOnAdjacent</a></span>()</code> |
| <div class="block">Returns the autoChangeOnAdjacent mode.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#isAutoSelectOnFooter--">isAutoSelectOnFooter</a></span>()</code> |
| <div class="block">Returns the autoSelectOnFooter mode.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#isDateSelected-java.util.Date-">isDateSelected</a></span>(java.util.Date date)</code> |
| <div class="block">Returns <code>true</code> if the given date is selected, else returns |
| <code>false</code>.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.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="i21" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#isFooterVisible--">isFooterVisible</a></span>()</code> |
| <div class="block">Returns true if footer is visible.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#isGridVisible--">isGridVisible</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#isNavigationEnabled--">isNavigationEnabled</a></span>()</code> |
| <div class="block">Returns true if navigation is enabled.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#isWeeksVisible--">isWeeksVisible</a></span>()</code> |
| <div class="block">Returns true if weeks numbers are visible.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#menuEvent-org.eclipse.swt.widgets.Event-">menuEvent</a></span>(org.eclipse.swt.widgets.Event event)</code> |
| <div class="block">Manages all events of the contextual menu on the month label of the header.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#notifySelection--">notifySelection</a></span>()</code> |
| <div class="block">Sends selection event to the listeners.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#removeSelectedDate-java.util.Date-">removeSelectedDate</a></span>(java.util.Date d)</code> |
| <div class="block">Removes the given date from the selection.</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/DateChooser.html#removeSelectionListener-org.eclipse.swt.events.SelectionListener-">removeSelectionListener</a></span>(org.eclipse.swt.events.SelectionListener lsnr)</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="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#setAutoChangeOnAdjacent-boolean-">setAutoChangeOnAdjacent</a></span>(boolean autoChangeOnAdjacent)</code> |
| <div class="block">Sets to <code>true</code> to enable the automatic change of current month |
| when an adjacent day is clicked in the grid.</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/DateChooser.html#setAutoSelectOnFooter-boolean-">setAutoSelectOnFooter</a></span>(boolean autoselectOnFooter)</code> |
| <div class="block">Set the autoSelectOnFooter mode.</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/DateChooser.html#setCurrentMonth-java.util.Date-">setCurrentMonth</a></span>(java.util.Date month)</code> |
| <div class="block">Sets a new month to display.</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/DateChooser.html#setFirstDayOfWeek-int-">setFirstDayOfWeek</a></span>(int firstDayOfWeek)</code> |
| <div class="block">Sets what the first day of the week is.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#setFocus--">setFocus</a></span>()</code> |
| <div class="block">Causes the receiver to have the <em>keyboard focus</em>, |
| such that all keyboard events will be delivered to it.</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/DateChooser.html#setFocusOnDate-java.util.Date-">setFocusOnDate</a></span>(java.util.Date date)</code> |
| <div class="block">Sets the focus on the given date.</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/DateChooser.html#setFocusOnToday-boolean-">setFocusOnToday</a></span>(boolean autoselect)</code> |
| <div class="block">Sets the focus on the today date.</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/DateChooser.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="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#setFooterVisible-boolean-">setFooterVisible</a></span>(boolean footerVisible)</code> |
| <div class="block">Sets the footer visible or not.</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/DateChooser.html#setGridVisible-boolean-">setGridVisible</a></span>(boolean gridVisible)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </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/DateChooser.html#setGridVisible-int-">setGridVisible</a></span>(int gridVisible)</code> |
| <div class="block">Sets the grid visible or not.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.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="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#setLocale-java.util.Locale-">setLocale</a></span>(java.util.Locale locale)</code> |
| <div class="block">Sets a new locale to use for calendar.</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/DateChooser.html#setMinimalDaysInFirstWeek-int-">setMinimalDaysInFirstWeek</a></span>(int minimalDaysInFirstWeek)</code> |
| <div class="block">Sets what the minimal days required in the first week of the year are; For |
| example, if the first week is defined as one that contains the first day |
| of the first month of a year, call this method with value 1.</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/DateChooser.html#setNavigationEnabled-boolean-">setNavigationEnabled</a></span>(boolean navigationEnabled)</code> |
| <div class="block">Sets the header's navigation buttons visible or not.</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/DateChooser.html#setSelectedDate-java.util.Date-">setSelectedDate</a></span>(java.util.Date date)</code> |
| <div class="block">Sets the selected date.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.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> theme)</code> |
| <div class="block">Sets the theme to apply to the calendar.</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/DateChooser.html#setTodayDate-java.util.Date-">setTodayDate</a></span>(java.util.Date today)</code> |
| <div class="block">Sets the today date.</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/DateChooser.html#setWeeksVisible-boolean-">setWeeksVisible</a></span>(boolean 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.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, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Widget"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.swt.widgets.Widget</h3> |
| <code>addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.graphics.Drawable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.eclipse.swt.graphics.Drawable</h3> |
| <code>isAutoScalable</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="BUNDLE_NAME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>BUNDLE_NAME</h4> |
| <pre>public static final java.lang.String BUNDLE_NAME</pre> |
| <div class="block">Bundle name constant</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooser.BUNDLE_NAME">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="HEADER_SPACING"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>HEADER_SPACING</h4> |
| <pre>protected static final int HEADER_SPACING</pre> |
| <div class="block">Header spacing constant</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooser.HEADER_SPACING">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="NOFOCUS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NOFOCUS</h4> |
| <pre>protected static final int NOFOCUS</pre> |
| <div class="block">Value to use when there is none internal widget having the focus</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooser.NOFOCUS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="GRID_NONE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GRID_NONE</h4> |
| <pre>public static final int GRID_NONE</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooser.GRID_NONE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="GRID_LINES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GRID_LINES</h4> |
| <pre>public static final int GRID_LINES</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooser.GRID_LINES">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="GRID_FULL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>GRID_FULL</h4> |
| <pre>public static final int GRID_FULL</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.datechooser.DateChooser.GRID_FULL">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="multi"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multi</h4> |
| <pre>protected boolean multi</pre> |
| <div class="block">Multi selection flag</div> |
| </li> |
| </ul> |
| <a name="selection"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selection</h4> |
| <pre>protected java.util.List<java.util.Date> selection</pre> |
| <div class="block">Selection</div> |
| </li> |
| </ul> |
| <a name="beginInterval"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>beginInterval</h4> |
| <pre>protected java.util.Date beginInterval</pre> |
| <div class="block">Begin date of selection interval</div> |
| </li> |
| </ul> |
| <a name="endInterval"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endInterval</h4> |
| <pre>protected java.util.Date endInterval</pre> |
| <div class="block">End date of selection interval</div> |
| </li> |
| </ul> |
| <a name="autoSelectOnFooter"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>autoSelectOnFooter</h4> |
| <pre>protected boolean autoSelectOnFooter</pre> |
| <div class="block">If true, the today date is automatically selected on footer selection event</div> |
| </li> |
| </ul> |
| <a name="monthPanel"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>monthPanel</h4> |
| <pre>protected org.eclipse.swt.widgets.Composite monthPanel</pre> |
| <div class="block">Month header panel</div> |
| </li> |
| </ul> |
| <a name="prevMonth"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>prevMonth</h4> |
| <pre>protected org.eclipse.swt.widgets.Button prevMonth</pre> |
| <div class="block">Navigation button for previous month</div> |
| </li> |
| </ul> |
| <a name="currentMonth"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>currentMonth</h4> |
| <pre>protected org.eclipse.swt.widgets.Label currentMonth</pre> |
| <div class="block">Label for the display of current month and year (corresponding to curDate)</div> |
| </li> |
| </ul> |
| <a name="nextMonth"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nextMonth</h4> |
| <pre>protected org.eclipse.swt.widgets.Button nextMonth</pre> |
| <div class="block">Navigation button for next month</div> |
| </li> |
| </ul> |
| <a name="monthsMenu"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>monthsMenu</h4> |
| <pre>protected org.eclipse.swt.widgets.Menu monthsMenu</pre> |
| <div class="block">Popup menu for month selection</div> |
| </li> |
| </ul> |
| <a name="gridPanel"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gridPanel</h4> |
| <pre>protected org.eclipse.swt.widgets.Composite gridPanel</pre> |
| <div class="block">Grid panel</div> |
| </li> |
| </ul> |
| <a name="gridLayout"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gridLayout</h4> |
| <pre>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.DateChooserLayout.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.DateChooserLayout</a> gridLayout</pre> |
| <div class="block">Layout of the grid</div> |
| </li> |
| </ul> |
| <a name="headersPanel"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headersPanel</h4> |
| <pre>protected org.eclipse.swt.widgets.Composite headersPanel</pre> |
| <div class="block">Panel for display of weekday names</div> |
| </li> |
| </ul> |
| <a name="headers"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>headers</h4> |
| <pre>protected org.eclipse.swt.widgets.Label[] headers</pre> |
| <div class="block">Grid headers, displaying weekday names</div> |
| </li> |
| </ul> |
| <a name="daysPanel"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>daysPanel</h4> |
| <pre>protected org.eclipse.swt.widgets.Composite daysPanel</pre> |
| <div class="block">Panel for display of day numbers</div> |
| </li> |
| </ul> |
| <a name="days"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>days</h4> |
| <pre>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.Cell</a>[] days</pre> |
| <div class="block">Days numbers cells</div> |
| </li> |
| </ul> |
| <a name="weeksPanel"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>weeksPanel</h4> |
| <pre>protected org.eclipse.swt.widgets.Composite weeksPanel</pre> |
| <div class="block">Panel for display of week numbers</div> |
| </li> |
| </ul> |
| <a name="weeks"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>weeks</h4> |
| <pre>protected <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooser.Cell</a>[] weeks</pre> |
| <div class="block">Weeks numbers cells</div> |
| </li> |
| </ul> |
| <a name="firstDayIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>firstDayIndex</h4> |
| <pre>protected int firstDayIndex</pre> |
| <div class="block">Index in the grid of the first day of displayed month</div> |
| </li> |
| </ul> |
| <a name="todayLabel"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>todayLabel</h4> |
| <pre>protected org.eclipse.swt.widgets.Label todayLabel</pre> |
| <div class="block">Today label of the footer</div> |
| </li> |
| </ul> |
| <a name="locale"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>locale</h4> |
| <pre>protected java.util.Locale locale</pre> |
| <div class="block">Locale used for localized names and formats</div> |
| </li> |
| </ul> |
| <a name="df1"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>df1</h4> |
| <pre>protected java.text.SimpleDateFormat df1</pre> |
| <div class="block">Format for the display of month and year in the header</div> |
| </li> |
| </ul> |
| <a name="df2"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>df2</h4> |
| <pre>protected java.text.DateFormat df2</pre> |
| <div class="block">Format for the today date in the footer</div> |
| </li> |
| </ul> |
| <a name="firstDayOfWeek"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>firstDayOfWeek</h4> |
| <pre>protected int firstDayOfWeek</pre> |
| <div class="block">Index of the first day of week</div> |
| </li> |
| </ul> |
| <a name="minimalDaysInFirstWeek"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>minimalDaysInFirstWeek</h4> |
| <pre>protected int minimalDaysInFirstWeek</pre> |
| <div class="block">Minimal number of days in the first week</div> |
| </li> |
| </ul> |
| <a name="resources"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>resources</h4> |
| <pre>protected java.util.ResourceBundle resources</pre> |
| <div class="block">Resources bundle</div> |
| </li> |
| </ul> |
| <a name="currentMonthCal"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>currentMonthCal</h4> |
| <pre>protected java.util.Calendar currentMonthCal</pre> |
| <div class="block">Date of 1st day of the currently displayed month</div> |
| </li> |
| </ul> |
| <a name="todayCal"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>todayCal</h4> |
| <pre>protected java.util.Calendar todayCal</pre> |
| <div class="block">The today date</div> |
| </li> |
| </ul> |
| <a name="theme"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>theme</h4> |
| <pre>protected <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="gridVisible"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gridVisible</h4> |
| <pre>protected int gridVisible</pre> |
| <div class="block">Flag to set grid visible or not</div> |
| </li> |
| </ul> |
| <a name="weeksVisible"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>weeksVisible</h4> |
| <pre>protected boolean weeksVisible</pre> |
| <div class="block">Flag to set weeks numbers visible or not</div> |
| </li> |
| </ul> |
| <a name="footerVisible"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>footerVisible</h4> |
| <pre>protected boolean footerVisible</pre> |
| <div class="block">Flag to set footer visible or not</div> |
| </li> |
| </ul> |
| <a name="navigationEnabled"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>navigationEnabled</h4> |
| <pre>protected boolean navigationEnabled</pre> |
| <div class="block">Flag to set navigation enabled or not</div> |
| </li> |
| </ul> |
| <a name="autoChangeOnAdjacent"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>autoChangeOnAdjacent</h4> |
| <pre>protected boolean autoChangeOnAdjacent</pre> |
| <div class="block">If true, change the current month if an adjacent day is clicked</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 calendar has the focus</div> |
| </li> |
| </ul> |
| <a name="focusIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>focusIndex</h4> |
| <pre>protected int focusIndex</pre> |
| <div class="block">Index of the focus in the days numbers grid</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DateChooser-org.eclipse.swt.widgets.Composite-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DateChooser</h4> |
| <pre>public DateChooser(org.eclipse.swt.widgets.Composite parent, |
| int style)</pre> |
| <div class="block">Constructs a new instance of this class given its parent and a style value |
| describing its behavior and appearance. |
| <p> |
| The calendar is initialized by default with the default Locale, and the |
| current date for today and selected date attributes.</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="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 lsnr)</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 dates selection changes. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>lsnr</code> - the listener which should be notified</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>SelectionListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#removeSelectionListener-org.eclipse.swt.events.SelectionListener-"><code>removeSelectionListener(org.eclipse.swt.events.SelectionListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="buttonsEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>buttonsEvent</h4> |
| <pre>protected void buttonsEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages navigation buttons events.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="calendarEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>calendarEvent</h4> |
| <pre>protected void calendarEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages event at the calendar level.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="changeCurrentMonth-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>changeCurrentMonth</h4> |
| <pre>protected void changeCurrentMonth(int add)</pre> |
| <div class="block">Displays a new month in the grid. The new month is specified by delta from |
| the currently displayed one.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>add</code> - delta from the current month</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearSelection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearSelection</h4> |
| <pre>public void clearSelection()</pre> |
| <div class="block">Clears the selection.</div> |
| </li> |
| </ul> |
| <a name="clearSelection-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearSelection</h4> |
| <pre>protected void clearSelection(boolean refresh)</pre> |
| <div class="block">Clears the selection. The refresh flag allows to indicate must be |
| refreshed or not.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>refresh</code> - true to refresh display, else false</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void dispose()</pre> |
| <div class="block">Disposes of the operating system resources associated with the receiver |
| and all its descendants.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>dispose</code> in class <code>org.eclipse.swt.widgets.Widget</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Widget.dispose()</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="footerEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>footerEvent</h4> |
| <pre>protected void footerEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages events on the footer label.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="forceFocus--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>forceFocus</h4> |
| <pre>public boolean forceFocus()</pre> |
| <div class="block">Forces the receiver to have the keyboard focus, causing all keyboard events |
| to be delivered to it.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>forceFocus</code> in class <code>org.eclipse.swt.widgets.Control</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the control got focus, and <code>false</code> if it was unable to.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCurrentMonth--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrentMonth</h4> |
| <pre>public java.util.Date getCurrentMonth()</pre> |
| <div class="block">Returns the current displayed month.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Date representing current month.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFirstDayOfWeek--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFirstDayOfWeek</h4> |
| <pre>public int getFirstDayOfWeek()</pre> |
| <div class="block">Gets what the first day of the week is.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the first day of the week.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGridVisible--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGridVisible</h4> |
| <pre>public int 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="getMinimalDaysInFirstWeek--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMinimalDaysInFirstWeek</h4> |
| <pre>public int getMinimalDaysInFirstWeek()</pre> |
| <div class="block">Gets what the minimal days required in the first week of the year are.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the minimal days required in the first week of the year.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelectedDate--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelectedDate</h4> |
| <pre>public java.util.Date getSelectedDate()</pre> |
| <div class="block">Returns the selected date. If calendar is in multi selection mode, the |
| first item of selection list is returned, with no guaranty of the selection |
| order by the user. |
| If no selection, return <code>null</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>selected date</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelectedDates--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelectedDates</h4> |
| <pre>public java.util.Collection<java.util.Date> getSelectedDates()</pre> |
| <div class="block">Returns all the selected dates. The collection returned is a copy of the |
| internal selection list. |
| <p> |
| |
| If the calendar is in single selection mode, it is preferable to use |
| <code>getSelectedDate</code> that returns a Date value.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Collection of selected dates</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTodayDate--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTodayDate</h4> |
| <pre>public java.util.Date getTodayDate()</pre> |
| <div class="block">Returns the today date.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>today date</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gridEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gridEvent</h4> |
| <pre>protected void gridEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages events at the grid level.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isAutoChangeOnAdjacent--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAutoChangeOnAdjacent</h4> |
| <pre>public boolean isAutoChangeOnAdjacent()</pre> |
| <div class="block">Returns the autoChangeOnAdjacent mode.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true / false</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isAutoSelectOnFooter--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAutoSelectOnFooter</h4> |
| <pre>public boolean isAutoSelectOnFooter()</pre> |
| <div class="block">Returns the autoSelectOnFooter mode.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true / false</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDateSelected-java.util.Date-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDateSelected</h4> |
| <pre>public boolean isDateSelected(java.util.Date date)</pre> |
| <div class="block">Returns <code>true</code> if the given date is selected, else returns |
| <code>false</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>date</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if selected, else <code>false</code>.</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="returnLabel">Returns:</span></dt> |
| <dd>the receiver's focus state</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>Control.isFocusControl()</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isFooterVisible--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFooterVisible</h4> |
| <pre>public boolean isFooterVisible()</pre> |
| <div class="block">Returns true if footer is visible.</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>@Deprecated |
| public boolean isGridVisible()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </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="isNavigationEnabled--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNavigationEnabled</h4> |
| <pre>public boolean isNavigationEnabled()</pre> |
| <div class="block">Returns true if navigation is enabled. If false, buttons are not visible.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Returns the navigation status.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isWeeksVisible--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isWeeksVisible</h4> |
| <pre>public boolean 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="menuEvent-org.eclipse.swt.widgets.Event-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>menuEvent</h4> |
| <pre>protected void menuEvent(org.eclipse.swt.widgets.Event event)</pre> |
| <div class="block">Manages all events of the contextual menu on the month label of the header.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>event</code> - event</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="notifySelection--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notifySelection</h4> |
| <pre>protected void notifySelection()</pre> |
| <div class="block">Sends selection event to the listeners.</div> |
| </li> |
| </ul> |
| <a name="removeSelectedDate-java.util.Date-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeSelectedDate</h4> |
| <pre>public void removeSelectedDate(java.util.Date d)</pre> |
| <div class="block">Removes the given date from the selection.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>d</code> - date to remove</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 lsnr)</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>lsnr</code> - the listener which should no longer be notified</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>SelectionListener</code>, |
| <a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.html#addSelectionListener-org.eclipse.swt.events.SelectionListener-"><code>addSelectionListener(org.eclipse.swt.events.SelectionListener)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAutoChangeOnAdjacent-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAutoChangeOnAdjacent</h4> |
| <pre>public void setAutoChangeOnAdjacent(boolean autoChangeOnAdjacent)</pre> |
| <div class="block">Sets to <code>true</code> to enable the automatic change of current month |
| when an adjacent day is clicked in the grid. |
| <p> |
| This mode is <code>true</code> by default.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>autoChangeOnAdjacent</code> - true / false</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAutoSelectOnFooter-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAutoSelectOnFooter</h4> |
| <pre>public void setAutoSelectOnFooter(boolean autoselectOnFooter)</pre> |
| <div class="block">Set the autoSelectOnFooter mode. If true, the today date is automatically |
| selected on the footer selection event. |
| This mode is <code>false</code> by default.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>autoselectOnFooter</code> - true /false</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setCurrentMonth-java.util.Date-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCurrentMonth</h4> |
| <pre>public void setCurrentMonth(java.util.Date month)</pre> |
| <div class="block">Sets a new month to display.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>month</code> - New month</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFirstDayOfWeek-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFirstDayOfWeek</h4> |
| <pre>public void setFirstDayOfWeek(int firstDayOfWeek)</pre> |
| <div class="block">Sets what the first day of the week is. |
| <p> |
| This method allows to change the default first day of the week set |
| from the locale. It must be called after <code>setLocale()</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>firstDayOfWeek</code> - the given first day of the week.</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 <em>keyboard focus</em>, |
| 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="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the control got focus, and <code>false</code> if it was unable to.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFocusOnDate-java.util.Date-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFocusOnDate</h4> |
| <pre>public void setFocusOnDate(java.util.Date date)</pre> |
| <div class="block">Sets the focus on the given date. The current displayed month is changed |
| if necessary.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>date</code> - date to set the focus on</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFocusOnToday-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFocusOnToday</h4> |
| <pre>public void setFocusOnToday(boolean autoselect)</pre> |
| <div class="block">Sets the focus on the today date. If autoselect is true, the today date |
| is selected.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>autoselect</code> - true to select automatically the today date, else false</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. |
| <p> |
| |
| The new font is applied to all elements (labels) composing the calendar. |
| The width of cells is adjusted.</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="paramLabel">Parameters:</span></dt> |
| <dd><code>font</code> - the new font (or null)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFooterVisible-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFooterVisible</h4> |
| <pre>public void setFooterVisible(boolean footerVisible)</pre> |
| <div class="block">Sets the footer 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="setGridVisible-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setGridVisible</h4> |
| <pre>@Deprecated |
| public void setGridVisible(boolean gridVisible)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> </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 void setGridVisible(int 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="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="setLocale-java.util.Locale-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLocale</h4> |
| <pre>public void setLocale(java.util.Locale locale)</pre> |
| <div class="block">Sets a new locale to use for calendar. Locale will define the names of |
| months and days, and the first day of week.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>locale</code> - new locale (must not be null)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMinimalDaysInFirstWeek-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMinimalDaysInFirstWeek</h4> |
| <pre>public void setMinimalDaysInFirstWeek(int minimalDaysInFirstWeek)</pre> |
| <div class="block">Sets what the minimal days required in the first week of the year are; For |
| example, if the first week is defined as one that contains the first day |
| of the first month of a year, call this method with value 1. If it must be |
| a full week, use value 7. |
| <p> |
| This method allows to change the default value set from the locale. |
| It must be called after <code>setLocale()</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>minimalDaysInFirstWeek</code> - the given minimal days required in the first week of the year.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setNavigationEnabled-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNavigationEnabled</h4> |
| <pre>public void setNavigationEnabled(boolean navigationEnabled)</pre> |
| <div class="block">Sets the header's navigation buttons visible or not.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>navigationEnabled</code> - true if enabled, false else</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSelectedDate-java.util.Date-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSelectedDate</h4> |
| <pre>public void setSelectedDate(java.util.Date date)</pre> |
| <div class="block">Sets the selected date. The grid is refreshed to display the corresponding |
| month.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>date</code> - new selected date (must not be null)</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 void setTheme(<a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooserTheme.html" title="class in org.eclipse.nebula.widgets.datechooser">DateChooserTheme</a> theme)</pre> |
| <div class="block">Sets the theme to apply to the calendar.</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="setTodayDate-java.util.Date-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTodayDate</h4> |
| <pre>public void setTodayDate(java.util.Date today)</pre> |
| <div class="block">Sets the today date. |
| <p> |
| |
| By default the today date is initialized to the current system date. But it |
| can be needed to adjust it for specifics needs.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>today</code> - today date (must not be null)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setWeeksVisible-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setWeeksVisible</h4> |
| <pre>public void setWeeksVisible(boolean 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/DateChooser.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/AbstractCombo.html" title="class in org.eclipse.nebula.widgets.datechooser"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/eclipse/nebula/widgets/datechooser/DateChooser.Cell.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/DateChooser.html" target="_top">Frames</a></li> |
| <li><a href="DateChooser.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><a href="#nested.class.summary">Nested</a> | </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> |