Class CmsTinyMCEWidget

  • All Implemented Interfaces:
    org.opencms.widgets.I_CmsWidget

    public class CmsTinyMCEWidget
    extends org.opencms.widgets.A_CmsHtmlWidget
    The TinyMCE implementation of the HTML widget.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opencms.widgets.A_CmsWidget

        org.opencms.widgets.A_CmsWidget.CmsDummyWidgetDialog
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BASE_CONTENT_CSS
      Path of the base content CSS.
      static java.lang.String PARAM_CONFIGURATION
      Request parameter name for the tool bar configuration parameter.
      • Fields inherited from class org.opencms.widgets.A_CmsWidget

        HELP_POSTFIX, LABEL_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsTinyMCEWidget()
      Creates a new TinyMCE widget.
      CmsTinyMCEWidget​(java.lang.String configuration)
      Creates a new TinyMCE widget with the given configuration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDialogIncludes​(org.opencms.file.CmsObject cms, org.opencms.widgets.I_CmsWidgetDialog widgetDialog)  
      java.lang.String getDialogWidget​(org.opencms.file.CmsObject cms, org.opencms.widgets.I_CmsWidgetDialog widgetDialog, org.opencms.widgets.I_CmsWidgetParameter param)  
      org.opencms.widgets.I_CmsWidget newInstance()  
      • Methods inherited from class org.opencms.widgets.A_CmsHtmlWidget

        getConfiguration, parseWidgetOptions, setConfiguration, setEditorValue
      • Methods inherited from class org.opencms.widgets.A_CmsWidget

        equals, getDialogHtmlEnd, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsTinyMCEWidget

        public CmsTinyMCEWidget​(java.lang.String configuration)
        Creates a new TinyMCE widget with the given configuration.

        Parameters:
        configuration - the configuration to use
    • Method Detail

      • getDialogIncludes

        public java.lang.String getDialogIncludes​(org.opencms.file.CmsObject cms,
                                                  org.opencms.widgets.I_CmsWidgetDialog widgetDialog)
        Specified by:
        getDialogIncludes in interface org.opencms.widgets.I_CmsWidget
        Overrides:
        getDialogIncludes in class org.opencms.widgets.A_CmsWidget
        See Also:
        I_CmsWidget.getDialogIncludes(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog)
      • getDialogWidget

        public java.lang.String getDialogWidget​(org.opencms.file.CmsObject cms,
                                                org.opencms.widgets.I_CmsWidgetDialog widgetDialog,
                                                org.opencms.widgets.I_CmsWidgetParameter param)
        See Also:
        I_CmsWidget.getDialogWidget(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)
      • newInstance

        public org.opencms.widgets.I_CmsWidget newInstance()
        See Also:
        I_CmsWidget.newInstance()