semorg.gui.util
Class CalendarControl.SWTCalendarPopup

java.lang.Object
  extended by semorg.gui.util.CalendarControl.SWTCalendarPopup
Enclosing class:
CalendarControl

private class CalendarControl.SWTCalendarPopup
extends Object

The Class SWTCalendarPopup.


Field Summary
(package private)  org.eclipse.swt.widgets.Shell popupShell
          The popup shell.
private  CalendarControl.SWTCalendar swtcal
          The calendar.
 
Constructor Summary
CalendarControl.SWTCalendarPopup()
          Instantiates a new SWT calendar popup.
 
Method Summary
 void close()
          Closes the popup shell.
 boolean isOpen()
          Checks if the popup shell is open.
 void setDate(Date date)
          Sets the date into calendar control.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

popupShell

final org.eclipse.swt.widgets.Shell popupShell
The popup shell.


swtcal

private CalendarControl.SWTCalendar swtcal
The calendar.

Constructor Detail

CalendarControl.SWTCalendarPopup

CalendarControl.SWTCalendarPopup()
Instantiates a new SWT calendar popup.

Method Detail

setDate

public void setDate(Date date)
Sets the date into calendar control.

Parameters:
date - the new date

close

public void close()
Closes the popup shell.


isOpen

public boolean isOpen()
Checks if the popup shell is open.

Returns:
true if the shell is open, false otherwise.