com.std.controller
Class CalendarController

java.lang.Object
  extended by com.std.controller.CalendarController

public class CalendarController
extends java.lang.Object


Field Summary
static java.text.SimpleDateFormat DATE_FORMAT
           
 
Constructor Summary
CalendarController()
           
 
Method Summary
static boolean badDate()
           
static void changeAppointmentDescription(java.lang.String s)
           
static void changeAppointmentEndDate(java.lang.String s)
           
static void changeAppointmentStartDate(java.lang.String s)
           
static void changeAppointmentTitle(java.lang.String s)
           
static javax.swing.event.DocumentListener getAppointmentDescriptionDocumentListener()
           
static javax.swing.event.DocumentListener getAppointmentEndDateDocumentListener()
           
static javax.swing.event.DocumentListener getAppointmentStartDateDocumentListener()
           
static javax.swing.event.DocumentListener getAppointmentTitleDocumentListener()
           
static java.awt.event.ActionListener getLoadActionListener()
           
static java.awt.event.ActionListener getLoadNewActionListener()
           
static CalendarModel getModel()
           
static java.awt.event.ActionListener getNewAppointmentActionListener()
           
static java.awt.event.ActionListener getReloadActionListener()
           
static java.awt.event.ActionListener getRemoveAppointmentActionListener()
           
static java.awt.event.ActionListener getSaveActionListener()
           
static java.awt.event.ActionListener getSaveAsActionListener()
           
static CalendarView getView()
           
static void handleException(java.lang.Throwable t)
           
static void load()
           
static void loadNew()
           
static void newAppointment()
           
static ObservableEvent onBadDate()
           
static void reload()
           
static void removeAppointment()
           
static void save()
           
static void saveAs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public static final java.text.SimpleDateFormat DATE_FORMAT
Constructor Detail

CalendarController

public CalendarController()
Method Detail

getModel

public static CalendarModel getModel()

getView

public static CalendarView getView()

badDate

public static boolean badDate()

onBadDate

public static ObservableEvent onBadDate()

save

public static void save()
                 throws java.io.IOException
Throws:
java.io.IOException

saveAs

public static void saveAs()
                   throws java.io.IOException
Throws:
java.io.IOException

load

public static void load()
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

reload

public static void reload()
                   throws java.io.IOException,
                          java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

loadNew

public static void loadNew()
                    throws java.io.IOException
Throws:
java.io.IOException

newAppointment

public static void newAppointment()

removeAppointment

public static void removeAppointment()

changeAppointmentTitle

public static void changeAppointmentTitle(java.lang.String s)

changeAppointmentStartDate

public static void changeAppointmentStartDate(java.lang.String s)

changeAppointmentEndDate

public static void changeAppointmentEndDate(java.lang.String s)

changeAppointmentDescription

public static void changeAppointmentDescription(java.lang.String s)

handleException

public static void handleException(java.lang.Throwable t)

getSaveActionListener

public static java.awt.event.ActionListener getSaveActionListener()

getSaveAsActionListener

public static java.awt.event.ActionListener getSaveAsActionListener()

getLoadActionListener

public static java.awt.event.ActionListener getLoadActionListener()

getReloadActionListener

public static java.awt.event.ActionListener getReloadActionListener()

getLoadNewActionListener

public static java.awt.event.ActionListener getLoadNewActionListener()

getNewAppointmentActionListener

public static java.awt.event.ActionListener getNewAppointmentActionListener()

getRemoveAppointmentActionListener

public static java.awt.event.ActionListener getRemoveAppointmentActionListener()

getAppointmentTitleDocumentListener

public static javax.swing.event.DocumentListener getAppointmentTitleDocumentListener()

getAppointmentStartDateDocumentListener

public static javax.swing.event.DocumentListener getAppointmentStartDateDocumentListener()

getAppointmentEndDateDocumentListener

public static javax.swing.event.DocumentListener getAppointmentEndDateDocumentListener()

getAppointmentDescriptionDocumentListener

public static javax.swing.event.DocumentListener getAppointmentDescriptionDocumentListener()