|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput javax.faces.component.UIInput javax.faces.component.html.HtmlInputText org.apache.myfaces.component.html.ext.AbstractHtmlInputText org.apache.myfaces.component.html.ext.HtmlInputText org.apache.myfaces.custom.inputHtml.InputHtml
@JSFComponent(name="t:inputHtml", tagClass="org.apache.myfaces.custom.inputHtml.InputHtmlTag", composite=true) public class InputHtml
HTML Editor using the kupu library. http://kupu.oscom.org/ An inline HTML based word processor based on the Kupu library. See http://kupu.oscom.org Right now, the support is limited to one editor per page (but you can use tabs to have multiple editors, but only one rendered at a time). Unless otherwise specified, all attributes accept static values or EL expressions.
Nested Class Summary | |
---|---|
protected static class |
InputHtml.PropertyKeys
|
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class org.apache.myfaces.component.html.ext.HtmlInputText |
---|
COMPONENT_FAMILY |
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 |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable |
---|
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR |
Constructor Summary | |
---|---|
InputHtml()
|
Method Summary | |
---|---|
String |
createUniqueId(javax.faces.context.FacesContext context,
String seed)
|
String |
getDisplayValueOnlyText()
|
String |
getEncodedText()
|
String |
getFallback()
Use a text area instead of the javascript HTML editor. |
String |
getFallbackText()
|
String |
getFormId()
|
String |
getHiddenText()
|
String |
getKupuConfig()
|
String |
getType()
The type of the value. |
String |
getValueAsHtmlDocument(javax.faces.context.FacesContext context)
|
String |
getValueFromDocument(String text)
|
boolean |
isAddKupuLogo()
Show the Kupu Logo in the buttons bar. |
boolean |
isAllowEditSource()
Allows the user to edit the HTML source code. |
boolean |
isAllowExternalLinks()
Allows the user to insert external links. |
boolean |
isShowAllToolBoxes()
Shortcut to avoid setting all the showXXToolBox to true. |
boolean |
isShowAnyToolBox()
|
boolean |
isShowCleanupExpressionsToolBox()
Show the Cleanup Expressions tool box next to the text. |
boolean |
isShowDebugToolBox()
Show the Debug tool box next to the text. |
boolean |
isShowImagesToolBox()
Show the Images tool box next to the text. |
boolean |
isShowLinksToolBox()
Show the Links tool box next to the text. |
boolean |
isShowPropertiesToolBox()
Show the Properties tool box next to the text. |
boolean |
isShowTablesToolBox()
Show the Tables tool box next to the text. |
boolean |
isTypeDocument()
|
void |
processEvent(javax.faces.event.ComponentSystemEvent event)
|
void |
setAddKupuLogo(boolean addKupuLogo)
|
void |
setAllowEditSource(boolean allowEditSource)
|
void |
setAllowExternalLinks(boolean allowExternalLinks)
|
void |
setFallback(String _fallback)
|
void |
setRendererType(String rendererType)
|
void |
setShowAllToolBoxes(boolean showAllToolBoxes)
|
void |
setShowCleanupExpressionsToolBox(boolean showCleanupExpressionsToolBox)
|
void |
setShowDebugToolBox(boolean showTablesToolBox)
|
void |
setShowImagesToolBox(boolean showImagesToolBox)
|
void |
setShowLinksToolBox(boolean showLinksToolBox)
|
void |
setShowPropertiesToolBox(boolean showPropertiesToolBox)
|
void |
setShowTablesToolBox(boolean showTablesToolBox)
|
void |
setType(String _type)
|
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlInputText |
---|
addClientBehavior, getAccesskey, getAlign, getAlt, getAutocomplete, getDatafld, getDataformatas, getDatasrc, getDir, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getFamily, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, getVisibleOnUserRole, isDisabled, isDisabledOnClientSide, isForceId, isForceIdIndex, isReadonly, setAccesskey, setAlign, setAlt, setAutocomplete, setDatafld, setDataformatas, setDatasrc, setDir, setDisabled, setDisabledOnClientSide, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setForceId, setForceIdIndex, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle, setValueBinding, setValueExpression, setVisibleOnUserRole |
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlInputText |
---|
getClientId, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly |
Methods inherited from class javax.faces.component.html.HtmlInputText |
---|
getDefaultEventName, getEventNames |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, 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 |
---|
addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setTransient, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent |
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, setConverter |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public InputHtml()
Method Detail |
---|
public void setRendererType(String rendererType)
setRendererType
in class javax.faces.component.UIComponentBase
public void processEvent(javax.faces.event.ComponentSystemEvent event)
processEvent
in interface javax.faces.event.ComponentSystemEventListener
processEvent
in class javax.faces.component.UIComponent
public String getKupuConfig()
public String getDisplayValueOnlyText()
public String getFallbackText()
public String getHiddenText()
public String getFormId()
public String getEncodedText()
public String createUniqueId(javax.faces.context.FacesContext context, String seed)
createUniqueId
in interface javax.faces.component.UniqueIdVendor
public String getFallback()
public void setFallback(String _fallback)
public String getType()
public void setType(String _type)
public boolean isTypeDocument()
public boolean isAllowEditSource()
public void setAllowEditSource(boolean allowEditSource)
public boolean isAllowExternalLinks()
public void setAllowExternalLinks(boolean allowExternalLinks)
public boolean isAddKupuLogo()
public void setAddKupuLogo(boolean addKupuLogo)
public boolean isShowAllToolBoxes()
public void setShowAllToolBoxes(boolean showAllToolBoxes)
public boolean isShowPropertiesToolBox()
public void setShowPropertiesToolBox(boolean showPropertiesToolBox)
public boolean isShowLinksToolBox()
public void setShowLinksToolBox(boolean showLinksToolBox)
public boolean isShowImagesToolBox()
public void setShowImagesToolBox(boolean showImagesToolBox)
public boolean isShowTablesToolBox()
public void setShowTablesToolBox(boolean showTablesToolBox)
public boolean isShowCleanupExpressionsToolBox()
public void setShowCleanupExpressionsToolBox(boolean showCleanupExpressionsToolBox)
public boolean isShowDebugToolBox()
public void setShowDebugToolBox(boolean showTablesToolBox)
public boolean isShowAnyToolBox()
public String getValueAsHtmlDocument(javax.faces.context.FacesContext context)
public String getValueFromDocument(String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |