gate.cow.gwt.client
Class Upload

java.lang.Object
  extended by gate.cow.gwt.client.Upload
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint, com.google.gwt.user.client.HistoryListener, EventListener

public class Upload
extends Object
implements com.google.gwt.core.client.EntryPoint, com.google.gwt.user.client.HistoryListener

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.


Constructor Summary
Upload()
           
 
Method Summary
static void clear(com.google.gwt.user.client.Element parent)
          Removes all of the element's children.
 void onHistoryChanged(String s)
          Called when a GWT link is clicked.
 void onModuleLoad()
          Called when the javascript file is loaded in a web page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Upload

public Upload()
Method Detail

onModuleLoad

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

Specified by:
onModuleLoad in interface com.google.gwt.core.client.EntryPoint

onHistoryChanged

public void onHistoryChanged(String s)
Called when a GWT link is clicked.

Specified by:
onHistoryChanged in interface com.google.gwt.user.client.HistoryListener
Parameters:
s - anchor value of the link

clear

public static void clear(com.google.gwt.user.client.Element parent)
Removes all of the element's children.

Parameters:
parent - a DOM element
Throws:
IllegalArgumentException - if parent is null