org.jdesktop.wonderland.client.content.spi
Interface ContentBrowserSPI.ContentBrowserListener

Enclosing interface:
ContentBrowserSPI

public static interface ContentBrowserSPI.ContentBrowserListener

The listener interface to report the result of the action taken on the content browser. Generally, the content browser supports two actions, OK and Cancel and returns the URI of the content asset in the case of OK.


Method Summary
 void cancelAction()
          The user has selected "Cancel" on the content browser.
 void okAction(java.lang.String uri)
          The user has selected "OK" on the content browser and has selected the given uri.
 

Method Detail

okAction

void okAction(java.lang.String uri)
The user has selected "OK" on the content browser and has selected the given uri.

Parameters:
uri - The URI selected on the content browser

cancelAction

void cancelAction()
The user has selected "Cancel" on the content browser.



Open Wonderland - http://openwonderland.org