Class MonacoEditorBase

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputTextarea
com.github.blutorange.primefaces.component.monacoeditor.MonacoEditorBase
All Implemented Interfaces:
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.Widget
Direct Known Subclasses:
MonacoEditorFramed, MonacoEditorInline

public abstract class MonacoEditorBase
extends javax.faces.component.html.HtmlInputTextarea
implements javax.faces.component.behavior.ClientBehaviorHolder, org.primefaces.component.api.Widget
  • Nested Class Summary

    Nested classes/interfaces inherited from class javax.faces.component.html.HtmlInputTextarea

    javax.faces.component.html.HtmlInputTextarea.PropertyKeys
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static Collection<String> BASE_EVENT_NAMES  
    static String COMPONENT_FAMILY  

    Fields inherited from class javax.faces.component.html.HtmlInputTextarea

    COMPONENT_TYPE

    Fields inherited from class javax.faces.component.UIInput

    CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME

    Fields inherited from class javax.faces.component.UIComponent

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
  • Constructor Summary

    Constructors 
    Constructor Description
    MonacoEditorBase​(String rendererType)  
  • Method Summary

    Modifier and Type Method Description
    String getBasename()  
    String getDefaultEventName()  
    String getDirectory()  
    EditorOptions getEditorOptions()  
    abstract Collection<String> getEventNames()  
    String getExtension()  
    String getFamily()  
    String getHeight()  
    String getOnblur()  
    String getOnchange()  
    String getOnfocus()  
    String getOnkeydown()  
    String getOnkeypress()  
    String getOnkeyup()  
    String getOnmousedown()  
    String getOnmousemove()  
    String getOnmouseup()  
    String getOnpaste()  
    String getTabindex()  
    String getUiLanguage()  
    String getUiLanguageUri()  
    String getWidgetVar()  
    String getWidth()  
    boolean isAutoResize()  
    boolean isDisabled()  
    boolean isReadonly()  
    String resolveWidgetVar()  
    void setAutoResize​(boolean autoResize)  
    void setBasename​(String basename)  
    void setDirectory​(String directory)  
    void setDisabled​(boolean disabled)  
    void setEditorOptions​(EditorOptions editorOptions)  
    void setExtension​(String extension)  
    void setHeight​(String height)  
    void setOnblur​(String onblur)  
    void setOnchange​(String onchange)  
    void setOnfocus​(String onfocus)  
    void setOnkeydown​(String onkeydown)  
    void setOnkeypress​(String onkeypress)  
    void setOnkeyup​(String onkeyup)  
    void setOnmousedown​(String onmousedown)  
    void setOnmousemove​(String onmousemove)  
    void setOnmouseup​(String onmouseup)  
    void setOnpaste​(String onpaste)  
    void setReadonly​(boolean readonly)  
    void setTabindex​(String tabindex)  
    void setUiLanguage​(String uiLanguage)  
    void setUiLanguageUri​(String uiLanguageUri)  
    void setWidgetVar​(String widgetVar)  
    void setWidth​(String width)  

    Methods inherited from class javax.faces.component.html.HtmlInputTextarea

    getAccesskey, getCols, getDir, getLabel, getLang, getOnclick, getOndblclick, getOnmouseout, getOnmouseover, getOnselect, getRole, getRows, getStyle, getStyleClass, getTitle, setAccesskey, setCols, setDir, setLabel, setLang, setOnclick, setOndblclick, setOnmouseout, setOnmouseover, setOnselect, setRole, setRows, setStyle, setStyleClass, 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, saveState, 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

    Methods inherited from interface javax.faces.component.ValueHolder

    getConverter, getLocalValue, setConverter
  • Field Details

  • Constructor Details

  • Method Details

    • getFamily

      public final String getFamily()
      Overrides:
      getFamily in class javax.faces.component.UIInput
    • getEventNames

      public abstract Collection<String> getEventNames()
      Specified by:
      getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
      Overrides:
      getEventNames in class javax.faces.component.html.HtmlInputTextarea
    • getDefaultEventName

      public final String getDefaultEventName()
      Specified by:
      getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
      Overrides:
      getDefaultEventName in class javax.faces.component.html.HtmlInputTextarea
    • resolveWidgetVar

      public final String resolveWidgetVar()
      Specified by:
      resolveWidgetVar in interface org.primefaces.component.api.Widget
    • getWidgetVar

      public final String getWidgetVar()
    • setWidgetVar

      public final void setWidgetVar​(String widgetVar)
    • isReadonly

      public final boolean isReadonly()
      Overrides:
      isReadonly in class javax.faces.component.html.HtmlInputTextarea
    • setReadonly

      public final void setReadonly​(boolean readonly)
      Overrides:
      setReadonly in class javax.faces.component.html.HtmlInputTextarea
    • isDisabled

      public final boolean isDisabled()
      Overrides:
      isDisabled in class javax.faces.component.html.HtmlInputTextarea
    • setDisabled

      public final void setDisabled​(boolean disabled)
      Overrides:
      setDisabled in class javax.faces.component.html.HtmlInputTextarea
    • getTabindex

      public final String getTabindex()
      Overrides:
      getTabindex in class javax.faces.component.html.HtmlInputTextarea
    • setTabindex

      public final void setTabindex​(String tabindex)
      Overrides:
      setTabindex in class javax.faces.component.html.HtmlInputTextarea
    • isAutoResize

      public final boolean isAutoResize()
    • setAutoResize

      public final void setAutoResize​(boolean autoResize)
    • getUiLanguage

      public String getUiLanguage()
    • setUiLanguage

      public final void setUiLanguage​(String uiLanguage)
    • getUiLanguageUri

      public final String getUiLanguageUri()
    • setUiLanguageUri

      public final void setUiLanguageUri​(String uiLanguageUri)
    • getWidth

      public final String getWidth()
    • setWidth

      public final void setWidth​(String width)
    • getHeight

      public final String getHeight()
    • setHeight

      public final void setHeight​(String height)
    • getExtension

      public final String getExtension()
    • setExtension

      public final void setExtension​(String extension)
    • getBasename

      public final String getBasename()
    • setBasename

      public final void setBasename​(String basename)
    • getDirectory

      public final String getDirectory()
    • setDirectory

      public final void setDirectory​(String directory)
    • getEditorOptions

      public final EditorOptions getEditorOptions()
    • setEditorOptions

      public final void setEditorOptions​(EditorOptions editorOptions)
    • getOnpaste

      public final String getOnpaste()
    • setOnpaste

      public final void setOnpaste​(String onpaste)
    • getOnchange

      public final String getOnchange()
      Overrides:
      getOnchange in class javax.faces.component.html.HtmlInputTextarea
    • setOnchange

      public final void setOnchange​(String onchange)
      Overrides:
      setOnchange in class javax.faces.component.html.HtmlInputTextarea
    • getOnfocus

      public final String getOnfocus()
      Overrides:
      getOnfocus in class javax.faces.component.html.HtmlInputTextarea
    • setOnfocus

      public final void setOnfocus​(String onfocus)
      Overrides:
      setOnfocus in class javax.faces.component.html.HtmlInputTextarea
    • getOnblur

      public final String getOnblur()
      Overrides:
      getOnblur in class javax.faces.component.html.HtmlInputTextarea
    • setOnblur

      public final void setOnblur​(String onblur)
      Overrides:
      setOnblur in class javax.faces.component.html.HtmlInputTextarea
    • getOnmousemove

      public final String getOnmousemove()
      Overrides:
      getOnmousemove in class javax.faces.component.html.HtmlInputTextarea
    • setOnmousemove

      public final void setOnmousemove​(String onmousemove)
      Overrides:
      setOnmousemove in class javax.faces.component.html.HtmlInputTextarea
    • getOnmouseup

      public final String getOnmouseup()
      Overrides:
      getOnmouseup in class javax.faces.component.html.HtmlInputTextarea
    • setOnmouseup

      public final void setOnmouseup​(String onmouseup)
      Overrides:
      setOnmouseup in class javax.faces.component.html.HtmlInputTextarea
    • getOnmousedown

      public final String getOnmousedown()
      Overrides:
      getOnmousedown in class javax.faces.component.html.HtmlInputTextarea
    • setOnmousedown

      public final void setOnmousedown​(String onmousedown)
      Overrides:
      setOnmousedown in class javax.faces.component.html.HtmlInputTextarea
    • getOnkeyup

      public final String getOnkeyup()
      Overrides:
      getOnkeyup in class javax.faces.component.html.HtmlInputTextarea
    • setOnkeyup

      public final void setOnkeyup​(String onkeyup)
      Overrides:
      setOnkeyup in class javax.faces.component.html.HtmlInputTextarea
    • getOnkeydown

      public final String getOnkeydown()
      Overrides:
      getOnkeydown in class javax.faces.component.html.HtmlInputTextarea
    • setOnkeydown

      public final void setOnkeydown​(String onkeydown)
      Overrides:
      setOnkeydown in class javax.faces.component.html.HtmlInputTextarea
    • getOnkeypress

      public final String getOnkeypress()
      Overrides:
      getOnkeypress in class javax.faces.component.html.HtmlInputTextarea
    • setOnkeypress

      public final void setOnkeypress​(String onkeypress)
      Overrides:
      setOnkeypress in class javax.faces.component.html.HtmlInputTextarea