de.hs_rm.cs.lecturenotes.client.module.annotation
Class AnnotationModuleModel

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.client.module.annotation.AnnotationModuleModel

public final class AnnotationModuleModel
extends java.lang.Object

Model of the annotation module.

Version:
$LastChangedRevision: 242 $
Author:
Enrico Homann

Constructor Summary
AnnotationModuleModel()
           
 
Method Summary
 java.util.List<Annotation> getAnnotations()
          Will return the List of Annotation objects.
 Paragraph getParagraph()
          Will return the Paragraph for this model.
 com.google.gwt.user.client.ui.Widget getViewerPanel()
          Will return the viewer panel.
 java.lang.Integer getViewerPosition()
          Will return the position.
 void setAnnotations(java.util.List<Annotation> oAnnotations)
          Sets the annotations.
 void setParagraph(Paragraph oParagraph)
          Sets the Paragraph for this model.
 void setViewerPanel(com.google.gwt.user.client.ui.Widget oViewerPanel)
          Sets the viewer panel.
 void setViewerPosition(java.lang.Integer oViewerPosition)
          Sets the viewer position.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationModuleModel

public AnnotationModuleModel()
Method Detail

getAnnotations

public java.util.List<Annotation> getAnnotations()
Will return the List of Annotation objects.

Returns:
List of Annotation

setAnnotations

public void setAnnotations(java.util.List<Annotation> oAnnotations)
Sets the annotations.

Parameters:
oAnnotations - List of Annotation

getParagraph

public Paragraph getParagraph()
Will return the Paragraph for this model.

Returns:
Paragraph

setParagraph

public void setParagraph(Paragraph oParagraph)
Sets the Paragraph for this model.

Parameters:
oParagraph - Paragraph

getViewerPanel

public com.google.gwt.user.client.ui.Widget getViewerPanel()
Will return the viewer panel.

Returns:
Widget

setViewerPanel

public void setViewerPanel(com.google.gwt.user.client.ui.Widget oViewerPanel)
Sets the viewer panel.

Parameters:
oViewerPanel - Widget

getViewerPosition

public java.lang.Integer getViewerPosition()
Will return the position.

Returns:
Integer

setViewerPosition

public void setViewerPosition(java.lang.Integer oViewerPosition)
Sets the viewer position.

Parameters:
oViewerPosition - Integer