fi.hut.tml.xsmiles
Class BrowserTable

java.lang.Object
  extended byfi.hut.tml.xsmiles.BrowserTable

public class BrowserTable
extends java.lang.Object

An combination of the vector and hashtable. The datastructure for holding the BWs is order.

Author:
Juha
See Also:
for more information on handling BWs

Constructor Summary
BrowserTable()
           
 
Method Summary
 void add(BrowserWindow bw)
           
 java.util.Vector getBrowsersByID(java.lang.String id)
           
 BrowserWindow getLatestBrowserWindow()
          Return a last created browser window.
 void listBrowsers()
          Print out a list of browsers
 void remove(BrowserWindow bw)
          Remove the browserWindow from table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserTable

public BrowserTable()
Method Detail

getBrowsersByID

public java.util.Vector getBrowsersByID(java.lang.String id)
Returns:
a vector containing browsers, if none found, then return null

add

public void add(BrowserWindow bw)
Parameters:
bw - Add a browserWindow to the datastructure.

remove

public void remove(BrowserWindow bw)
Remove the browserWindow from table


listBrowsers

public void listBrowsers()
Print out a list of browsers


getLatestBrowserWindow

public BrowserWindow getLatestBrowserWindow()
Return a last created browser window.

Returns:


X-Smiles 1.2