Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/widget/Calendar.js

  • Provides:

    • dojox.widget.Calendar
  • Requires:

    • dijit.Calendar in common
    • dijit._Container in common
  • dojox.widget._CalendarBase

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dijit._Container.prototype: (prototype)
      • dijit._Widget: (call)
      • dijit._Templated: (call)
      • dijit._Container: (call)
    • summary
      The Root class for all _Calendar extensions
  • dojox.widget._CalendarBase.templateString

    • type
      String
    • summary
      The template to be used to construct the widget.
  • dojox.widget._CalendarBase._views

    • type
      Array
    • summary
      The list of mixin views available on this calendar.
  • dojox.widget._CalendarBase.useFx

    • type
      Boolean
    • summary
      Specifies if visual effects should be applied to the widget.
      The default behavior of the widget does not contain any effects.
      The dojox.widget.CalendarFx package is needed for these.
  • dojox.widget._CalendarBase.widgetsInTemplate

    • type
      Boolean
    • summary
      This widget is a container of other widgets, so this is true.
  • dojox.widget._CalendarBase.value

    • type
      Date
    • summary
      The currently selected Date
  • dojox.widget._CalendarBase.constraints

    • type
      Object
  • dojox.widget._CalendarBase.footerFormat

    • type
      String
    • summary
      The date format of the date displayed in the footer.	Can be
      'short', 'medium', and 'long'
  • dojox.widget._CalendarBase.constructor

    • constructor - constructor
    • type
      Function
  • dojox.widget._CalendarBase.postMixInProperties

    • type
      Function
  • dojox.widget._CalendarBase.constraints.min

    • type
      Object
  • dojox.widget._CalendarBase.constraints.max

    • type
      Object
  • dojox.widget._CalendarBase.parseInitialValue

    • parameters:
      • value
    • type
      Function
  • dojox.widget._CalendarBase._makeDate

    • parameters:
      • value
    • returns
      new Date(value);
    • type
      Function
  • dojox.widget._CalendarBase.postCreate

    • summary
      Instantiates the mixin views
    • type
      Function
  • dojox.widget._CalendarBase.displayMonth

    • type
      Object
  • dojox.widget._CalendarBase._children

    • type
      Object
  • dojox.widget._CalendarBase._currentChild

    • type
      Number
  • dojox.widget._CalendarBase.footer.innerHTML

    • type
      String
  • dojox.widget._CalendarBase._children.0

  • dojox.widget._CalendarBase.addFx

    • parameters:
      • query
      • fromNode
    • type
      Function
  • dojox.widget._CalendarBase._isInvalidDate

    • parameters:
      • value: (typeof Date)
    • summary
      Runs various tests on the value, checking for invalid conditions
    • tags:
    • type
      Function
  • dojox.widget._CalendarBase._setValueAttr

    • parameters:
      • value: (typeof Date)
    • summary
      Set the current date and update the UI.	If the date is disabled, the selection will
      not change, but the display will change to the corresponding month.
    • type
      Function
  • dojox.widget._CalendarBase._internalValue

  • dojox.widget._CalendarBase.isDisabledDate

    • parameters:
      • date: (typeof Date)
      • locale: (typeof String)
    • summary
      May be overridden to disable certain dates in the calendar e.g. <code>isDisabledDate=dojo.date.locale.isWeekend</code>
    • type
      Function
  • dojox.widget._CalendarBase.onValueSelected

    • parameters:
      • date: (typeof Date)
    • summary
      A date cell was selected. It may be the same as the previous value.
    • type
      Function
  • dojox.widget._CalendarBase._onDateSelected

    • parameters:
      • date
      • formattedValue
      • force
    • type
      Function
  • dojox.widget._CalendarBase.onChange

    • parameters:
      • date: (typeof Date)
    • summary
      Called only when the selected date has changed
    • type
      Function
  • dojox.widget._CalendarBase.onHeaderClick

    • parameters:
      • e
    • summary
      Transitions to the next view.
    • type
      Function
  • dojox.widget._CalendarBase.goToToday

    • type
      Function
  • dojox.widget._CalendarBase._transitionVert

    • parameters:
      • direction: (typeof Number)
    • summary
      Animates the views to show one and hide another, in a
      vertical direction.
      If 'direction' is 1, then the views slide upwards.
      If 'direction' is -1, the views slide downwards.
    • type
      Function
  • dojox.widget._CalendarBase._updateTitleStyle

    • type
      Function
  • dojox.widget._CalendarBase._slideTable

    • parameters:
      • widget: (typeof String)
      • direction: (typeof Number)
      • callback: (typeof Function)
    • summary
      Animates the horizontal sliding of a table.
    • type
      Function
  • dojox.widget._CalendarBase._addView

    • parameters:
      • view
    • type
      Function
  • dojox.widget._CalendarBase.getClassForDate

    • parameters:
      • dateObject: (typeof Date)
      • locale: (typeof String)
    • returns
      String
    • summary
      May be overridden to return CSS classes to associate with the date entry for the given dateObject,
      for example to indicate a holiday in specified locale.
    • type
      Function
  • dojox.widget._CalendarBase._adjustDisplay

    • parameters:
      • part: (typeof String)
      • amount: (typeof int)
      • noSlide
    • summary
      This function overrides the base function defined in dijit.Calendar.
      It changes the displayed years, months and days depending on the inputs.
    • type
      Function
  • dojox.widget._CalendarView

    • type
      Function
    • chains:
      • dijit._Widget: (prototype)
      • dijit._Widget: (call)
    • summary
      Base implementation for all view mixins.
      All calendar views should extend this widget.
  • dojox.widget._CalendarView.headerClass

    • type
      String
  • dojox.widget._CalendarView.useHeader

    • type
      Object
  • dojox.widget._CalendarView.cloneClass

    • parameters:
      • clazz
      • n
      • before
    • summary
      Clones all nodes with the class 'clazz' in a widget
    • type
      Function
  • dojox.widget._CalendarView._setText

    • parameters:
      • node
      • text
    • summary
      Sets the text inside a node
    • type
      Function
  • dojox.widget._CalendarView.getHeader

    • summary
      Returns the header node of a view. If none exists,
      an empty DIV is created and returned.
    • type
      Function
  • dojox.widget._CalendarView.header

    • type
      Object
  • dojox.widget._CalendarView.onValueSelected

    • parameters:
      • date
    • type
      Function
  • dojox.widget._CalendarView.adjustDate

    • parameters:
      • date
      • amount
    • summary
      Adds or subtracts values from a date.
      The unit, e.g. &quot;day&quot;, &quot;month&quot; or &quot;year&quot;, is
      specified in the &quot;datePart&quot; property of the
      calendar view mixin.
    • type
      Function
  • dojox.widget._CalendarView.onDisplay

    • summary
      Stub function that can be used to tell a view when it is shown.
    • type
      Function
  • dojox.widget._CalendarView.onBeforeDisplay

    • summary
      Stub function that can be used to tell a view it is about to be shown.
    • type
      Function
  • dojox.widget._CalendarView.onBeforeUnDisplay

    • summary
      Stub function that can be used to tell
      a view when it is no longer shown.
    • type
      Function
  • dojox.widget._CalendarDay

    • type
      Function
    • summary
      Mixin for the dojox.widget.Calendar which provides
      the standard day-view. A single month is shown at a time.
  • dojox.widget._CalendarDay.parent

    • type
      Object
  • dojox.widget._CalendarDay.constructor

    • constructor - constructor
    • type
      Function
  • dojox.widget._CalendarDayView

    • type
      Function
    • chains:
      • dojox.widget._CalendarView: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dojox.widget._CalendarView: (call)
      • dijit._Templated: (call)
    • summary
      View class for the dojox.widget.Calendar.
      Adds a view showing every day of a single month to the calendar.
      This should not be mixed in directly with dojox.widget._CalendarBase.
      Instead, use dojox.widget._CalendarDay
  • dojox.widget._CalendarDayView.templateString

    • type
      String
    • summary
      The template to be used to construct the widget.
  • dojox.widget._CalendarDayView.datePart

    • type
      String
    • summary
      Specifies how much to increment the displayed date when the user
      clicks the array button to increment of decrement the view.
  • dojox.widget._CalendarDayView.dayWidth

    • type
      String
    • summary
      Specifies the type of day name to display.	&quot;narrow&quot; causes just one letter to be shown.
  • dojox.widget._CalendarDayView.postCreate

    • summary
      Constructs the calendar view.
    • type
      Function
  • dojox.widget._CalendarDayView.onDisplay

    • type
      Function
  • dojox.widget._CalendarDayView._addedFx

    • type
      Object
  • dojox.widget._CalendarDayView._onDayClick

    • parameters:
      • e
    • summary
      Executed when a day value is clicked.
    • type
      Function
  • dojox.widget._CalendarDayView._setValueAttr

    • parameters:
      • value
    • type
      Function
  • dojox.widget._CalendarDayView._populateDays

    • summary
      Fills the days of the current month.
    • type
      Function
  • dojox.widget._CalendarDayView._lastDate

  • dojox.widget._CalendarMonthYear

    • type
      Function
    • summary
      Mixin class for adding a view listing all 12
      months of the year to the dojox.widget._CalendarBase
  • dojox.widget._CalendarMonthYear.constructor

    • constructor - constructor
    • type
      Function
    • summary
      Adds a dojox.widget._CalendarMonthView view to the calendar widget.
  • dojox.widget._CalendarMonthYearView

    • type
      Function
    • chains:
      • dojox.widget._CalendarView: (prototype)
      • dijit._Templated.prototype: (prototype)
      • dojox.widget._CalendarView: (call)
      • dijit._Templated: (call)
    • summary
      A Calendar view listing the 12 months of the year
  • dojox.widget._CalendarMonthYearView.templateString

    • type
      String
    • summary
      The template to be used to construct the widget.
  • dojox.widget._CalendarMonthYearView.datePart

    • type
      String
    • summary
      Specifies how much to increment the displayed date when the user
      clicks the array button to increment of decrement the view.
  • dojox.widget._CalendarMonthYearView.displayedYears

    • type
      Number
    • summary
      The number of years to display at once.
  • dojox.widget._CalendarMonthYearView.useHeader

    • type
      bool
  • dojox.widget._CalendarMonthYearView.postCreate

    • type
      Function
  • dojox.widget._CalendarMonthYearView.monthContainer

  • dojox.widget._CalendarMonthYearView.yearContainer

  • dojox.widget._CalendarMonthYearView._decBtn

  • dojox.widget._CalendarMonthYearView._incBtn

  • dojox.widget._CalendarMonthYearView._cachedDate

    • type
      Object
  • dojox.widget._CalendarMonthYearView._setValueAttr

    • parameters:
      • value
    • type
      Function
  • dojox.widget._CalendarMonthYearView.getHeader

    • type
      Function
  • dojox.widget._CalendarMonthYearView._getMonthNames

    • parameters:
      • format
    • summary
      Returns localized month names
    • type
      Function
  • dojox.widget._CalendarMonthYearView._monthNames

    • type
      Object
  • dojox.widget._CalendarMonthYearView._populateMonths

    • summary
      Populate the month names using the localized values.
    • type
      Function
  • dojox.widget._CalendarMonthYearView._populateYears

    • parameters:
      • year
    • summary
      Fills the list of years with a range of 12 numbers, with the current year
      being the 6th number.
    • type
      Function
  • dojox.widget._CalendarMonthYearView._displayedYear

  • dojox.widget._CalendarMonthYearView._updateSelectedYear

    • type
      Function
  • dojox.widget._CalendarMonthYearView._year

    • type
      Object
  • dojox.widget._CalendarMonthYearView._updateSelectedMonth

    • type
      Function
  • dojox.widget._CalendarMonthYearView._month

    • type
      String
  • dojox.widget._CalendarMonthYearView._updateSelectedNode

    • parameters:
      • query
      • filter
    • type
      Function
  • dojox.widget._CalendarMonthYearView.onClick

    • parameters:
      • evt
    • summary
      Handles clicks on month names
    • type
      Function
  • dojox.widget._CalendarMonthYearView.onOk

    • parameters:
      • evt
    • type
      Function
  • dojox.widget._CalendarMonthYearView.onCancel

    • parameters:
      • evt
    • type
      Function
  • dojox.widget.Calendar2Pane

    • type
      Function
    • chains:
      • dojox.widget._CalendarBase: (prototype)
      • dojox.widget._CalendarDay.prototype: (prototype)
      • dojox.widget._CalendarMonthYear.prototype: (prototype)
      • dojox.widget._CalendarBase: (call)
      • dojox.widget._CalendarDay: (call)
      • dojox.widget._CalendarMonthYear: (call)
    • summary
      A Calendar withtwo panes, the second one
      containing both month and year
  • dojox.widget.Calendar

    • type
      Function
    • chains:
      • dojox.widget._CalendarBase: (prototype)
      • dojox.widget._CalendarDay.prototype: (prototype)
      • dojox.widget._CalendarMonthYear.prototype: (prototype)
      • dojox.widget._CalendarBase: (call)
      • dojox.widget._CalendarDay: (call)
      • dojox.widget._CalendarMonthYear: (call)
    • summary
      The standard Calendar. It includes day and month/year views.
      No visual effects are included.
  • dojox.widget.DailyCalendar

    • type
      Function
    • chains:
      • dojox.widget._CalendarBase: (prototype)
      • dojox.widget._CalendarDay.prototype: (prototype)
      • dojox.widget._CalendarBase: (call)
      • dojox.widget._CalendarDay: (call)
    • summary
      A calendar withonly a daily view.
  • dojox.widget.DailyCalendar._makeDate

    • parameters:
      • value
    • type
      Function
  • dojox.widget.MonthAndYearlyCalendar

    • type
      Function
    • chains:
      • dojox.widget._CalendarBase: (prototype)
      • dojox.widget._CalendarMonthYear.prototype: (prototype)
      • dojox.widget._CalendarBase: (call)
      • dojox.widget._CalendarMonthYear: (call)
    • summary
      A calendar withonly a daily view.
  • dojox.widget

    • type
      Object
  • dojox

    • type
      Object