org.olat.core.gui.components.panel
Class OncePanel
java.lang.Object
org.olat.core.gui.components.Component
org.olat.core.gui.components.Container
org.olat.core.gui.components.panel.Panel
org.olat.core.gui.components.panel.OncePanel
public class OncePanel
- extends Panel
Description:
A Panel which shows a certain content only one render time, and then is hidden until a new content is set.
useful for e.g. a message on the screen which should automatically disappear after having been rendered once until
a new message appears.
Initial Date: 19.01.2007
- Author:
- Felix Jost, http://www.goodsolutions.ch
|
Constructor Summary |
OncePanel(java.lang.String name)
|
| 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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OncePanel
public OncePanel(java.lang.String name)
- Parameters:
name -
validate
public void validate(UserRequest ureq,
ValidationResult vr)
- Description copied from class:
Component
- called just before the rendering of the -whole tree- takes place, so e.g.
lazy fetching can be implemented, or issueing a request for a new moduleUri
(e.g. for CPComponent, so that the browser loads images correctly). only
called when the component is visible
- Overrides:
validate in class Component