org.jesktop.appsupport
Interface ContentViewer

All Superinterfaces:
org.jesktop.appsupport.ContentAction

public interface ContentViewer
extends org.jesktop.appsupport.ContentAction

Apps that implement this can view certain types of content. When the mime registry is finished the manifest will register the app for a particulr mime type at installation time.

Version:
1.0
Author:
Paul_Hammant@yahoo.com

Method Summary
 void viewContent(java.net.URL url, boolean thumbNail)
          Method viewContent is used for viewing content specified by the URL.
 

Method Detail

viewContent

public void viewContent(java.net.URL url,
                        boolean thumbNail)
Method viewContent is used for viewing content specified by the URL. If the content is not visible, then the default non-edit action for that type should be done. E.g. for MP3s it is "listen".

Parameters:
url - the content to be viewed
thumbNail - the content should be viewed in thumbnail view.


Copyright © 2004 Jesktop Project. All Rights Reserved.