|
||||||||||
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
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.
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 |
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 |
getFallback()
Use a text area instead of the javascript HTML editor. |
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 |
restoreState(javax.faces.context.FacesContext context,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAddKupuLogo(boolean addKupuLogo)
|
void |
setAllowEditSource(boolean allowEditSource)
|
void |
setAllowExternalLinks(boolean allowExternalLinks)
|
void |
setFallback(String _fallback)
|
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 |
---|
getAlign, getAutocomplete, getDatafld, getDataformatas, getDatasrc, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getFamily, getVisibleOnUserRole, isDisabledOnClientSide, isForceId, isForceIdIndex, setAlign, setAutocomplete, setDatafld, setDataformatas, setDatasrc, setDisabledOnClientSide, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setForceId, setForceIdIndex, 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 |
---|
getAccesskey, getAlt, getDir, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setDir, setDisabled, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, 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, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
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.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 Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class org.apache.myfaces.component.html.ext.HtmlInputText
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class org.apache.myfaces.component.html.ext.HtmlInputText
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 |