Class MonacoEditorInline
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIOutput
-
- javax.faces.component.UIInput
-
- javax.faces.component.html.HtmlInputTextarea
-
- org.primefaces.extensions.component.monacoeditor.MonacoEditorCommon<EditorOptions>
-
- org.primefaces.extensions.component.monacoeditor.MonacoEditorBase
-
- org.primefaces.extensions.component.monacoeditor.MonacoEditorInline
-
- All Implemented Interfaces:
java.util.EventListener
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.EditableValueHolder
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.component.ValueHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,org.primefaces.component.api.PrimeClientBehaviorHolder
,org.primefaces.component.api.Widget
public class MonacoEditorInline extends MonacoEditorBase
Component for the Monaco code editor JavaScript library. This is the inline monaco editor that creates a new instance in a textarea element on the same page. There is also framed version available that creates an editor in an iframe for better scoping.- Since:
- 10.0.0
- See Also:
MonacoEditorFramed
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_TYPE
static java.lang.String
RENDERER_TYPE
static java.lang.String
STYLE_CLASS
static java.lang.String
WIDGET_NAME
-
Fields inherited from class org.primefaces.extensions.component.monacoeditor.MonacoEditorCommon
COMPONENT_FAMILY
-
Fields inherited from class javax.faces.component.UIInput
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
-
-
Constructor Summary
Constructors Constructor Description MonacoEditorInline()
Default no-arg constructor for this widget invoked by the framework.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Class<? extends javax.faces.event.BehaviorEvent>>
getBehaviorEventMapping()
java.util.Collection<java.lang.String>
getEventNames()
java.lang.String
getExtender()
java.lang.String
getOverflowWidgetsDomNode()
void
setExtender(java.lang.String extender)
void
setOverflowWidgetsDomNode(java.lang.String overflowWidgetsDomNode)
-
Methods inherited from class org.primefaces.extensions.component.monacoeditor.MonacoEditorBase
getDefaultEventName
-
Methods inherited from class org.primefaces.extensions.component.monacoeditor.MonacoEditorCommon
calculateLocale, getBasename, getCustomThemes, getDirectory, getEditorOptions, getExtension, getFamily, getHeight, getLocale, getLocaleUrl, getOninitialized, getOnpaste, getScheme, getWidgetVar, getWidth, isAutoResize, saveState, setAutoResize, setBasename, setCustomThemes, setDirectory, setEditorOptions, setExtension, setHeight, setLocale, setLocaleUrl, setOninitialized, setOnpaste, setScheme, setWidgetVar, setWidth
-
Methods inherited from class javax.faces.component.html.HtmlInputTextarea
getAccesskey, getCols, getDir, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getRows, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setCols, setDir, setDisabled, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setRows, setStyle, setStyleClass, setTabindex, setTitle
-
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
-
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
RENDERER_TYPE
public static final java.lang.String RENDERER_TYPE
- See Also:
- Constant Field Values
-
STYLE_CLASS
public static final java.lang.String STYLE_CLASS
- See Also:
- Constant Field Values
-
WIDGET_NAME
public static final java.lang.String WIDGET_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBehaviorEventMapping
public java.util.Map<java.lang.String,java.lang.Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
-
getEventNames
public final java.util.Collection<java.lang.String> getEventNames()
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.html.HtmlInputTextarea
-
getExtender
public final java.lang.String getExtender()
-
setExtender
public final void setExtender(java.lang.String extender)
-
getOverflowWidgetsDomNode
public final java.lang.String getOverflowWidgetsDomNode()
-
setOverflowWidgetsDomNode
public final void setOverflowWidgetsDomNode(java.lang.String overflowWidgetsDomNode)
-
-