JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.calendar
Interface CalendarComponent

All Known Implementing Classes:
AbstractLabel, CalendarContainer, DayTable, JCDateTimeValidator.TimeSpin, MonthPopdown, MonthSpin, MonthTable, TimeSpin, YearSpin

public interface CalendarComponent

Interface that defines the generic components of a Calendar Display/Editor. This is useful when assembling the different implementations that combine to build a single display.


Method Summary
 void addActionListener(ActionListener l)
          Adds an action listener to detect specific actions on this component.
 void removeActionListener(ActionListener l)
          Removes an action listener on this component.
 void setCalendarModel(com.klg.jclass.util.value.JCValueModel model)
          Sets the current date being used by the calendar component.
 void setLocale(Locale locale)
          Sets the locale being used by the calendar component.
 void setSpecialDates(com.klg.jclass.util.calendar.JCCalendar special_dates)
          Sets the special dates being used by the calendar component.
 

Method Detail

setCalendarModel

public void setCalendarModel(com.klg.jclass.util.value.JCValueModel model)
Sets the current date being used by the calendar component.

Parameters:
model - The new calendar value model

setSpecialDates

public void setSpecialDates(com.klg.jclass.util.calendar.JCCalendar special_dates)
Sets the special dates being used by the calendar component.

Parameters:
special_dates - The new list of special dates stored within a JCCalendar object

setLocale

public void setLocale(Locale locale)
Sets the locale being used by the calendar component.

Parameters:
locale - The new locale to be used

addActionListener

public void addActionListener(ActionListener l)
Adds an action listener to detect specific actions on this component.

Parameters:
l - The action listener to be added

removeActionListener

public void removeActionListener(ActionListener l)
Removes an action listener on this component.

Parameters:
l - The action listener to be removed

Copyright © 2004 Quest Software Inc..
All rights reserved.