GWTApplication.client
Class QuickHelpDialog

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by GWTApplication.client.FaultDBForm
                  extended by GWTApplication.client.QuickHelpDialog
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.ClickListener

public class QuickHelpDialog
extends FaultDBForm
implements com.google.gwt.user.client.ui.ClickListener

This class will be used to display quick help which is associated with the system.

Version:
$Id: QuickHelpDialog.java,v 1.1 2007/12/17 12:26:56 cb Exp $
Author:
Craige Bevil

Field Summary
private  com.google.gwt.user.client.ui.Button CancelButton
          This is the cancel button widget
(package private)  com.google.gwt.user.client.ui.DialogBox HelpDialog
           
private  com.google.gwt.user.client.ui.Frame helpFrame
          This is the frame which will hold the help information
private  java.lang.String helpURL
          This the URL of the page which contains the help information
 
Fields inherited from class GWTApplication.client.FaultDBForm
busyIndicator, internationalizationConstants, NOLENGTHCHECK, PrinterList, svc, UserAuthentication
 
Constructor Summary
QuickHelpDialog(java.lang.String helpURL)
          Constructor
 
Method Summary
 void onClick(com.google.gwt.user.client.ui.Widget sender)
          This is the click handler which is called when the user calls presses one of the buttons on the print dialog.
 void showHelpDialog()
          Displays the new quick help dialog to the user
 
Methods inherited from class GWTApplication.client.FaultDBForm
createEmailLink, fillListBoxWithCurrentInstruments, fillListBoxWithDutyTechnicians, fillListBoxWithFaultType, fillListBoxWithInstruments, fillListBoxWithSeverity, fillListBoxWithSites, fillListBoxWithStaffMembers, fillListBoxWithStates, fillListBoxWithSupportAstronomers, fillListBoxWithSystems, fillListBoxWithTelescopeOperators, getCurrentDate, getCurrentTime, getFullUserNameFromEmailAddress, selectDefaultListOption, setSelectedItemInListbox, stringContainsText, verifyDateFormat, verifyDateNotInFuture, verifyText, verifyTimeFormat
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getElement, getWidget, initWidget, isAttached, onAttach, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

helpURL

private java.lang.String helpURL
This the URL of the page which contains the help information


helpFrame

private com.google.gwt.user.client.ui.Frame helpFrame
This is the frame which will hold the help information


CancelButton

private final com.google.gwt.user.client.ui.Button CancelButton
This is the cancel button widget


HelpDialog

com.google.gwt.user.client.ui.DialogBox HelpDialog
Constructor Detail

QuickHelpDialog

QuickHelpDialog(java.lang.String helpURL)
Constructor

Method Detail

onClick

public void onClick(com.google.gwt.user.client.ui.Widget sender)
This is the click handler which is called when the user calls presses one of the buttons on the print dialog. He can either press the print button or the cancel button.

Specified by:
onClick in interface com.google.gwt.user.client.ui.ClickListener
Parameters:
sender - This is the widget which created the event.

showHelpDialog

public void showHelpDialog()
Displays the new quick help dialog to the user