|
||||||||||
| 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.htmlsite.HtmlStaticPageComponent
public class HtmlStaticPageComponent
| Field Summary | |
|---|---|
static java.lang.String |
OLAT_CMD_PREFIX
|
| Constructor Summary | |
|---|---|
HtmlStaticPageComponent(java.lang.String name,
VFSContainer rootContainer)
Constructor for an displaying an html page. |
|
| Method Summary | |
|---|---|
MediaResource |
getAsyncMediaResource(UserRequest ureq)
|
java.lang.String |
getExtendedDebugInfo()
|
java.lang.String |
getHtmlContent()
|
java.lang.String |
getHtmlHead()
|
ComponentRenderer |
getHTMLRendererSingleton()
|
java.lang.String |
getJsOnLoad()
|
java.lang.String |
getWrapperCssStyle()
Get the wrapper css style or NULL if no wrapper css is defined |
static boolean |
isFileTypeSupported(java.lang.String filePath)
Check if a certain file-type (html,htm,txt) is supported. |
void |
setCurrentURI(java.lang.String currentURI)
Sets the start html page, may be null |
void |
setWrapperCssStyle(java.lang.String wrapperCssStyle)
Set some CSS styles on the element. |
void |
validate(UserRequest ureq,
ValidationResult vr)
called just before the rendering of the -whole tree- takes place, so e.g. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String OLAT_CMD_PREFIX
| Constructor Detail |
|---|
public HtmlStaticPageComponent(java.lang.String name,
VFSContainer rootContainer)
name - The component namethe - root folder which contains the files| Method Detail |
|---|
public MediaResource getAsyncMediaResource(UserRequest ureq)
getAsyncMediaResource in interface AsyncMediaResponsibleAsyncMediaResponsible.getAsyncMediaResource(org.olat.core.gui.UserRequest)public void setCurrentURI(java.lang.String currentURI)
currentURI - The currentURI to setpublic java.lang.String getHtmlHead()
public java.lang.String getJsOnLoad()
public java.lang.String getHtmlContent()
public java.lang.String getExtendedDebugInfo()
getExtendedDebugInfo in class Component
public void validate(UserRequest ureq,
ValidationResult vr)
Component
validate in class ComponentComponent.validate(org.olat.core.gui.UserRequest,
org.olat.core.gui.render.ValidationResult)public ComponentRenderer getHTMLRendererSingleton()
getHTMLRendererSingleton in class Componentpublic static boolean isFileTypeSupported(java.lang.String filePath)
filePath - Full file path, can be null.
public void setWrapperCssStyle(java.lang.String wrapperCssStyle)
wrapperCssStyle - CSS rules or NULL to not use thempublic java.lang.String getWrapperCssStyle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||