MiG InfoCom MiG Calendar Getting Started Guide User Manual
Page 20
![background image](https://www.manualsdir.com/files/798671/content/doc020.png)
MiG InfoCom AB
and add all supporting objects, such as
Decorator
s,
ActivityLayout
s and date/time rounders for activities.
There are also a whole slew of properties to change if
needed, something that can be cumbersome doing manually.
Everything that exists in the
CalendarTheme
can also be set
manually. Some objects that should be created and added
have their properties spread out over multiple properties. You
will also have to know where that object should be injected,
for instance
Header
s should be added to the
DateAreaContainer
but
ActivityLayout
s should be
added to
DefaultDateArea
.
You will have to read the
MiG Calendar Tutorial
to get to know
what objects to use and where to put them.
To create a non-themed version of the component here's
how:
DefaultDateArea dateArea = new DefaultDateArea();
DateAreaContainer container = new DateAreaContainer(dateArea);
We only see a white background. That is because we haven't
installed (added) any
Decorators
yet (or rather
GridDecorator
s, which extends the interface
Decorator
with the ability to get the
GridContainer
).
Lets add grid lines first:
MiG Calendar Getting Started Guide
Page 20 / 31
Illustration 10 Empty DateAreaContainer