|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.components.form.flexible.impl.FormBasicController
org.olat.core.commons.editor.htmleditor.HTMLEditorController
public class HTMLEditorController
Description:
The HTMLEditorController provides a full-fledged WYSIWYG HTML editor with
support for media and link browsing based on a VFS item. The editor will keep
any header information such as references to CSS or JS files, but those will
not be active while editing the file.
Keep in mind that this editor might be destructive when editing files that have been created with an external, more powerful editor.
Use the WYSIWYGFactory to create an instance.
Initial Date: 08.05.2009
| Field Summary |
|---|
| Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController |
|---|
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL |
| Method Summary | |
|---|---|
RichTextConfiguration |
getRichTextConfiguration()
Get the rich text config object. |
boolean |
isNewFile()
|
void |
setCancelButtonEnabled(boolean buttonEnabled)
Optional configuration option to display the cancel button below the HTML editor form. |
void |
setNewFile(boolean newFile)
|
void |
setSaveButtonEnabled(boolean buttonEnabled)
Optional configuration option to display the save button below the HTML editor form. |
void |
setSaveCloseButtonEnabled(boolean buttonEnabled)
Optional configuration option to display the save-and-close button below the HTML editor form. |
void |
setShowMetadataEnabled(boolean metadataEnabled)
Optional configuration to show the file name, file encoding and last modified date in a header bar. |
| Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController |
|---|
dispose, event |
| Methods inherited from class org.olat.core.gui.control.DefaultController |
|---|
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setSaveButtonEnabled(boolean buttonEnabled)
buttonEnabled - true: show save button; false: hide save buttonpublic void setSaveCloseButtonEnabled(boolean buttonEnabled)
buttonEnabled - true: show save-and-close button; false: hide save-and-close
buttonpublic void setCancelButtonEnabled(boolean buttonEnabled)
buttonEnabled - true: show cancel button; false: hide cancel buttonpublic void setShowMetadataEnabled(boolean metadataEnabled)
metadataEnabled - true: show metadata; false: hide metadatapublic RichTextConfiguration getRichTextConfiguration()
public boolean isNewFile()
public void setNewFile(boolean newFile)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||