|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.icefaces.ace.component.richtextentry.RichTextEntryBase
public class RichTextEntryBase
RichTextEntry uses the CKEditor API to provide JSF based rich text editor component.
For more information, see the RichTextEntry Wiki Documentation.
| Nested Class Summary | |
|---|---|
protected static class |
RichTextEntryBase.PropertyKeys
|
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, 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 | |
|---|---|
RichTextEntryBase()
|
|
| Method Summary | |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
java.lang.String |
getCustomConfigPath()
Return the value of the customConfigPath property. |
java.lang.String |
getDefaultEventName()
|
java.lang.String |
getDefaultExecute(java.lang.String event)
|
java.lang.String |
getDefaultRender(java.lang.String event)
|
java.util.Collection<java.lang.String> |
getEventNames()
|
java.lang.String |
getFamily()
|
java.lang.String |
getHeight()
Return the value of the height property. |
java.lang.String |
getLanguage()
Return the value of the language property. |
java.lang.String |
getSkin()
Return the value of the skin property. |
java.lang.String |
getStyle()
Return the value of the style property. |
java.lang.String |
getStyleClass()
Return the value of the styleClass property. |
java.lang.String |
getToolbar()
Return the value of the toolbar property. |
java.lang.String |
getWidth()
Return the value of the width property. |
boolean |
isDisabled()
Return the value of the disabled property. |
boolean |
isSaveOnSubmit()
Return the value of the saveOnSubmit property. |
void |
setCustomConfigPath(java.lang.String customConfigPath)
Set the value of the customConfigPath property. |
void |
setDisabled(boolean disabled)
Set the value of the disabled property. |
void |
setHeight(java.lang.String height)
Set the value of the height property. |
void |
setLanguage(java.lang.String language)
Set the value of the language property. |
void |
setSaveOnSubmit(boolean saveOnSubmit)
Set the value of the saveOnSubmit property. |
void |
setSkin(java.lang.String skin)
Set the value of the skin property. |
void |
setStyle(java.lang.String style)
Set the value of the style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property. |
void |
setToolbar(java.lang.String toolbar)
Set the value of the toolbar property. |
void |
setWidth(java.lang.String width)
Set the value of the width property. |
| Methods inherited from class javax.faces.component.UIInput |
|---|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, 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, getValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, 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 |
|---|
getClientBehaviors |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
| Constructor Detail |
|---|
public RichTextEntryBase()
| Method Detail |
|---|
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputpublic void setCustomConfigPath(java.lang.String customConfigPath)
Set the value of the customConfigPath property.
Contents: This attribute defines the path of the custom config file, the path is relative to the web app.
setCustomConfigPath in interface IRichTextEntrypublic java.lang.String getCustomConfigPath()
Return the value of the customConfigPath property.
Contents: This attribute defines the path of the custom config file, the path is relative to the web app.
getCustomConfigPath in interface IRichTextEntrypublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Boolean value to disable and re-enable the component.
setDisabled in interface IRichTextEntrypublic boolean isDisabled()
Return the value of the disabled property.
Contents: Boolean value to disable and re-enable the component. Default = 'false'.
isDisabled in interface IRichTextEntrypublic void setHeight(java.lang.String height)
Set the value of the height property.
Contents: The height of the editor. It can be expressed in the following units: px, em, %. If no unit is specified, the value is assumed to be in pixels.
setHeight in interface IRichTextEntrypublic java.lang.String getHeight()
Return the value of the height property.
Contents: The height of the editor. It can be expressed in the following units: px, em, %. If no unit is specified, the value is assumed to be in pixels. Default = '100%'.
getHeight in interface IRichTextEntrypublic void setLanguage(java.lang.String language)
Set the value of the language property.
Contents: Specifies the language to be used for the user interface.
setLanguage in interface IRichTextEntrypublic java.lang.String getLanguage()
Return the value of the language property.
Contents: Specifies the language to be used for the user interface. Default = 'en'.
getLanguage in interface IRichTextEntrypublic void setSaveOnSubmit(boolean saveOnSubmit)
Set the value of the saveOnSubmit property.
Contents: By default the data of the editor will only be saved when its 'Save' button is clicked. Any other submit request will not save its data. In order to save its data on any submit request like inputText does, this attribute can be set to true.
setSaveOnSubmit in interface IRichTextEntrypublic boolean isSaveOnSubmit()
Return the value of the saveOnSubmit property.
Contents: By default the data of the editor will only be saved when its 'Save' button is clicked. Any other submit request will not save its data. In order to save its data on any submit request like inputText does, this attribute can be set to true. Default = 'false'.
isSaveOnSubmit in interface IRichTextEntrypublic void setSkin(java.lang.String skin)
Set the value of the skin property.
Contents: Specify the pre-defined skin for the editor. Possible values are 'v2', 'office2003', and 'kama' ('default' is synonymous of 'v2').
setSkin in interface IRichTextEntrypublic java.lang.String getSkin()
Return the value of the skin property.
Contents: Specify the pre-defined skin for the editor. Possible values are 'v2', 'office2003', and 'kama' ('default' is synonymous of 'v2'). Default = 'default'.
getSkin in interface IRichTextEntrypublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Inline CSS styling for the editor.
setStyle in interface IRichTextEntrypublic java.lang.String getStyle()
Return the value of the style property.
Contents: Inline CSS styling for the editor.
getStyle in interface IRichTextEntrypublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: The CSS style class of the editor.
setStyleClass in interface IRichTextEntrypublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: The CSS style class of the editor.
getStyleClass in interface IRichTextEntrypublic void setToolbar(java.lang.String toolbar)
Set the value of the toolbar property.
Contents: Specifies the type of toolbar. There are two valid values for this field (case sensitive): 'Default' and 'Basic'.
setToolbar in interface IRichTextEntrypublic java.lang.String getToolbar()
Return the value of the toolbar property.
Contents: Specifies the type of toolbar. There are two valid values for this field (case sensitive): 'Default' and 'Basic'. Default = 'Default'.
getToolbar in interface IRichTextEntrypublic void setWidth(java.lang.String width)
Set the value of the width property.
Contents: The width of the editor. It can be expressed in the following units: px, em, %. If no unit is specified, the value is assumed to be in pixels.
setWidth in interface IRichTextEntrypublic java.lang.String getWidth()
Return the value of the width property.
Contents: The width of the editor. It can be expressed in the following units: px, em, %. If no unit is specified, the value is assumed to be in pixels. Default = '100%'.
getWidth in interface IRichTextEntrypublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolder
public void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBase
|
ICEfaces 3.3.0 Java API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||