org.olat.note
Class NoteController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.core.gui.components.form.flexible.impl.FormBasicController
              extended by org.olat.note.NoteController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable, GenericEventListener

public class NoteController
extends FormBasicController
implements GenericEventListener

Initial Date: Dec 9, 2004

Author:
Alexander Schneider, Roman Haag, frentix GmbH, 17.06.09 refactored to use FlexiForm Comment: Displays one note. Is called from every course or from the notelist in the users home.

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Constructor Summary
NoteController(UserRequest ureq, OLATResourceable ores, java.lang.String noteTitle, WindowControl wControl)
           
NoteController(UserRequest ureq, WindowControl wControl, Note n)
           
 
Method Summary
 void event(Event event)
           
 
Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
dispose, event
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoteController

public NoteController(UserRequest ureq,
                      WindowControl wControl,
                      Note n)
Parameters:
ureq -
wControl -
n -
popupTrue -

NoteController

public NoteController(UserRequest ureq,
                      OLATResourceable ores,
                      java.lang.String noteTitle,
                      WindowControl wControl)
Parameters:
ureq -
ores - the OLATResourceable to which this note refers to (the context of the note, e.g. a certain course)
noteTitle -
popupTrue -
wControl -
Method Detail

event

public void event(Event event)
Specified by:
event in interface GenericEventListener
See Also:
GenericEventListener.event(org.olat.core.gui.control.Event)