gui
Class Calendar

java.lang.Object
  extended by gui.Calendar

public class Calendar
extends java.lang.Object

Main class for launching the GUI. The Calendar is a speech-enabled application for accessing a meeting database. This Calendar class is a mediator and contains event-handling methods.


Field Summary
private  ApplicationState appState
           
private  CalendarConfiguration calendarConfig
          configuration object shared throughout the app
(package private)  CalendarFrame calFrame
           
private  CalendarPanel calPanel
           
private  SpeechHandler calRecHandler
           
private  StatusBar calStatusBar
           
private  TrInitGlobalProcesses globalProcs
           
static java.util.logging.Logger logger
           
private  Dialogue observableDialog
           
(package private)  java.lang.Object syncObject
           
private  Transaction transact
           
private  boolean updateRecPanelControls
           
 
Constructor Summary
Calendar(java.lang.String configFile)
           
 
Method Summary
private static void createLogFile(java.lang.String[] args, int i)
           
 void exitApp()
           
protected  ApplicationState getApplicationState()
           
protected  CalendarConfiguration getCalendarConfiguration()
           
 Dialogue getDialogue()
           
protected  Transaction getTransact()
           
private  void initServers()
           
private  void initSwingComponents()
           
static void main(java.lang.String[] args)
           
 void processRecognitionAbortRequest()
           
 void reconfigureToChangeLanguage(int languageIndex)
          Reconfigures in order to change the language (e.g.
protected  void repaintCalendarPanel()
           
protected  void setHistoryShowing(boolean show)
           
protected  void setNBestShowing(boolean show)
           
protected  void validateCalendarPanel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

updateRecPanelControls

private boolean updateRecPanelControls

logger

public static java.util.logging.Logger logger

calendarConfig

private CalendarConfiguration calendarConfig
configuration object shared throughout the app


appState

private ApplicationState appState

calFrame

CalendarFrame calFrame

calPanel

private CalendarPanel calPanel

calStatusBar

private StatusBar calStatusBar

calRecHandler

private SpeechHandler calRecHandler

globalProcs

private TrInitGlobalProcesses globalProcs

observableDialog

private Dialogue observableDialog

syncObject

java.lang.Object syncObject

transact

private Transaction transact
Constructor Detail

Calendar

public Calendar(java.lang.String configFile)
Method Detail

getTransact

protected Transaction getTransact()

initServers

private void initServers()

initSwingComponents

private void initSwingComponents()

getDialogue

public Dialogue getDialogue()

processRecognitionAbortRequest

public void processRecognitionAbortRequest()

repaintCalendarPanel

protected void repaintCalendarPanel()

validateCalendarPanel

protected void validateCalendarPanel()

getCalendarConfiguration

protected CalendarConfiguration getCalendarConfiguration()
Returns:

getApplicationState

protected ApplicationState getApplicationState()
Returns:
ApplicationState

createLogFile

private static void createLogFile(java.lang.String[] args,
                                  int i)
Parameters:
args -
i -

reconfigureToChangeLanguage

public void reconfigureToChangeLanguage(int languageIndex)
Reconfigures in order to change the language (e.g. from english to japanese).


exitApp

public void exitApp()

setHistoryShowing

protected void setHistoryShowing(boolean show)

setNBestShowing

protected void setNBestShowing(boolean show)

main

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