org.olat.core.gui.control.winmgr
Class AjaxController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.winmgr.AjaxController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class AjaxController
- extends DefaultController
Description:
- to be used by the windowmanager only! - this controller
manages the state of all browser windows on the client side (javascript) and
communicates changes to the server side (java)
Initial Date: 17.03.2006
- Author:
- Felix Jost
| Methods inherited from class org.olat.core.gui.control.DefaultController |
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
event
public void event(UserRequest ureq,
Component source,
Event event)
- Description copied from class:
DefaultController
- abstract event method for subclasses. the event received from the component
we are listening to are always rerouted to this method here, except when
the component has been disposed, in which case the events are simply
ignored.
- See Also:
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)
setHighLightingEnabled
public void setHighLightingEnabled(boolean enabled)
extractMediaResource
public MediaResource extractMediaResource(boolean wrapHTML)
sendCommandTo
public void sendCommandTo(WindowCommand wco)
- Parameters:
wco -
setAjaxEnabled
public void setAjaxEnabled(boolean enabled)
- Parameters:
enabled -
setShowJSON
public void setShowJSON(boolean showJSON)
- Parameters:
showJSON - The showJSON to set.
setPollPeriod
public void setPollPeriod(int pollperiod)
- Parameters:
pollperiod - time in ms between two polls