@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIEditor extends AbstractEditor implements javax.faces.component.behavior.ClientBehaviorHolder, CoreProps, FocusProps
The <rich:editor> component is used for creating a WYSIWYG editor on a page.
Modifier and Type | Class and Description |
---|---|
protected static class |
UIEditor.Properties |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIEditor() |
Modifier and Type | Method and Description |
---|---|
javax.faces.component.UIComponent |
getConfig()
Detailed configuration of editor in JSON format
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getHeight()
The hieght of the editor
|
String |
getLang()
Code describing the language used in the generated markup for this component.
|
String |
getOnblur()
Javascript code executed when this element loses focus.
|
String |
getOnchange()
The client-side script method to be called on blur event when editor content has been changed after previous focus
|
String |
getOndirty()
The client-side script method to be called immediately after the editor content has been changed
|
String |
getOnfocus()
Javascript code executed when this element receives focus.
|
String |
getOninit()
The client-side script method to be called once the editor is initialized and ready to be handle user interaction
|
String |
getSkin()
Set the skin of the richfaces editor.
|
String |
getStyle()
CSS style(s) to be applied when this component is rendered.
|
String |
getStyleClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
String |
getTabindex()
Position of this element in the tabbing order for the current document.
|
String |
getTitle()
Advisory title information about markup elements generated for this component.
|
String |
getToolbar()
Used to change the configuration of the toolbar's button set.
|
String |
getWidth()
The width of the editor
|
boolean |
isReadonly()
Used to switch the editor into a read-only mode.
|
void |
setConfig(javax.faces.component.UIComponent config) |
void |
setHeight(String height) |
void |
setLang(String lang) |
void |
setOnblur(String onblur) |
void |
setOnchange(String onchange) |
void |
setOndirty(String ondirty) |
void |
setOnfocus(String onfocus) |
void |
setOninit(String oninit) |
void |
setReadonly(boolean readonly) |
void |
setSkin(String skin) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTabindex(String tabindex) |
void |
setTitle(String title) |
void |
setToolbar(String toolbar) |
void |
setWidth(String width) |
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
getConverter, getLocalValue, setConverter
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public javax.faces.component.UIComponent getConfig()
AbstractEditor
getConfig
in class AbstractEditor
public void setConfig(javax.faces.component.UIComponent config)
public String getHeight()
AbstractEditor
getHeight
in class AbstractEditor
public void setHeight(String height)
public String getLang()
AbstractEditor
getLang
in class AbstractEditor
public void setLang(String lang)
public String getOnblur()
FocusProps
getOnblur
in interface FocusProps
public void setOnblur(String onblur)
public String getOnchange()
AbstractEditor
getOnchange
in class AbstractEditor
public void setOnchange(String onchange)
public String getOndirty()
AbstractEditor
getOndirty
in class AbstractEditor
public void setOndirty(String ondirty)
public String getOnfocus()
FocusProps
getOnfocus
in interface FocusProps
public void setOnfocus(String onfocus)
public String getOninit()
AbstractEditor
getOninit
in class AbstractEditor
public void setOninit(String oninit)
public boolean isReadonly()
AbstractEditor
isReadonly
in class AbstractEditor
public void setReadonly(boolean readonly)
public String getSkin()
AbstractEditor
Set the skin of the richfaces editor. Bundled skins include: richfaces, kama, v2, office2003
Default is richfaces
getSkin
in class AbstractEditor
public void setSkin(String skin)
public String getStyle()
CoreProps
public void setStyle(String style)
public String getStyleClass()
CoreProps
getStyleClass
in interface CoreProps
public void setStyleClass(String styleClass)
public String getTabindex()
FocusProps
getTabindex
in interface FocusProps
getTabindex
in class AbstractEditor
public void setTabindex(String tabindex)
public String getTitle()
CoreProps
public void setTitle(String title)
public String getToolbar()
AbstractEditor
Used to change the configuration of the toolbar's button set. There are two configurations available: basic (default), full (enables all of the features).
It is also possible to define a custom toolbar using the CKEditor toolbar configuration in a config facet
Default is basic
getToolbar
in class AbstractEditor
public void setToolbar(String toolbar)
public String getWidth()
AbstractEditor
getWidth
in class AbstractEditor
public void setWidth(String width)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.