Class DateTimeDialog


  • public class DateTimeDialog
    extends org.eclipse.swt.widgets.Dialog
    The date/time dialog to choose a date and/or time.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GDateTime open()
      Open the dialog.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateTimeDialog

        public DateTimeDialog​(org.eclipse.swt.widgets.Shell parent,
                              GDateTime dateTime,
                              GDateTime.Type type,
                              java.util.HashSet<GDateTime.Type> acceptedTypes)
        Create the dialog.
    • Method Detail

      • open

        public GDateTime open()
        Open the dialog.
        Returns:
        the result, or null for cancel.