|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGWTApplication.client.QuickViewReport.QuickSearchType
class QuickViewReport.QuickSearchType
This inner class describes a tab in the quick view search which will be used by the user to view a specific view on the database. The page is active in that if a fault is updated in the database behind the scenes, the information in the quick view will be updated.
Field Summary | |
---|---|
(package private) com.google.gwt.user.client.ui.Button |
collapseAllButton
This button widget will be used to collapse the details of all of the faults |
(package private) com.google.gwt.user.client.ui.Button |
openAllButton
This button will be used to open all of the details of the faults. |
int |
QuickViewType
This is the type of quick view which is associated with the quick view tab. |
(package private) com.google.gwt.user.client.ui.Button |
refreshButton
This is a button widget which will be pressed to instruct the application to refresh the display |
private SearchResultFormatter |
searchResultFormatter
This is a search formatter which will be used for formatting the data which is returned by a specific search query. |
com.google.gwt.user.client.ui.DockPanel |
SearchResultsPanel
This is the panel into which the search results are dropped. |
com.google.gwt.user.client.ui.FlexTable |
SearchResultTable
This is a table into which the results of the search will be displayed. |
int |
TabIndex
This is the tab index which is associated with this quick view tab. |
boolean |
TabInitialised
If we have initialised the quick view tab or not. |
java.lang.String |
TabLabel
This is the label which is to be associated with the quick view tab. |
(package private) boolean |
UpdateWithNewFaults
Whether to update the quick view when new faults are entered into the system |
boolean |
UseOpenAllButton
Whether or not to include the Open All button in the quick view. |
Constructor Summary | |
---|---|
QuickViewReport.QuickSearchType(java.lang.String TabLabel,
int TabIndex,
int QuickViewType,
boolean UseOpenAllButton,
boolean UpdateWithNewFaults)
Constructor |
Method Summary | |
---|---|
(package private) void |
buildQuickViewPage()
This will be used to build the quick view panel for this particular quick view tab. |
private void |
fillQuickViewPanel(int tabIndex)
This is called to update the tab with the view associated with the quick view tab. |
void |
onClick(com.google.gwt.user.client.ui.Widget sender)
This is called when the user presses the refresh button on the interface and results in the quick view in the tab panel selected being updated. |
void |
refreshResults()
This implements the interface RefreshSearchResultsListener
and will result in the quick view for the selected tab
being refreshed. |
private void |
setSearchFormatter(SearchResultFormatter searchResultFormatter)
Used to set the search formatter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean UseOpenAllButton
private SearchResultFormatter searchResultFormatter
public java.lang.String TabLabel
public int TabIndex
public int QuickViewType
public com.google.gwt.user.client.ui.FlexTable SearchResultTable
public com.google.gwt.user.client.ui.DockPanel SearchResultsPanel
public boolean TabInitialised
com.google.gwt.user.client.ui.Button refreshButton
com.google.gwt.user.client.ui.Button collapseAllButton
com.google.gwt.user.client.ui.Button openAllButton
UseOpenAllButton
attribute.
boolean UpdateWithNewFaults
Constructor Detail |
---|
QuickViewReport.QuickSearchType(java.lang.String TabLabel, int TabIndex, int QuickViewType, boolean UseOpenAllButton, boolean UpdateWithNewFaults)
TabLabel
- This is the label text which is associated with
this tab.TabIndex
- This is the index in the tab panel where to
construct this tab.QuickViewType
- This is the type of the quick
view.UseOpenAllButton
- Whether we should provide an Open
All button which can be used be the user to open all of the
faults in the quick panel simultaneously.Method Detail |
---|
private void setSearchFormatter(SearchResultFormatter searchResultFormatter)
searchResultFormatter
- This is the search result
formatter.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 is responsible for
sending this event.public void refreshResults()
RefreshSearchResultsListener
and will result in the quick view for the selected tab
being refreshed.
refreshResults
in interface RefreshSearchResultsListener
private void fillQuickViewPanel(int tabIndex)
tabIndex
- This is the tab which is to be updatedvoid buildQuickViewPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |