Class MonacoDiffEditorInlineRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.InputRenderer
org.primefaces.extensions.component.monacoeditor.MonacoDiffEditorInlineRenderer
public class MonacoDiffEditorInlineRenderer
extends org.primefaces.renderkit.InputRenderer
Default renderer for the inline Monaco diff editor that creates a new instance without iframes.
- Since:
- 11.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected final Class<MonacoDiffEditorInline> Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructor for this widget renderer invoked by the framework. -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddBaseWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoDiffEditorInline monacoEditor) protected voidaddWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoDiffEditorInline monacoEditor) protected final voidstatic MonacoDiffEditorModelconvertedSubmittedValue(javax.faces.component.UIComponent component, Object submittedValue) final voiddecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) final voidencodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) protected final voidencodeHiddenInput(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) protected final voidencodeMarkup(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) protected final voidencodeMonacoEditor(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) protected final voidencodeScript(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) final ObjectgetConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) protected StringgetLanguage(MonacoDiffEditorInline monacoEditor) protected Stringprotected Stringprotected booleanisEntireEditorDisabled(MonacoDiffEditorInline monacoEditor) Methods inherited from class org.primefaces.renderkit.InputRenderer
createStyleClass, createStyleClass, isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderAccessibilityAttributesHidden, renderARIACombobox, renderARIAInvalid, renderARIARequired, shouldDecodeMethods inherited from class org.primefaces.renderkit.CoreRenderer
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, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
-
Field Details
-
CALLBACK_SIGNATURE
- See Also:
-
componentClass
-
-
Constructor Details
-
MonacoDiffEditorInlineRenderer
public MonacoDiffEditorInlineRenderer()Default no-arg constructor for this widget renderer invoked by the framework.
-
-
Method Details
-
addWidgetProperties
protected void addWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoDiffEditorInline monacoEditor) throws IOException - Throws:
IOException
-
encodeMonacoEditor
protected final void encodeMonacoEditor(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) throws IOException - Throws:
IOException
-
getMainStyleClass
-
getWidgetName
-
decode
public final void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) - Overrides:
decodein classjavax.faces.render.Renderer
-
encodeHiddenInput
protected final void encodeHiddenInput(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) throws IOException - Throws:
IOException
-
getConvertedValue
public final Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue) - Overrides:
getConvertedValuein classorg.primefaces.renderkit.InputRenderer
-
addBaseWidgetProperties
protected final void addBaseWidgetProperties(javax.faces.context.FacesContext context, org.primefaces.util.WidgetBuilder wb, MonacoDiffEditorInline monacoEditor) throws IOException - Throws:
IOException
-
getLanguage
-
isEntireEditorDisabled
-
convertedSubmittedValue
public static MonacoDiffEditorModel convertedSubmittedValue(javax.faces.component.UIComponent component, Object submittedValue) -
array
protected final void array(org.primefaces.util.WidgetBuilder wb, String key, Iterable<String> values) throws IOException - Throws:
IOException
-
encodeEnd
public final void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeMarkup
protected final void encodeMarkup(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) throws IOException - Throws:
IOException
-
encodeScript
protected final void encodeScript(javax.faces.context.FacesContext context, MonacoDiffEditorInline monacoEditor) throws IOException - Throws:
IOException
-