Class calendar
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----calendar
- public class calendar
- extends Applet
- implements setAbleA, MouseListener
A calendar widget to choose days in trend diagrams.
-
context
-
-
D
-
-
dayName
-
-
endD
-
-
F16
-
-
F8
-
-
G
-
-
kStartD
-
-
monthName
-
-
startD
-
-
sx
-
-
sx2
-
-
sy
-
-
x
-
-
y
-
-
calendar()
-
-
getEnd()
- Returns end date as seconds since Jan 1 1970
-
getStart()
- Returns start date as seconds since Jan 1 1970
-
init()
-
-
mouseClicked(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
paint(Graphics)
-
-
setValues(long, long)
- Set start and end date from another applet.
context
AppletContext context
x
final int x
y
final int y
sx
final int sx
sy
final int sy
sx2
final int sx2
monthName
final String monthName[]
dayName
final String dayName[]
F16
final Font F16
F8
final Font F8
G
GregorianCalendar G
D
Date D
startD
Date startD
endD
Date endD
kStartD
Date kStartD
calendar
public calendar()
getStart
public long getStart()
- Returns start date as seconds since Jan 1 1970
getEnd
public long getEnd()
- Returns end date as seconds since Jan 1 1970
setValues
public void setValues(long e,
long s)
- Set start and end date from another applet.
mouseClicked
public void mouseClicked(MouseEvent evt)
mousePressed
public void mousePressed(MouseEvent evt)
mouseReleased
public void mouseReleased(MouseEvent evt)
mouseEntered
public void mouseEntered(MouseEvent evt)
mouseExited
public void mouseExited(MouseEvent evt)
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
init
public void init()
- Overrides:
- init in class Applet