Sydney

Class DatePickerList

Object
   |
   +--Widget
         |
         +--Container
               |
               +--DatePickerList

class DatePickerList
extends Container

Raises:

change
Returns the date value of the list or null if invalid.
Defined in date_picker_list.js


Nested Class Summary
<static class> DatePickerList.ContentProvider
<static class> DatePickerList.LabelProvider
 
Field Summary
<static>  var monthNamesLong
          
   
Fields inherited from class Container
children
   
Fields inherited from class Widget
html, id, parent, layoutData, eventTable
 
Constructor Summary
DatePickerList (<boolean> allowNull, <Date> date)
            Date-Picker widget using drop-down list controls.
 
Method Summary
 void _updateDayList(<int> year, <int> month)
           Updates the day picker to have as many days as month month has in year year.
 Date getDate()
           Get the date value of the date picker.
 boolean isNull()
           Checks to see if the current value is invalid.
 void layout(<boolean> flushCache)
           Causes the widget to redraw itself and any children it may have.
 void setDate(date)
           Set the date value of the date picker.
 void setYearInterval(<int> minYear, <int> maxYear)
           Sets the range of years that is displayed in the year picker.
 
Methods inherited from class Container
appendChild, clear, contains, insertAfter, insertAt, insertBefore, isEmpty, prependChild, removeChild, replaceChild, setLayout, setEnabled
   
Methods inherited from class Widget
installContextMenu, installDefaultContextMenu, uninstallContextMenu, isDraggable, setDraggable, addEventListener, blur, createEventTable, dispose, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getBottom, getBounds, getClientHeight, getClientWidth, getCorner, getHeight, getLeft, getPixelsPerEm, getRight, getToolTip, getTop, getWidth, isDisposed, isEnabled, moveToAbsolute, moveTo, raiseEvent, registerEventType, removeEventListener, setAbsoluteBottom, setAbsoluteLeft, setAbsoluteRight, setAbsoluteTop, setBottom, setBounds, setHeight, setLeft, setRight, setToolTip, setTop, setWidth, setParent, toString
 

Field Detail

monthNamesLong

<static> var monthNamesLong

Constructor Detail

DatePickerList

function DatePickerList(<boolean> allowNull, <Date> date)
Method Detail

_updateDayList

void _updateDayList(<int> year, <int> month)

getDate

Date getDate()

isNull

boolean isNull()

layout

void layout(<boolean> flushCache)

setDate

void setDate(date)

setYearInterval

void setYearInterval(<int> minYear, <int> maxYear)

Sydney

SourceForge.net Logo