DateChooser is a JavaBeans library with swing components for date selection.
It contains 3 datepicker beans: the panel, combo editor and the dialog window.
All components support visual property customization without any IDE.
Data. You can use components to select one date, the period or
several periods. It is possible to limit selection
opportunities (for example you can allow only
one date or period selection). Additional bounding properies are presented:
minimal and maximal dates, forbidden dates or periods.
Controls. Use arrows to move day cursor,
PgUp/PgDown to change months, Home/End for year selection. To select several dates
you can use mouse drag or click on cells with Ctrl
and-or Shift buttons pressed. Space key may be used for cell selection too. With Alt button pressed
you can use mouse click to move cursor to the need position without date selection.
Appearance customization. Appearance profiles of two types are used here:
Swing and Custom. Swing has a small amount of parameters, and its main aim
is that the component with such appearance looks naturally within standart swing interface.
Table cell editors and renderers
Use methods bean.createTableCellEditor and bean.createTableCellRenderer
to convert existing bean into TableCellXXX
Visual editors for all properties are presented. If IDE does not support visual
components customization, it is possible to run library file (DateChooser.jar)
and configue need components by means of visual editors (the component also
is displayed taking into account all changes you have made). This changes could be saved
to the file and then loaded by means of using a special service class (PermanentBean)
Universal customizer classes are presented (DateCooserXXXCusomizer). They work only on the
basis of the analysis the BeanInfo classes. So this customizers can be used
for other beans.
Localization. The component supports all dates localizations presented in
JDK. The user editors and properties descriptions are localized
for two languages: Russian and English. Javadoc both in english and russian is presented.