Class MonacoEditorInlineRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.renderkit.InputRenderer
com.github.blutorange.primefaces.component.monacoeditor.MonacoEditorInlineRenderer
public class MonacoEditorInlineRenderer
extends org.primefaces.renderkit.InputRenderer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MonacoEditorInlineRenderer()
-
Method Summary
Modifier and Type Method Description protected void
addWidgetProperties(org.primefaces.util.WidgetBuilder wb, MonacoEditorInline monacoEditor)
protected void
array(org.primefaces.util.WidgetBuilder wb, String key, Iterable<String> values)
protected void
callback(org.primefaces.util.WidgetBuilder wb, String key, String callback, String defaultValue)
void
decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeHiddenInput(javax.faces.context.FacesContext context, T monacoEditor)
protected void
encodeMarkup(javax.faces.context.FacesContext context, T monacoEditor)
protected void
encodeMonacoEditor(javax.faces.context.FacesContext context, MonacoEditorInline monacoEditor)
protected void
encodeScript(javax.faces.context.FacesContext context, T monacoEditor)
protected void
expression(org.primefaces.util.WidgetBuilder wb, String key, String expression, String defaultValue)
Object
getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)
protected String
getMainStyleClass()
protected String
getWidgetName()
Methods inherited from class org.primefaces.renderkit.InputRenderer
isDisabled, isReadOnly, renderAccessibilityAttributes, renderAccessibilityAttributes, renderARIACombobox, renderARIAInvalid, renderARIARequired, renderRTLDirection, shouldDecode
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
Constructor Details
-
MonacoEditorInlineRenderer
public MonacoEditorInlineRenderer()
-
-
Method Details
-
getMainStyleClass
-
addWidgetProperties
protected void addWidgetProperties(org.primefaces.util.WidgetBuilder wb, MonacoEditorInline monacoEditor) throws IOException- Throws:
IOException
-
getWidgetName
-
encodeMonacoEditor
protected final void encodeMonacoEditor(javax.faces.context.FacesContext context, MonacoEditorInline monacoEditor) throws IOException- Throws:
IOException
-
decode
public final void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)- Overrides:
decode
in classjavax.faces.render.Renderer
-
getConvertedValue
public final Object getConvertedValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object submittedValue)- Overrides:
getConvertedValue
in classorg.primefaces.renderkit.InputRenderer
-
encodeEnd
public final void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException- Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeMarkup
protected final void encodeMarkup(javax.faces.context.FacesContext context, T monacoEditor) throws IOException- Throws:
IOException
-
encodeHiddenInput
protected final void encodeHiddenInput(javax.faces.context.FacesContext context, T monacoEditor) throws IOException- Throws:
IOException
-
encodeScript
protected final void encodeScript(javax.faces.context.FacesContext context, T monacoEditor) throws IOException- Throws:
IOException
-
callback
protected final void callback(org.primefaces.util.WidgetBuilder wb, String key, String callback, String defaultValue) throws IOException- Throws:
IOException
-
array
protected final void array(org.primefaces.util.WidgetBuilder wb, String key, Iterable<String> values) throws IOException- Throws:
IOException
-
expression
protected final void expression(org.primefaces.util.WidgetBuilder wb, String key, String expression, String defaultValue) throws IOException- Throws:
IOException
-