How things are connected – MiG InfoCom MiG Calendar JavaBeans Guide User Manual
Page 17
MiG InfoCom AB
for information about the properties.
DateSpinnerBean
This is a very customizable spinner component that holds a
date/time or a part thereof. It has a lot of properties that can
be used to set exactly how this bean should look and feel. It
can be be set to only show/edit a part of a day, say the
month, and other spinners can show/edit the other parts of
the total date. This is done by connecting the spinner to a
DateGroupConnectorBean as explained below.
DateComboBean
A simple JComboBox that holds a date/time or a part thereof.
It can be be set to only show/edit a part of a day, say the
day-of-month, and other combos can show/edit the other
parts of the total date. This is done by connecting the combo
to a DateGroupConnectorBean as explained below.
DateGroupConnectorBean
There are two main functionalities that this bean provides.
1. You can connect multiple date spinners (like
DateSpinnerBean and DateComboBean) so that they
remain synchronized and display a single date/time.
2. You can connect a DateAreaContainer (e.g.
DateAreaBean) so that a date selection in any of the
connected date spinners will set the visible date range
on the date area automatically.
PaintPanelBean
The is a bean that has nothing to do with dates or date
handling but it can be really usable in making beautiful
panels since it has a backgroundPaint property with the
advanced PaintPropertyEditor in MiG Calendar. This means
that it is easy to create JPanels with gradient or texture
backgrounds.
How Things Are Connected
DateAreaBean
There is only this one class for representing all types of views
in the JavaBean calendar component. Day(s), week(s),
MiG Calendar JavaBeans Guide
Page 17 / 45