fr.emn.spiraclock
Class XMLSchedule

java.lang.Object
  extended by fr.emn.spiraclock.Schedule
      extended by fr.emn.spiraclock.XMLSchedule
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class XMLSchedule
extends Schedule
implements java.awt.event.ActionListener


Field Summary
 
Fields inherited from class fr.emn.spiraclock.Schedule
app, appointments, baseday, cache, cacheEnabled, common0, common1, currentQueryId, errorMessage, hour_index, hour_max, hour_min, intervalSet, loaded, mn_max, mn_min, nb_index, rday_index, rday0, rday1, res, tmn0, tmn1, view
 
Constructor Summary
XMLSchedule()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void beforeClosing()
          Subclass this method to set all schedule needed operations before application close
 Appointment[] getDayAppointments(ATime parm1)
          Subclass this method to return all appointments in the given day.
 java.lang.String getName()
          Subclass this method to return schedule name.
 java.util.Hashtable getProperties()
          Subclass this method to return all schedule properties property name (String) is the hash key and the value is an object
 void installPopupCommands(javax.swing.JPopupMenu popup)
          Gives the Schedule an opportunity to install its own popup menu commands on the spiraclock popup menu.
static void main(java.lang.String[] args)
           
 void reload()
          Subclass this method to reload all your data.
 void setProperties(java.util.Hashtable props)
          Subclass this method to set all schedule dependant properties given in parameter
 
Methods inherited from class fr.emn.spiraclock.Schedule
addChangeListener, clearCache, fireStateChanged, firstAppointment, getAppointments, getBaseDay, getView, isLoadingNeeded, nextAppointment, retreive, setBaseDay, setInterval, setView, updateView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSchedule

public XMLSchedule()
Method Detail

main

public static void main(java.lang.String[] args)

getProperties

public java.util.Hashtable getProperties()
Description copied from class: Schedule
Subclass this method to return all schedule properties property name (String) is the hash key and the value is an object

Specified by:
getProperties in class Schedule

setProperties

public void setProperties(java.util.Hashtable props)
Description copied from class: Schedule
Subclass this method to set all schedule dependant properties given in parameter

Specified by:
setProperties in class Schedule

installPopupCommands

public void installPopupCommands(javax.swing.JPopupMenu popup)
Description copied from class: Schedule
Gives the Schedule an opportunity to install its own popup menu commands on the spiraclock popup menu. Subclass this method if you want your schedule to handle user commands.

Overrides:
installPopupCommands in class Schedule

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getDayAppointments

public Appointment[] getDayAppointments(ATime parm1)
Description copied from class: Schedule
Subclass this method to return all appointments in the given day. Appointments that does not start & end the same day are NOT returned. (This method does not need to be fast).

Specified by:
getDayAppointments in class Schedule

getName

public java.lang.String getName()
Description copied from class: Schedule
Subclass this method to return schedule name.

Specified by:
getName in class Schedule

reload

public void reload()
Description copied from class: Schedule
Subclass this method to reload all your data.

Specified by:
reload in class Schedule

beforeClosing

public void beforeClosing()
Description copied from class: Schedule
Subclass this method to set all schedule needed operations before application close

Specified by:
beforeClosing in class Schedule