|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.control.winmgr.WindowBackOfficeImpl
public class WindowBackOfficeImpl
Description:
impl of windowbackoffice - responsible for several activities around a (browser)window
Initial Date: 10.02.2007
| Field Summary |
|---|
| Fields inherited from interface org.olat.core.gui.control.WindowBackOffice |
|---|
IGNORE_BOOKMARK_ONE_TIME |
| Method Summary | |
|---|---|
void |
acquireBackHandling(BackHandler backHandler)
when set, all browser-back and forward moves are sent to the backHandler instead of the ordinary handling (which reverts to the latest gui path in case of back). |
void |
addCycleListener(GenericEventListener gel)
not used normally! normally you do not have to care about when happens what - you should only need to know what to do in your event-methods of your controllers. |
void |
adjustGuiPathCenter(WindowControlInfo wci)
|
void |
browserBackOrForward(UserRequest ureq,
int diff)
diff == 0 -> reload (->ignore, so it will cause a simple rerendering) diff < 0 -> browser-back diff > 0 -> browser-forward |
Controller |
createAJAXController(UserRequest ureq)
|
Controller |
createDebugDispatcherController(UserRequest ureq,
WindowControl windowControl)
|
Controller |
createDevelopmentController(UserRequest ureq,
WindowControl windowControl)
|
GuiStack |
createGuiStack(Component initialComponent)
|
Controller |
createInlineTranslationDispatcherController(UserRequest ureq,
WindowControl windowControl)
Factory method to create the inline translation tool dispatcher controller. |
JSAndCSSAdderImpl |
createJSAndCSSAdder()
|
void |
dispose()
disposes the disposable |
MediaResource |
extractCommands(boolean wrapHTML)
|
void |
fireCycleEvent(Event cycleEvent)
|
java.lang.String |
getBusinessControlPath()
|
java.lang.Object |
getData(java.lang.String key)
gets the data |
GlobalSettings |
getGlobalSettings()
|
java.lang.String |
getIframeTargetName()
|
InterceptHandler |
getInterceptHandler()
|
Window |
getWindow()
|
WindowManager |
getWindowManager()
|
WindowManagerImpl |
getWinmgrImpl()
|
void |
informControllerCreated(WindowControl wControl,
Controller controller)
|
void |
informControllerDispatched(WindowControl wControl,
Controller controller,
Component source,
Event event)
|
void |
invokeLater(java.lang.Runnable runnable)
Use this method for asynchronous updates to the gui. |
boolean |
isDebuging()
|
void |
putData(java.lang.String key,
java.lang.Object value)
together with getData and registerForCycleEvents, this serves to exchange request-transient render-related data amongst parties, e.g. |
void |
releaseBackHandling(BackHandler backHandler)
releases any back handler. |
void |
removeCycleListener(GenericEventListener gel)
|
void |
sendCommandTo(Command wco)
|
void |
setAjaxEnabled(boolean enabled)
|
void |
setHighLightingEnabled(boolean enabled)
|
void |
setRequiredRefreshInterval(int refreshInterval)
|
void |
setShowDebugInfo(boolean showDebugInfo)
|
void |
setShowJSON(boolean enabled)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Window getWindow()
getWindow in interface WindowBackOffice
public Controller createDevelopmentController(UserRequest ureq,
WindowControl windowControl)
createDevelopmentController in interface WindowBackOfficepublic GlobalSettings getGlobalSettings()
getGlobalSettings in interface WindowBackOfficepublic JSAndCSSAdderImpl createJSAndCSSAdder()
public void sendCommandTo(Command wco)
sendCommandTo in interface WindowBackOfficewco - the Command to be sent to the client (all requests are queued and sent in a batch at the end of the request)WindowBackOffice.sendCommandTo(org.olat.core.gui.control.winmgr.Command)public MediaResource extractCommands(boolean wrapHTML)
wrapHTML -
public InterceptHandler getInterceptHandler()
public Controller createDebugDispatcherController(UserRequest ureq,
WindowControl windowControl)
createDebugDispatcherController in interface WindowBackOfficeureq - windowControl -
public Controller createInlineTranslationDispatcherController(UserRequest ureq,
WindowControl windowControl)
createInlineTranslationDispatcherController in interface WindowBackOfficeureq - windowControl -
public Controller createAJAXController(UserRequest ureq)
createAJAXController in interface WindowBackOfficepublic boolean isDebuging()
isDebuging in interface WindowBackOfficepublic WindowManagerImpl getWinmgrImpl()
public void dispose()
Disposable
dispose in interface Disposablepublic void setAjaxEnabled(boolean enabled)
enabled - public void setHighLightingEnabled(boolean enabled)
enabled - public void setShowJSON(boolean enabled)
enabled - public void setRequiredRefreshInterval(int refreshInterval)
refreshInterval - public void setShowDebugInfo(boolean showDebugInfo)
showDebugInfo - public WindowManager getWindowManager()
getWindowManager in interface WindowBackOffice
public void informControllerDispatched(WindowControl wControl,
Controller controller,
Component source,
Event event)
informControllerDispatched in interface WindowBackOffice
public void informControllerCreated(WindowControl wControl,
Controller controller)
informControllerCreated in interface WindowBackOffice
public void browserBackOrForward(UserRequest ureq,
int diff)
diff - public java.lang.String getBusinessControlPath()
getBusinessControlPath in interface WindowBackOfficepublic java.lang.String getIframeTargetName()
public GuiStack createGuiStack(Component initialComponent)
createGuiStack in interface WindowBackOfficepublic void invokeLater(java.lang.Runnable runnable)
WindowBackOffice
invokeLater in interface WindowBackOfficerunnable - the runnablepublic void fireCycleEvent(Event cycleEvent)
public void addCycleListener(GenericEventListener gel)
WindowBackOffice
addCycleListener in interface WindowBackOfficegel - the listenerpublic void removeCycleListener(GenericEventListener gel)
removeCycleListener in interface WindowBackOfficepublic java.lang.Object getData(java.lang.String key)
WindowBackOffice
getData in interface WindowBackOfficekey - the key
WindowBackOffice.putData(String key, Object value)
public void putData(java.lang.String key,
java.lang.Object value)
WindowBackOffice
putData in interface WindowBackOfficekey - the key (to be agreed upon by the inter-communicating parties)value - any objectpublic void adjustGuiPathCenter(WindowControlInfo wci)
adjustGuiPathCenter in interface WindowBackOfficepublic void acquireBackHandling(BackHandler backHandler)
WindowBackOffice
acquireBackHandling in interface WindowBackOfficepublic void releaseBackHandling(BackHandler backHandler)
WindowBackOffice
releaseBackHandling in interface WindowBackOfficebackHandler - the backhandler to release
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||