Class MonacoEditorFramedRenderer

java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.InputRenderer
org.primefaces.extensions.component.monacoeditor.MonacoEditorFramedRenderer

public class MonacoEditorFramedRenderer extends org.primefaces.renderkit.InputRenderer
Default renderer for the inline monaco editor that creates a new instance in an iframe for better scoping.
Since:
10.0.0
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected final Class<MonacoEditorFramed>
     

    Fields inherited from class javax.faces.render.Renderer Link icon

    PASSTHROUGH_RENDERER_LOCALNAME_KEY
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Default no-arg constructor for this widget renderer invoked by the framework.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    protected final void
    addBaseWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoEditorFramed monacoEditor)
     
    protected void
    addWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoEditorFramed monacoEditor)
     
    protected final void
    array(org.primefaces.util.WidgetBuilder wb, String key, Iterable<String> values)
     
    final void
    decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
     
    final void
    encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
     
    protected final void
    encodeHiddenInput(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor)
     
    protected final void
    encodeMarkup(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor)
     
    protected final void
    encodeMonacoEditor(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor)
     
    protected final void
    encodeScript(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor)
     
    final Object
    getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
     
    protected String
     
    protected String
     
    protected String
     
    protected boolean
     

    Methods inherited from class org.primefaces.renderkit.InputRenderer Link icon

    createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, shouldDecode

    Methods inherited from class org.primefaces.renderkit.CoreRenderer Link icon

    buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, encodeIndexedId, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getIconOnlyButtonText, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, logDevelopmentWarning, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderAttribute, renderButtonValue, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderRTLDirection, renderValidationMetadata, shouldRenderAttribute, shouldWriteId

    Methods inherited from class javax.faces.render.Renderer Link icon

    convertClientId, encodeBegin, encodeChildren, getRendersChildren

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

  • Constructor Details Link icon

    • MonacoEditorFramedRenderer Link icon

      public MonacoEditorFramedRenderer()
      Default no-arg constructor for this widget renderer invoked by the framework.
  • Method Details Link icon

    • addWidgetProperties Link icon

      protected void addWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoEditorFramed monacoEditor) throws IOException
      Throws:
      IOException
    • encodeMonacoEditor Link icon

      protected final void encodeMonacoEditor(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor) throws IOException
      Throws:
      IOException
    • getMainStyleClass Link icon

      protected String getMainStyleClass()
    • getWidgetName Link icon

      protected String getWidgetName()
    • decode Link icon

      public final void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
      Overrides:
      decode in class javax.faces.render.Renderer
    • encodeHiddenInput Link icon

      protected final void encodeHiddenInput(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor) throws IOException
      Throws:
      IOException
    • getConvertedValue Link icon

      public final Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
      Overrides:
      getConvertedValue in class org.primefaces.renderkit.InputRenderer
    • addBaseWidgetProperties Link icon

      protected final void addBaseWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoEditorFramed monacoEditor) throws IOException
      Throws:
      IOException
    • isEntireEditorDisabled Link icon

      protected boolean isEntireEditorDisabled(MonacoEditorFramed monacoEditor)
    • getLanguage Link icon

      protected String getLanguage(MonacoEditorFramed monacoEditor)
    • array Link icon

      protected final void array(org.primefaces.util.WidgetBuilder wb, String key, Iterable<String> values) throws IOException
      Throws:
      IOException
    • encodeEnd Link icon

      public final void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
      Overrides:
      encodeEnd in class javax.faces.render.Renderer
      Throws:
      IOException
    • encodeMarkup Link icon

      protected final void encodeMarkup(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor) throws IOException
      Throws:
      IOException
    • encodeScript Link icon

      protected final void encodeScript(javax.faces.context.FacesContext context, MonacoEditorFramed monacoEditor) throws IOException
      Throws:
      IOException