Class HtmlEditor
- 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.component.api.AbstractPrimeHtmlInputTextArea
-
- de.xima.fc.gui.component.htmleditor.HtmlEditor
-
- 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
public class HtmlEditor extends org.primefaces.component.api.AbstractPrimeHtmlInputTextArea implements javax.faces.component.behavior.ClientBehaviorHolder, org.primefaces.component.api.Widget
An HTML editor component which may be implemented by different libraries.- Since:
- 8.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
HtmlEditor.PropertyKeys
Properties for theHtmlEditor
.
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE
static String
EVENT_DIRTY
static String
EVENT_INITIALIZE
static String
EVENT_SAVE
static String
EVENT_SOURCE_MODE
static String
EVENT_WYSIWYG_MODE
-
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 HtmlEditor()
-
Method Summary
-
Methods inherited from class org.primefaces.component.api.AbstractPrimeHtmlInputTextArea
getInputmode, getOncontextmenu, getOncopy, getOncut, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOninput, getOninvalid, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnwheel, setInputmode, setOncontextmenu, setOncopy, setOncut, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOninput, setOninvalid, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnwheel
-
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, getTitle, isDisabled, setAccesskey, setCols, setDir, setDisabled, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, 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
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
EVENT_DIRTY
public static final String EVENT_DIRTY
- See Also:
- Constant Field Values
-
EVENT_INITIALIZE
public static final String EVENT_INITIALIZE
- See Also:
- Constant Field Values
-
EVENT_SAVE
public static final String EVENT_SAVE
- See Also:
- Constant Field Values
-
EVENT_SOURCE_MODE
public static final String EVENT_SOURCE_MODE
- See Also:
- Constant Field Values
-
EVENT_WYSIWYG_MODE
public static final String EVENT_WYSIWYG_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentsCss
public String getContentsCss()
-
getCustomConfig
public String getCustomConfig()
-
getDefaultEventName
public String getDefaultEventName()
- Specified by:
getDefaultEventName
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getDefaultEventName
in classjavax.faces.component.html.HtmlInputTextarea
-
getDefaultLanguage
public String getDefaultLanguage()
-
getEnterMode
public String getEnterMode()
-
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classorg.primefaces.component.api.AbstractPrimeHtmlInputTextArea
-
getFamily
public String getFamily()
- Overrides:
getFamily
in classjavax.faces.component.UIInput
-
getFileBrowserUploadUrl
public String getFileBrowserUploadUrl()
-
getFont
public String getFont()
-
getFontSize
public String getFontSize()
-
getHeight
public String getHeight()
-
getInterfaceColor
public String getInterfaceColor()
-
getLanguage
public String getLanguage()
-
getPlaceholder
public String getPlaceholder()
-
getShiftEnterMode
public String getShiftEnterMode()
-
getSkin
public String getSkin()
-
getTabindex
public String getTabindex()
- Overrides:
getTabindex
in classjavax.faces.component.html.HtmlInputTextarea
-
getTheme
public String getTheme()
-
getToolbar
public String getToolbar()
-
getWidgetVar
public String getWidgetVar()
-
getWidth
public String getWidth()
-
isAdvancedContentFilter
public boolean isAdvancedContentFilter()
-
isDisableNativeSpellChecker
public boolean isDisableNativeSpellChecker()
-
isEscape
public boolean isEscape()
-
isReadonly
public boolean isReadonly()
- Overrides:
isReadonly
in classjavax.faces.component.html.HtmlInputTextarea
-
setAdvancedContentFilter
public void setAdvancedContentFilter(boolean acf)
-
setContentsCss
public void setContentsCss(String contentsCss)
-
setCustomConfig
public void setCustomConfig(String customConfig)
-
setDefaultLanguage
public void setDefaultLanguage(String defaultLanguage)
-
setDisableNativeSpellChecker
public void setDisableNativeSpellChecker(boolean spellCheck)
-
setEnterMode
public void setEnterMode(String enterMode)
-
setEscape
public void setEscape(boolean escape)
-
setFileBrowserUploadUrl
public void setFileBrowserUploadUrl(String fileBrowserUploadUrl)
-
setFont
public void setFont(String font)
-
setFontSize
public void setFontSize(String fontSize)
-
setHeight
public void setHeight(String height)
-
setInterfaceColor
public void setInterfaceColor(String interfaceColor)
-
setLanguage
public void setLanguage(String language)
-
setPlaceholder
public void setPlaceholder(String placeholder)
-
setReadonly
public void setReadonly(boolean readonly)
- Overrides:
setReadonly
in classjavax.faces.component.html.HtmlInputTextarea
-
setShiftEnterMode
public void setShiftEnterMode(String shiftEnterMode)
-
setSkin
public void setSkin(String skin)
-
setTabindex
public void setTabindex(String tabindex)
- Overrides:
setTabindex
in classjavax.faces.component.html.HtmlInputTextarea
-
setTheme
public void setTheme(String theme)
-
setToolbar
public void setToolbar(String toolbar)
-
setWidgetVar
public void setWidgetVar(String widgetVar)
-
setWidth
public void setWidth(String width)
-
-