Home CalendarView More Java Obsolete Resume


CalendarView

Documentation Index


Introduction

This document describes the API and usage of the classes in CalendarView.

CalendarView is a collection of JAVA classes which are useful for the display of calendars. The first version, using JAVA 1.0, is available for free use. Future versions will be distributed as a package using JAVA 1.1 and transitioning to JFC. They will include better documentation and the source to a fully functional client/server date book application suitable for small businesses. These versions will be available from Odin Consulting.

CalendarView Beta 1.0 is available for free download. Click here for a JAR file containing the source code. Click here to get the JAR file containing the precompiled classes.

All versions of CalendarView 1.0 are distributed under the terms of my "LinkWare" license. Subject to the terms of this license, you are free to use CalendarView 1.0 for any purpose. All I ask is that if you redistribute copies of CalendarView 1.0 in their original or modified form, include a link or pointer to my site.


API

  • Compound Components
  • Simple Components
  • Supporting classes
  • Compound Components

    Calendar Containers

    public class CalendarView
    extends Panel
    implements DateStartListener
    public interface CalendarViewDisplay
    extends YearListener
    implemented by CalendarMonthView, CalendarWeekView, CalendarDayInteractor.
    public interface CalendarViewInteractor extends CalendarViewDisplay
    implemented by CalendarDayInteractor.
    public interface DateStartListener
    implemented by CalendarView.

    Calendar Views

    public class CalendarMonthView
    extends YetAnotherTabbedDialog
    implements CalendarViewDisplay
    public class CalendarWeekView
    extends Panel
    implements CalendarViewDisplay, ButtonListener

    Calendar Interactors

    public class CalendarDayInteractor
    extends Panel
    implements CalenderViewInteractor, ButtonListener
    public interface DayInteractorComponent
    Simple Components
    public class CalendarMonthViewDays
    extends Canvas
    public interface MonthDayHandler
    public class CalendarWeekViewDays
    extends Canvas
    public interface WeekDayHandler
    Supporting classes

    Calendar Date Class

    public class CalendarDate
    extends Date

    Tabbed Dialog Component

    public class YetAnotherTabbedDialog
    extends Panel

    Year Entry Box Component

    public class YearTextField
    extends TextField
    public interface YearListener

    Miscellaneous

    public class Box3d
    public class ButtonArrow
    extends Canvas
    public interface ButtonListener
    public class ColorHelper
    public class Months
    public class Weekdays

    To do

    These are the items that are on my to do list for CalendarView 1.1 which will be written for JAVA 1.1 using bean technology. CalendarView 1.1 will be available from Odin Consulting.

  • Formalize an interface to simple calendar view components such as CalendarWeekViewDays and CalendarMonthViewDays.
  • A subclass of a simple calendar view component should be usable by a compound calendar component. e.g. the CalendarMonthView class should be able to draw each month using a subclass of CalendarMonthViewDays.
  • Update the Javadoc comments in the source code and figure out how to get javadoc to generate HTML which I can use on this web page (images, etc.).
  • Additional views: year at a glance, day view by hours, etc.
  • Visual candy: month view with spiral binding, etc.
  • Additional interactors: week, month, day by hours, etc.
  • Useful generic implementations of the handler and interactor component interfaces.
  • Keyboard traversal.
  • For 1.2:

  • JFC.
  • Scheduling foundation classes: views and scheduling algorithms.