[Overview] [User's Guide] [API Reference]


DatePicker Bean

User's Guide

Installation and Use

The DatePicker UI widget is distributed in a .zip file. The .zip file contains this document, a sample program, and a .jar file containing all of the files needed by the DatePicker bean. DatePicker and its support classes (DateChangedEvent and DateChangedEventListener) all go in COM.taligent.widget.

The User Interface

The user first sees a text entry field with a downward pointing arrow. It can have an initial date value. You can enter a date in two ways:

When a date is selected, a DateChangedEvent is fired from the DatePicker bean, which may be wired using the standard Java listener mechanisms. The DateChangedEvent has a getDate() method that returns a string conforming to the current mask.

The default locale's date mask is used unless the dateMask property is set on the bean. If the dateMask property is set, it will be used for input and output formatting of the date string in the bean.


Copyright © Taligent, Inc. 1996 - 1997.
Copyright © IBM Corporation 1996 - 1997.
All Rights Reserved.