|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mayo.bsi.ngsportal.client.NGSPortalDashboard
public class NGSPortalDashboard
Entry point classes define onModuleLoad ().
| Field Summary | |
|---|---|
static int |
kLogLevelDebug
Display some debugging info |
static int |
kLogLevelLogAllMessages
Display an excessive amount of debugging info |
static int |
kLogLevelLogDeepDebug
Display more debugging info |
static int |
kLogLevelLogInfo
Normal Level |
| Constructor Summary | |
|---|---|
NGSPortalDashboard()
|
|
| Method Summary | |
|---|---|
void |
didLogin(ConnectionResponse result)
|
static com.google.gwt.user.client.ui.Widget |
getBigSpacer()
Return a big spacer to divide up sections |
static com.google.gwt.user.client.ui.Widget |
getSpacer()
Return a spacer to keep things from being too close |
boolean |
handleStringListResults(String callback,
List<String> result)
Handle the results of a call to the server that returns a list of Strings |
void |
LogData(String newText,
int level)
Routine to Log data, and display it for the users. |
void |
lostConnection()
Called when the connection has been lost, so can re-open it |
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event)
|
void |
onFailure(Throwable caught)
|
void |
onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
|
void |
onModuleLoad()
This is the entry point method. |
void |
onSuccess(ConnectionResponse response)
Called after the client has received encryption information from the server |
void |
showAlert(String title,
String message,
com.google.gwt.user.client.Command followUp)
Show a Alert with a title and message, and possible a command to execute when the alert is dismissed |
void |
showAnalysisResults(List<AnalysisInfo> results)
Clear out the old analysis results and then display the new results from the server. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int kLogLevelLogInfo
public static final int kLogLevelDebug
public static final int kLogLevelLogDeepDebug
public static final int kLogLevelLogAllMessages
| Constructor Detail |
|---|
public NGSPortalDashboard()
| Method Detail |
|---|
public void onModuleLoad()
onModuleLoad in interface com.google.gwt.core.client.EntryPointpublic void onKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
onKeyPress in interface com.google.gwt.event.dom.client.KeyPressHandlerpublic void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick in interface com.google.gwt.event.dom.client.ClickHandlerpublic void onFailure(Throwable caught)
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<ConnectionResponse>public void onSuccess(ConnectionResponse response)
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<ConnectionResponse>
public void showAlert(String title,
String message,
com.google.gwt.user.client.Command followUp)
title - title for the Alert boxmessage - Message for the userfollowUp - Command to execute after the user dismisses the alert, or null if no commandpublic static final com.google.gwt.user.client.ui.Widget getSpacer()
public static final com.google.gwt.user.client.ui.Widget getBigSpacer()
public void LogData(String newText,
int level)
newText - Text to add to the Log TextFieldlevel - Log level. The lower the level, the more likely it is to get logged.public void showAnalysisResults(List<AnalysisInfo> results)
results - Results of the latest search
public boolean handleStringListResults(String callback,
List<String> result)
callback - String detailing which function was calledresult - Results of the function call, a list of Strings
public void lostConnection()
public void didLogin(ConnectionResponse result)
result - The Connection response returned by the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||