|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
GWTApplication.client.FaultDBForm
GWTApplication.client.FaultAddition
abstract class FaultAddition
This is a base class will be used to generate a tab at the bottom of the fault modification form to allow them to create additions to a fault. This is essentially a base class for the classes which can be used to create workarounds, solutions and comments which can be added to a fault.
The class makes extensive use of the google web toolkit.
Field Summary | |
---|---|
protected LabelListBox |
EnteredBy
The user will enter the name of the person which made the fault addition into this field |
protected com.google.gwt.user.client.ui.FlexTable |
FaultAdditionTable
This is the table into which we will pack all of these widgets which will be used to enter the data |
protected com.jpavel.gwt.wysiwyg.client.Editor |
FaultAdditionText
This is the text area into which the user will enter the details of the text addition |
protected int |
FaultNumber
This is the fault number which is associated with this fault addition |
protected FaultUpdatedListener |
faultUpdateListener
This is a listener which is called when we save the fault |
protected LabelTextBox |
TimeSpent
The user will enter the amount of time spent on this addition to the fault |
protected AuthenticationDetails |
userAuthentication
The details of the user authentication |
Fields inherited from class GWTApplication.client.FaultDBForm |
---|
busyIndicator, internationalizationConstants, NOLENGTHCHECK, PrinterList, svc, UserAuthentication |
Constructor Summary | |
---|---|
FaultAddition(int FaultNumber,
FaultServiceAsync svc,
InternationalizationConstants internationalizationConstants,
AuthenticationDetails userAuthentication,
FaultUpdatedListener faultUpdateListener)
Constructor for the fault addition tab in the modify fault form |
Method Summary | |
---|---|
(package private) abstract void |
resetFormToDefaultValues()
Reset the contents of the fault addition form to what is current stored in the database for this fault addition. |
(package private) abstract void |
saveFormContentsToDatabase()
Save the contents of the fault addition form to the database. |
(package private) abstract void |
setFormDefaultValues()
An abstract method which should be provided by the subclass which will allow for the fields in the form to be initialised to their default values. |
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 |
---|
protected FaultUpdatedListener faultUpdateListener
protected int FaultNumber
protected com.google.gwt.user.client.ui.FlexTable FaultAdditionTable
protected com.jpavel.gwt.wysiwyg.client.Editor FaultAdditionText
protected LabelListBox EnteredBy
protected LabelTextBox TimeSpent
protected AuthenticationDetails userAuthentication
Constructor Detail |
---|
FaultAddition(int FaultNumber, FaultServiceAsync svc, InternationalizationConstants internationalizationConstants, AuthenticationDetails userAuthentication, FaultUpdatedListener faultUpdateListener)
FaultNumber
- This is the number of the defect report
which this fault addition is associated with.svc
- A conduit to the servlet containerinternationalizationConstants
- This is used for
internationalization so we can display the interface in English
and SpanishuserAuthentication
- The details of the user
authentication.faultUpdateListener
- This is a listener object which is
to be informed when the fault changes.Method Detail |
---|
abstract void setFormDefaultValues()
abstract void saveFormContentsToDatabase()
abstract void resetFormToDefaultValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |