de.hs_rm.cs.lecturenotes.client.core.presentation.ui.media
Interface IMediaFilePreview

All Known Implementing Classes:
ImageMediaFilePreview

public interface IMediaFilePreview

Interface to describe the preview needs of a MediaFile user interface preview.

Version:
$LastChangedRevision: 236 $
Author:
Enrico Homann

Method Summary
 com.google.gwt.user.client.ui.Widget getDisplayWidget()
          Will return a Widget that is used for displaying the MediaFile.
 MediaFile getMediaFile()
          Getter for MediaFile entity.
 com.google.gwt.user.client.ui.Widget getMenuWidget()
          Will return a Widget that is used for displaying a simple user menu to MediaFile.
 void setMediaFile(MediaFile oMediaFile)
          Setter for MediaFile entity.
 

Method Detail

setMediaFile

void setMediaFile(MediaFile oMediaFile)
Setter for MediaFile entity.

Parameters:
oMediaFile - MediaFile

getMediaFile

MediaFile getMediaFile()
Getter for MediaFile entity.

Returns:
MediaFile

getDisplayWidget

com.google.gwt.user.client.ui.Widget getDisplayWidget()
Will return a Widget that is used for displaying the MediaFile.

Returns:
Widget

getMenuWidget

com.google.gwt.user.client.ui.Widget getMenuWidget()
Will return a Widget that is used for displaying a simple user menu to MediaFile. This also includes the controller.

Returns:
Widget