Groovy Documentation

java.gate.cow.gwt.client
Class Upload

java.lang.Object
  java.gate.cow.gwt.client.Upload
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint

class Upload

GUI for uploading a file to the server. Get information from the server with javascript variables in the show view and receive messages from PageService upload action.


Field Summary
private String uploadLink

private VerticalPanel vPanel

 
Constructor Summary
Upload()

 
Method Summary
static void clear(Element parent)

Removes all of the element's children.

private String getUploadLink()

Get the value of the uploadLink javascript variable.

void onHistoryChanged(String s)

Called when a GWT link is clicked.

void onModuleLoad()

Called when the javascript file is loaded in a web page.

private void setLocation(String location)

Set the location of the current web page and thus leave this module.

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Field Detail

uploadLink

private String uploadLink


vPanel

private VerticalPanel vPanel


 
Constructor Detail

Upload

Upload()


 
Method Detail

clear

public static void clear(Element parent)
Removes all of the element's children.
param:
parent a DOM element
throws:
IllegalArgumentException if parent is null


getUploadLink

private String getUploadLink()
Get the value of the uploadLink javascript variable.
return:
value of the uploadLink javascript variable.


onHistoryChanged

public void onHistoryChanged(String s)
Called when a GWT link is clicked.
param:
s anchor value of the link


onModuleLoad

public void onModuleLoad()
Called when the javascript file is loaded in a web page.


setLocation

private void setLocation(String location)
Set the location of the current web page and thus leave this module.
param:
location url of the new web page to load


 

Groovy Documentation