gui
Class Calendar
java.lang.Object
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.
Constructor Summary |
Calendar(java.lang.String configFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Calendar
public Calendar(java.lang.String configFile)
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)