|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGWTApplication.client.SearchResultFormatter.DisplayFullFault
private class SearchResultFormatter.DisplayFullFault
Inner class which will be used to display the full fault history as the user clicks on a disclosure widget header and opens it for the first time.
Field Summary | |
---|---|
private BusyIndicator |
busyIndicator
This will be used to display whether or not we are busy or not |
private FaultEntryDetails |
faultHistory
Contains the full history of the fault |
private int |
FaultNumber
This is the defect number which is associated with the fault |
(package private) int |
noOfSubTasksCompleted
Whether or not we have the fault information for this fault |
private com.google.gwt.user.client.ui.DisclosurePanel |
panel
This is the panel into which we are to put the result once they arrive from the servlet |
private boolean |
panelInitialised
If the panel has been initialised |
Constructor Summary | |
---|---|
SearchResultFormatter.DisplayFullFault(int FaultNumber)
This is the constructor for the class. |
Method Summary | |
---|---|
(package private) int |
convertTimeToMinutes(java.lang.String TimeAmount)
Used to convert the HH:MM field into minutes expressed as an integer. |
(package private) void |
createFaultDisclosurePanelContent()
This method will be called to generate the disclosure content panel which contains the full details of the fault which is displayed when the user clicks upon the arrow icon in the disclosure panel in the display. |
private void |
getFaultDetails()
This method will be used to get the full details of this fault back from the database and then display them in the content panel of the disclosure panel which is associated with this fault. |
void |
onClose(com.google.gwt.user.client.ui.DisclosureEvent event)
Don't do anything when the disclosure panel is closed by the user. |
void |
onOpen(com.google.gwt.user.client.ui.DisclosureEvent event)
Called when the user opens the disclosure box and results in the data being extracted from the database and displayed within the disclosure box. |
void |
setPanelInitialised(boolean State)
Sets the state of the disclosure panel and whether it is initialied or not |
void |
updateDisclosurePanel(FaultEntryDetails faultHistory)
This will be called with the details of the updated fault history and will result in the details in the disclosure panel being updated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private BusyIndicator busyIndicator
private FaultEntryDetails faultHistory
int noOfSubTasksCompleted
private int FaultNumber
private com.google.gwt.user.client.ui.DisclosurePanel panel
private boolean panelInitialised
Constructor Detail |
---|
SearchResultFormatter.DisplayFullFault(int FaultNumber)
Method Detail |
---|
public void onOpen(com.google.gwt.user.client.ui.DisclosureEvent event)
onOpen
in interface com.google.gwt.user.client.ui.DisclosureHandler
public void setPanelInitialised(boolean State)
State
- The state of the panelvoid createFaultDisclosurePanelContent()
int convertTimeToMinutes(java.lang.String TimeAmount)
TimeAmount
- Time expressed in HH:MM
public void onClose(com.google.gwt.user.client.ui.DisclosureEvent event)
onClose
in interface com.google.gwt.user.client.ui.DisclosureHandler
DisclosureEvent
- The type of event.private void getFaultDetails()
public void updateDisclosurePanel(FaultEntryDetails faultHistory)
faultHistory
- Containsthe details of the fault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |