Mig-infocom MiG Calendar Getting Started Guide Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 31
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 29
MiG InfoCom AB
OccupiedDecorator – Merges the date ranges for the
ActivityViews and draws/fills the background, or some of
it, for when there is at least on if them.
There are currently about 20 decorators, though some are
abstract. It is also very easy to write you own since getting
the positions for dates/cells is trivial courtesy of the
DateGrid object.
Getting and Setting Properties
Generally the MiG Calendar component follows the standard
get/set pattern. Since DateArea, or probably more often the
DefaultDateArea, is normally contained by a
DefaultDateContainer its properties will not be shown in
a RAD (Rapid Application Development) IDE. You will have to
manually get the DateArea with a call like this:
DateArea dateArea = container.getDateArea();
The dateArea object is the one that contains most
properties to change. See the MiG Calendar Technical
Specification for a list of the properties. Since the
DateAreaContainer is almost always used as the container
to host a DateArea and Headers it is like it is the object you
will need a reference to to get a hold of other important
objects.
The DateArea also contains another important object, the
DateGrid. It contains the information on how to convert
between cells, dates/times and pixel positions. It contains a
lot of convenience methods for this.
Deploying applications with the component
The only file you need is migcalendar.jar . You might
have to include whatever themes you have made and
possible AShape XML files as well, but that is completely
depending on you particular setup.
It is important that you read the license agreement that is
included with this component as it contains information of
what you as a customers can and can not do.
MiG Calendar Getting Started Guide Page 30 / 31
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31

Komentarze do niniejszej Instrukcji

Brak uwag