GWTApplication.client
Class ModifyFormPanel

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.ModifyFormPanel
All Implemented Interfaces:
com.google.gwt.user.client.EventListener

 class ModifyFormPanel
extends FaultDBForm

This class is used to create a tab into which panels are placed from where the user can modify faults. Each tab associated with this tab will have associated with it a defect fault report number.

Version:
$Id: ModifyFormPanel.java,v 1.8 2008/01/15 11:08:15 cb Exp $
Author:
Craige Bevil

Field Summary
private  com.google.gwt.user.client.ui.TabPanel MainTabPanel
          This is the main tab panel
(package private)  com.google.gwt.user.client.ui.TabPanel ModifyFaultTabs
          This is a tab widget which will contain a series of tabs each one containing the details of a fault which has been requested to be modified
 
Fields inherited from class GWTApplication.client.FaultDBForm
busyIndicator, internationalizationConstants, NOLENGTHCHECK, PrinterList, svc, UserAuthentication
 
Constructor Summary
ModifyFormPanel(com.google.gwt.user.client.ui.TabPanel MainTabPanel, FaultServiceAsync svc, AuthenticationDetails UserAuthentication)
           
 
Method Summary
 void addNewFaultTab(int FaultNumber)
          This is used to create a new tab panel which will be used to modify the fault which has been specified
 int getNumberOfFaultsBeingEdited()
          Returns the number of faults being edited
 boolean isFaultBeingEdited(int faultId)
          Reports whether the fault specified is being edited or not.
 
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

MainTabPanel

private final com.google.gwt.user.client.ui.TabPanel MainTabPanel
This is the main tab panel


ModifyFaultTabs

final com.google.gwt.user.client.ui.TabPanel ModifyFaultTabs
This is a tab widget which will contain a series of tabs each one containing the details of a fault which has been requested to be modified

Constructor Detail

ModifyFormPanel

ModifyFormPanel(com.google.gwt.user.client.ui.TabPanel MainTabPanel,
                FaultServiceAsync svc,
                AuthenticationDetails UserAuthentication)
Method Detail

getNumberOfFaultsBeingEdited

public int getNumberOfFaultsBeingEdited()
Returns the number of faults being edited

Returns:
The number of faults which are being edited.

isFaultBeingEdited

public boolean isFaultBeingEdited(int faultId)
Reports whether the fault specified is being edited or not.

Parameters:
faultId - The fault identifier of the fault to be checked

addNewFaultTab

public void addNewFaultTab(int FaultNumber)
This is used to create a new tab panel which will be used to modify the fault which has been specified

Parameters:
FaultNumber - This is the number of the fault which is to be presented to the user for modification.