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
-
YearCalA()
-
-
getWidget()
- This method is overriden by actual applet to return the
widget corresponding to this applet wrapper.
-
init()
- Applet initialization method.
-
main(String[])
-
-
parseDate(String)
- Return a Date object by parsing the string parameter.
YearCalA
public YearCalA()
init
public void init()
- Applet initialization method.
- Overrides:
- init in class Applet
parseDate
public Calendar parseDate(String str)
- Return a Date object by parsing the string parameter. The format
is: mm/dd/yy.
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
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index