All Superinterfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>, TethysUIComponent, TethysUIControl.TethysUIDateButton
All Known Implementing Classes:
TethysUICoreDateButtonManager

DateButton Manager.

The EventProvider fires the following events.

  • TethysUIEvent.NEWVALUE is fired when a new date value is selected.
  • TethysUIEvent.EDITFOCUSLOST is fired when the dialog is cancelled without a value being selected.
  • Method Details

    • getConfig

      OceanusDateConfig getConfig()
      Obtain the configuration.
      Returns:
      the configuration
    • getSelectedDate

      OceanusDate getSelectedDate()
      Obtain the selected Date.
      Returns:
      the selected Date
    • getEarliestDate

      OceanusDate getEarliestDate()
      Obtain the earliest Date.
      Returns:
      the earliest Date
    • getLatestDate

      OceanusDate getLatestDate()
      Obtain the latest Date.
      Returns:
      the latest Date
    • setSelectedDate

      void setSelectedDate(OceanusDate pDate)
      Set selected Date.
      Parameters:
      pDate - the selected date
    • getText

      String getText()
      Get button text.
      Returns:
      the text
    • setEarliestDate

      void setEarliestDate(OceanusDate pDate)
      Set earliest Date.
      Parameters:
      pDate - the earliest date
    • setLatestDate

      void setLatestDate(OceanusDate pDate)
      Set latest Date.
      Parameters:
      pDate - the latest date
    • allowNullDateSelection

      boolean allowNullDateSelection()
      Allow Null Date selection.
      Returns:
      true/false
    • setAllowNullDateSelection

      void setAllowNullDateSelection(boolean pAllowNullDateSelection)
      Allow null date selection. If this flag is set an additional button will be displayed allowing the user to explicitly select no date, thus setting the SelectedDate to null.
      Parameters:
      pAllowNullDateSelection - true/false
    • setShowNarrowDays

      void setShowNarrowDays(boolean pShowNarrowDays)
      Show Narrow Days. If this flag is set Days are show in narrow rather than short form.
      Parameters:
      pShowNarrowDays - true/false