|
||||||||||
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
GWTApplication.client.FaultComment
class FaultComment
This class will be used to generate a tab at the bottom of the fault modification form which will allow the user to attached to the fault the details of a comment which he has entered. The class makes extensive use of the google web toolkit.
Field Summary | |
---|---|
private Comment |
CurrentCommentDetails
This contains the details of the current comment if there is one currently entered into the database against the current fault |
Fields inherited from class GWTApplication.client.FaultAddition |
---|
EnteredBy, FaultAdditionTable, FaultAdditionText, FaultNumber, faultUpdateListener, TimeSpent, userAuthentication |
Fields inherited from class GWTApplication.client.FaultDBForm |
---|
busyIndicator, internationalizationConstants, NOLENGTHCHECK, PrinterList, svc, UserAuthentication |
Constructor Summary | |
---|---|
FaultComment(int FaultNumber,
FaultServiceAsync svc,
InternationalizationConstants internationalizationConstants,
AuthenticationDetails userAuthentication,
FaultUpdatedListener faultUpdateListener)
Constructor for the fault comment tab in the modify fault form |
Method Summary | |
---|---|
(package private) void |
resetFormToDefaultValues()
Reset the form to the values which are determined the default values which have been entered for the comment by the user. |
void |
saveFormContentsToDatabase()
Save the contents of the fault comment which has been added by the user to the database |
(package private) void |
setFormDefaultValues()
This will be used to set the default values which are associated with the fault addition. |
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 |
---|
private Comment CurrentCommentDetails
Constructor Detail |
---|
FaultComment(int FaultNumber, FaultServiceAsync svc, InternationalizationConstants internationalizationConstants, AuthenticationDetails userAuthentication, FaultUpdatedListener faultUpdateListener)
FaultNumber
- This is the number of the defect report
which this comment is associated with.svc
- This is an object which can be used to invoke remote
calls on the servlet.internationalizationConstants
- Used for
internationalization.userAuthentication
- This contains the details of the
authentication which was performed by the user.faultUpdateListener
- This is a listener object which will be called when the fault which is associated with this comment is updated in the database.Method Detail |
---|
public void saveFormContentsToDatabase()
saveFormContentsToDatabase
in class FaultAddition
void setFormDefaultValues()
setFormDefaultValues
in class FaultAddition
void resetFormToDefaultValues()
resetFormToDefaultValues
in class FaultAddition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |