|
||||||||||
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.LinkFaultDialog
public class LinkFaultDialog
This class will allow the user to link a fault to another fault. It does by means of a pop up dialog which will be displayed when the user clicks on the appropriate link on the interface
Field Summary | |
---|---|
private com.google.gwt.user.client.ui.Button |
CancelButton
This is the cancel button widget |
private int |
ChildFaultId
This is the fault id of the child fault which we will link to parent fault which will be entered by the user |
(package private) com.google.gwt.user.client.ui.DialogBox |
LinkDialog
This is the main dialog box which will be displayed |
private LabelTextBox |
ParentLinkTextEntry
This is the entry box into which the user will enter the id of the fault to which this fault will be linked to |
private com.google.gwt.user.client.ui.Button |
SubmitButton
This is the submit button widget |
Fields inherited from class GWTApplication.client.FaultDBForm |
---|
busyIndicator, internationalizationConstants, NOLENGTHCHECK, PrinterList, svc, UserAuthentication |
Constructor Summary | |
---|---|
LinkFaultDialog(FaultServiceAsync svc)
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 dialog |
void |
showLinkDialog(int ChildFaultId)
Displays the new dialog which will allow the user to link this fault with the fault specified. |
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 final com.google.gwt.user.client.ui.Button SubmitButton
private final com.google.gwt.user.client.ui.Button CancelButton
com.google.gwt.user.client.ui.DialogBox LinkDialog
private int ChildFaultId
private LabelTextBox ParentLinkTextEntry
Constructor Detail |
---|
LinkFaultDialog(FaultServiceAsync svc)
Method Detail |
---|
public void onClick(com.google.gwt.user.client.ui.Widget sender)
onClick
in interface com.google.gwt.user.client.ui.ClickListener
sender
- This is the widget which resulted in the event
being generated.public void showLinkDialog(int ChildFaultId)
ChildFaultId
- This is the id. of the fault which we will link
to the fault entered by the user should be linked to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |