View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gwui;
7   
8   import java.net.URL;
9   
10  /***
11     Interface to let components of the GWUI access a browser.
12   */
13  public interface Browser {
14      /***
15         Open the document with the given URL.
16       */
17      void showDocument(URL url);
18      /***
19         Open the document with the given URL in a window or frame with the specified name.
20       */
21      void showDocument(URL url, String target);
22  }