dojox/calendar/Keyboard (version 1.10)

Summary

This mixin is managing the keyboard interactions on a calendar view.

See the dojox/calendar/Keyboard reference documentation for more information.

Property Summary

  • allDayKeyboardLeftRightStepsUnit used during editing of an all day event using the keyboard and the left or right keys were pressed.
  • allDayKeyboardLeftRightUnitSteps used during editing of an all day event using the keyboard and the up or down keys were pressed.
  • allDayKeyboardUpDownStepsUnit used during editing of an all day event using the keyboard and the up or down keys were pressed.
  • allDayKeyboardUpDownUnitSteps used during editing of an all day event using the keyboard and the up or down keys were pressed.
  • focusedItemThe data item that currently has the focus.
  • keyboardLeftRightStepsUnit used during editing of an event using the keyboard and the left or right keys were pressed.
  • keyboardLeftRightUnitUnit used during editing of an event using the keyboard and the left or right keys were pressed.
  • keyboardUpDownStepsSteps used during editing of an event using the keyboard and the up or down keys were pressed.
  • keyboardUpDownUnitUnit used during editing of an event using the keyboard and the up or down keys were pressed.
  • maxScrollAnimationDurationThe duration in milliseconds to scroll the entire view.
  • resizeModifier
  • showFocusShow or hide the focus graphic feedback on item renderers.
  • tabIndexOrder fields are traversed when user hits the tab key

Method Summary

Event Summary

Properties

allDayKeyboardLeftRightSteps

Unit used during editing of an all day event using the keyboard and the left or right keys were pressed. Valid values are "week", "day", "hours" "minute".

allDayKeyboardLeftRightUnit

Steps used during editing of an all day event using the keyboard and the up or down keys were pressed.

allDayKeyboardUpDownSteps

Unit used during editing of an all day event using the keyboard and the up or down keys were pressed. Valid values are "week", "day", "hours" "minute".

allDayKeyboardUpDownUnit

Steps used during editing of an all day event using the keyboard and the up or down keys were pressed.

focusedItem

The data item that currently has the focus.

keyboardLeftRightSteps

Unit used during editing of an event using the keyboard and the left or right keys were pressed.

keyboardLeftRightUnit

Unit used during editing of an event using the keyboard and the left or right keys were pressed. Valid values are "week", "day", "hours" "minute".

keyboardUpDownSteps

Steps used during editing of an event using the keyboard and the up or down keys were pressed.

keyboardUpDownUnit

Unit used during editing of an event using the keyboard and the up or down keys were pressed. Valid values are "week", "day", "hours" "minute".

maxScrollAnimationDuration

The duration in milliseconds to scroll the entire view. The scroll speed is constant when scrolling to show an item renderer.

resizeModifier
showFocus

Show or hide the focus graphic feedback on item renderers.

tabIndex

Order fields are traversed when user hits the tab key

Methods

_checkDir(dir,value)
Parameter Type Description
dir undefined
value undefined
Returns:boolean
_focusNextItem(dir)

Moves the focus to the next item in the specified direction. If there is no current child focused, the first (dir == 1) or last (dir == -1) is focused.

Parameter Type Description
dir Integer

The direction of the next child to focus.

  • 1: Move focus to the next item in the list.
  • -1: Move focus to the previous item in the list.
Returns:null
_focusNextItemImpl(dir,index,max)
Parameter Type Description
dir undefined
index undefined
max undefined
Returns:undefined | number
_handlePrevNextKeyCode(e,dir)
Parameter Type Description
e undefined
dir undefined
_isItemFocused(item)
Parameter Type Description
item undefined
Returns:boolean
_keyboardItemEditing(e,dir)
Parameter Type Description
e undefined
dir undefined
_setFocusedItemAttr(value)
Parameter Type Description
value undefined
postCreate()

Events

_onKeyDown(e)
Parameter Type Description
e undefined
onFocusChange(e)

Event dispatched when the focus has changed.

Parameter Type Description
e undefined
Error in the documentation? Can’t find what you are looking for? Let us know!