de.hs_rm.cs.lecturenotes.client.core.presentation.ui.media
Class ImageMediaFilePreview

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.client.core.presentation.ui.media.ImageMediaFilePreview
All Implemented Interfaces:
IMediaFilePreview

public final class ImageMediaFilePreview
extends java.lang.Object
implements IMediaFilePreview

Image MediaFile Preview.

Version:
$LastChangedRevision: 236 $
Author:
Enrico Homann

Constructor Summary
ImageMediaFilePreview()
          Default constructor.
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageMediaFilePreview

public ImageMediaFilePreview()
Default constructor.

Method Detail

setMediaFile

public void setMediaFile(MediaFile oMediaFile)
Description copied from interface: IMediaFilePreview
Setter for MediaFile entity.

Specified by:
setMediaFile in interface IMediaFilePreview
Parameters:
oMediaFile - MediaFile

getMediaFile

public MediaFile getMediaFile()
Description copied from interface: IMediaFilePreview
Getter for MediaFile entity.

Specified by:
getMediaFile in interface IMediaFilePreview
Returns:
MediaFile

getDisplayWidget

public com.google.gwt.user.client.ui.Widget getDisplayWidget()
Description copied from interface: IMediaFilePreview
Will return a Widget that is used for displaying the MediaFile.

Specified by:
getDisplayWidget in interface IMediaFilePreview
Returns:
Widget

getMenuWidget

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

Specified by:
getMenuWidget in interface IMediaFilePreview
Returns:
Widget