All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tea.set.YearCalA

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----tea.set.BaseA
                                           |
                                           +----tea.set.YearCalA

public class YearCalA
extends BaseA
YearCalA is an applet wrapper for YearCal. it supports the following parameters:
YearCal.YEAR1
starting year of the month range.
YearCal.MONTH1
starting month of the month range.
YearCal.YEAR2
ending year of the month range.
YearCal.MONTH2
month (inclusive) ending month of the month range.
YearCal.ROW
number of month rows.
YearCal.COL
number of month columns.
YearCal.TITLE
YearCal.TITLE
only display day matrix
YearCal.WEEK
display weekday header
YearCal.MONTH_WEEK
display month name and weekday header
YearCal.ALL
display year, month name and weekday header
YearCal.HIGHLIGHT
list of date or date range (dates separated by '-') to specify the days to highlight. The format for date is: mm/dd/yy.

See Also:
YearCal

Constructor Index

 o YearCalA()

Method Index

 o getWidget()
This method is overriden by actual applet to return the widget corresponding to this applet wrapper.
 o init()
Applet initialization method.
 o main(String[])
 o parseDate(String)
Return a Date object by parsing the string parameter.

Constructors

 o YearCalA
 public YearCalA()

Methods

 o init
 public void init()
Applet initialization method.

Overrides:
init in class Applet
 o parseDate
 public Calendar parseDate(String str)
Return a Date object by parsing the string parameter. The format is: mm/dd/yy.

 o getWidget
 public Component getWidget()
This method is overriden by actual applet to return the widget corresponding to this applet wrapper. User can use this method to access the underlying widget directly.

Returns:
YearCal widget.
Overrides:
getWidget in class BaseA
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index