|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.Component
org.olat.core.gui.components.Container
org.olat.core.gui.components.Window
public class Window
Description:
| Field Summary | |
|---|---|
static Event |
ABOUT_TO_DISPATCH
fired just before the targetcomponent.dispatch takes places |
static Event |
AFTER_INLINE_RENDERING
fired after the response has been rendered into a string (but not delivered to the client yet) |
static Event |
AFTER_VALIDATING
|
static Event |
BEFORE_INLINE_RENDERING
fired before inline (text/html computed response) takes place |
static Event |
COMPONENTNOTFOUND
while dispatching: component with id not found COMPONENTNOTFOUND |
static Event |
END_OF_DISPATCH_CYCLE
fired when the dispatch cycle (dispatch to a component) is finished |
static Event |
OLDTIMESTAMPCALL
old time stamp call, but no asyncmediaresponsible OLDTIMESTAMPCALL |
| Constructor Summary | |
|---|---|
Window(java.lang.String name,
WindowBackOfficeImpl wbackoffice)
|
|
| Method Summary | |
|---|---|
void |
dispatchRequest(UserRequest ureq,
boolean renderOnly)
|
Component |
getAndClearLatestDispatchedComponent()
to be used for exception reporting only! |
java.lang.Object |
getAttribute(java.lang.String key)
Get a window-scope variable |
Component |
getComponent(java.lang.String name)
use only rarely! |
Container |
getContentPane()
|
Theme |
getGuiTheme()
|
ComponentRenderer |
getHTMLRendererSingleton()
|
java.lang.String |
getInstanceId()
|
Component |
getJsCssRawHtmlHeader()
|
java.lang.String |
getLatestDispatchComponentInfo()
|
Command |
handleDirties()
to be called by Window.java or the AjaxController only! this method is synchronized on the Window instance |
java.lang.Object |
removeAttribute(java.lang.String key)
Remove a windo-scope variable |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Set a window-scope variable |
void |
setContentPane(Container contentPane)
Sets the contentPane. |
void |
setGuiTheme(Theme guiTheme)
|
void |
setInstanceId(java.lang.String instanceId)
Sets the instanceId. |
void |
setUriPrefix(java.lang.String uriPrefix)
Sets the uriPrefix. |
| Methods inherited from class org.olat.core.gui.components.Container |
|---|
getComponents, getExtendedDebugInfo, put, put, remove |
| Methods inherited from class org.olat.core.gui.components.Component |
|---|
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Event OLDTIMESTAMPCALL
OLDTIMESTAMPCALL
public static final Event COMPONENTNOTFOUND
COMPONENTNOTFOUND
public static final Event END_OF_DISPATCH_CYCLE
public static final Event BEFORE_INLINE_RENDERING
public static final Event AFTER_INLINE_RENDERING
public static final Event AFTER_VALIDATING
public static final Event ABOUT_TO_DISPATCH
| Constructor Detail |
|---|
public Window(java.lang.String name,
WindowBackOfficeImpl wbackoffice)
name - chiefController - | Method Detail |
|---|
public Component getJsCssRawHtmlHeader()
public void setGuiTheme(Theme guiTheme)
guiThemeBaseUri - the URI of the base folder of the current Gui theme, r.g. 'http://www.myserver.com/olat/raw/themes/default/'public Theme getGuiTheme()
public Container getContentPane()
public void setContentPane(Container contentPane)
contentPane - The contentPane to setpublic Component getComponent(java.lang.String name)
Container
getComponent in class ContainerContainer.getComponent(java.lang.String)
public void dispatchRequest(UserRequest ureq,
boolean renderOnly)
ureq - renderOnly -
public void setAttribute(java.lang.String key,
java.lang.Object value)
key - the identifier, must not be NULLvalue - the value, must not be NULL. Use removeAttribute() to remove a
keypublic java.lang.Object getAttribute(java.lang.String key)
key - the identifier, must not be NULL
public java.lang.Object removeAttribute(java.lang.String key)
key - the identifier, must not be NULLthe - previously attribute that was set for this key or NULL when
the key was not set at allpublic Command handleDirties()
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The instanceId to setpublic void setUriPrefix(java.lang.String uriPrefix)
uriPrefix - The uriPrefix to setpublic java.lang.String getLatestDispatchComponentInfo()
public ComponentRenderer getHTMLRendererSingleton()
getHTMLRendererSingleton in class Componentpublic Component getAndClearLatestDispatchedComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||