|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.emn.spiraclock.Schedule
ExampleSchedule
public class ExampleSchedule
Field Summary |
---|
Fields inherited from class fr.emn.spiraclock.Schedule |
---|
errorMessage |
Constructor Summary | |
---|---|
ExampleSchedule()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Occurs when an action is performed |
void |
beforeClosing()
Subclass this method to set all schedule needed operations before application close |
Appointment[] |
getDayAppointments(ATime day)
Subclass this method to return all the appointments of your schedule for ther given day |
java.lang.String |
getName()
Subclass this method to return schedule name. |
java.util.Hashtable |
getProperties()
Called by SpiraClock engine to manage local properties persistence along sessions (events colors, etc...). |
void |
installPopupCommands(javax.swing.JPopupMenu popup)
This method, called by the SpiraClock engine, allows you to install entries in the SpiraClock popup menu. |
static void |
main(java.lang.String[] args)
|
void |
reload()
subclass this method to reload all your data (from a file, or another app...) |
void |
setProperties(java.util.Hashtable props)
Called by SpiraClock engine to manage local properties. |
Methods inherited from class fr.emn.spiraclock.Schedule |
---|
addChangeListener, clearCache, fireStateChanged, firstAppointment, getAppointments, getBaseDay, getView, isLoadingNeeded, nextAppointment, retreive, setBaseDay, setInterval, updateView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExampleSchedule()
Method Detail |
---|
public java.util.Hashtable getProperties()
getProperties
in class Schedule
public void setProperties(java.util.Hashtable props)
setProperties
in class Schedule
props
- the properties loaded from the filepublic java.lang.String getName()
Schedule
getName
in class Schedule
public void beforeClosing()
Schedule
beforeClosing
in class Schedule
public void reload()
reload
in class Schedule
public Appointment[] getDayAppointments(ATime day)
getDayAppointments
in class Schedule
day
-
public void installPopupCommands(javax.swing.JPopupMenu popup)
installPopupCommands
in class Schedule
popup
- the JPopupMenu object where to add your JMenuItempublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |