org.jdesktop.wonderland.client.content
Class ContentBrowserManager

java.lang.Object
  extended by org.jdesktop.wonderland.client.content.ContentBrowserManager

public class ContentBrowserManager
extends java.lang.Object

Manages a collection of graphical browsers that display the resources within a content repository somewhere. This manager currently only supports a single content browser in the system.

Author:
Jordan Slott

Method Summary
static ContentBrowserManager getContentBrowserManager()
          Returns a single instance of this class
 ContentBrowserSPI getDefaultContentBrowser()
          Returns the defualt system content browser, null if there is none.
 void setDefaultContentBrowser(ContentBrowserSPI browser)
          Sets the default system content browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContentBrowserManager

public static final ContentBrowserManager getContentBrowserManager()
Returns a single instance of this class

Returns:
Single instance of this class.

setDefaultContentBrowser

public void setDefaultContentBrowser(ContentBrowserSPI browser)
Sets the default system content browser. There can only be one.

Parameters:
browser - The default content browser

getDefaultContentBrowser

public ContentBrowserSPI getDefaultContentBrowser()
Returns the defualt system content browser, null if there is none.

Returns:
A ContentBrowserSPI object


Open Wonderland - http://openwonderland.org