|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WindowManager
handles all windows of a user
Initial Date: 23.03.2006
| Method Summary | |
|---|---|
ContentableChiefController |
createContentableChiefController(UserRequest ureq)
|
MediaResource |
createMediaResourceFor(java.lang.Class baseClass,
java.lang.String relPath)
locates and returns the resource found under |
PopupBrowserWindow |
createNewPopupBrowserWindowFor(UserRequest ureq,
ControllerCreator controllerCreator)
a new browser window with content (controller) provided through the controller creator. |
WindowBackOffice |
createWindowBackOffice(java.lang.String windowName,
ChiefController owner)
|
GlobalSettings |
getGlobalSettings()
|
java.lang.String |
getMapPathFor(java.lang.Class baseClass)
creates (or gets) a path for a given class |
boolean |
isAjaxEnabled()
whether or not ajax mode ("web 2.0") is enabled. |
boolean |
isForScreenReader()
|
void |
setAjaxEnabled(boolean enabled)
|
void |
setAjaxWanted(UserRequest ureq,
boolean enabled)
call this method after having e.g. |
void |
setFontSize(int fontSize)
|
void |
setForScreenReader(boolean forScreenReader)
|
void |
setHighLightingEnabled(boolean enabled)
|
| Methods inherited from interface org.olat.core.gui.control.Disposable |
|---|
dispose |
| Method Detail |
|---|
void setAjaxWanted(UserRequest ureq,
boolean enabled)
ureq - enabled - if true, ajax should be enabled if possiblejava.lang.String getMapPathFor(java.lang.Class baseClass)
baseClass -
MediaResource createMediaResourceFor(java.lang.Class baseClass,
java.lang.String relPath)
baseClass - the class which packages denotes the base path for the lookuprelPath - e.g. /js/myfunc.js
GlobalSettings getGlobalSettings()
WindowBackOffice createWindowBackOffice(java.lang.String windowName,
ChiefController owner)
windowName - owner -
void setAjaxEnabled(boolean enabled)
void setForScreenReader(boolean forScreenReader)
void setHighLightingEnabled(boolean enabled)
void setFontSize(int fontSize)
fontSize - relative to default font sizeContentableChiefController createContentableChiefController(UserRequest ureq)
ureq -
boolean isForScreenReader()
boolean isAjaxEnabled()
PopupBrowserWindow createNewPopupBrowserWindowFor(UserRequest ureq,
ControllerCreator controllerCreator)
Link on how to
define a link to act as a popup window link. Once such a link is clicked
the listening controller uses the
popupBrowserWindow = getWindowControl().getWindowBackOffice().getWindowManager().createNewPopupBrowserWindowFor(ureq, this);
to create the popup window (this may be any
ControllerCreator!). Just call the method
PopupBrowserWindow.open(UserRequest) to activate/open/render the
content in the new browserwindow.
ureq - controllerCreator -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||