org.apache.myfaces.custom.inputHtml
Class InputHtml
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.HtmlInputText
|
+--org.apache.myfaces.custom.inputHtml.InputHtml
- All Implemented Interfaces:
- javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, UserRoleAware, javax.faces.component.ValueHolder
- public class InputHtml
- extends HtmlInputText
HTML Editor using the kupu library.
http://kupu.oscom.org/
- Version:
- $Revision: 1.1 $ $Date: 2005/03/26 20:31:37 $
$Log: InputHtml.java,v $
Revision 1.1 2005/03/26 20:31:37 svieujot
Rename x:htmlEditor to x:inputHtml.
Revision 1.20 2005/03/22 02:13:28 svieujot
htmlEditor : Add a showAllToolBoxes short cut.
Revision 1.19 2005/03/15 05:24:03 svieujot
Add a fallback textarea mode to the htmlEditor.
Revision 1.18 2005/03/09 04:07:22 svieujot
htmlEditor : Kupu 1.2rc2 update
Revision 1.17 2005/02/06 19:45:32 svieujot
Add allowExternalLinks attribute.
Revision 1.16 2005/02/05 18:51:21 svieujot
x:htmlEditor : Upgrade to Kupu 1.2rc1, remove formularMode (too experimental), bugfixes.
Revision 1.15 2005/01/03 03:49:31 svieujot
trim returned text
Revision 1.14 2005/01/02 20:39:16 svieujot
HtmlEditor can now process HTML documents and HTML fragments.
Revision 1.13 2004/12/24 13:21:50 matzew
organized imports
Revision 1.12 2004/12/09 05:16:44 svieujot
Simplify by extending html.ext.HtmlInputText instead of extending UIInput and implementing UserRolesAware.
Revision 1.11 2004/12/08 04:36:27 svieujot
Cancel last *source attributes, and make style and styleClass more modular.
Revision 1.10 2004/12/08 04:13:56 svieujot
Add styleSource and styleClassSource for the htmlEditor source window.
Revision 1.9 2004/12/06 04:26:07 svieujot
Make HtmlEditor UserRoleAware.
Revision 1.8 2004/12/06 03:34:57 svieujot
Typo
Revision 1.7 2004/12/06 01:03:42 svieujot
Bugfix : getter now use boolean instead of Boolean, and setters created.
Revision 1.6 2004/12/04 22:25:36 svieujot
*** empty log message ***
Revision 1.5 2004/12/04 03:26:28 svieujot
Various bug fixes
Revision 1.4 2004/12/04 00:40:25 svieujot
htmlEditor : add style and styleClass attributes.
Revision 1.3 2004/12/04 00:20:00 svieujot
htmlEditor : Add a formular mode, and more sensible defaults.
Revision 1.2 2004/12/03 21:59:09 svieujot
Initial set of htmlEditor attributes.
Revision 1.1 2004/12/02 22:28:30 svieujot
Add an x:htmlEditor based on the Kupu library.
- Author:
- Sylvain Vieujot (latest modification by $Author: svieujot $)
Fields inherited from class javax.faces.component.UIInput |
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
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, 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, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, 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, getValue, 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, getValue, setConverter |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
DEFAULT_RENDERER_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
- See Also:
- Constant Field Values
InputHtml
public InputHtml()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UIInput
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class HtmlInputText
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class HtmlInputText
getStyle
public java.lang.String getStyle()
- Overrides:
getStyle
in class javax.faces.component.html.HtmlInputText
setStyle
public void setStyle(java.lang.String style)
- Overrides:
setStyle
in class javax.faces.component.html.HtmlInputText
getStyleClass
public java.lang.String getStyleClass()
- Overrides:
getStyleClass
in class javax.faces.component.html.HtmlInputText
setStyleClass
public void setStyleClass(java.lang.String styleClass)
- Overrides:
setStyleClass
in class javax.faces.component.html.HtmlInputText
getFallback
public java.lang.String getFallback()
setFallback
public void setFallback(java.lang.String _fallback)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String _type)
isTypeDocument
public boolean isTypeDocument()
isAllowEditSource
public boolean isAllowEditSource()
setAllowEditSource
public void setAllowEditSource(boolean allowEditSource)
isAllowExternalLinks
public boolean isAllowExternalLinks()
setAllowExternalLinks
public void setAllowExternalLinks(boolean allowExternalLinks)
isAddKupuLogo
public boolean isAddKupuLogo()
setAddKupuLogo
public void setAddKupuLogo(boolean addKupuLogo)
isShowAllToolBoxes
public boolean isShowAllToolBoxes()
setShowAllToolBoxes
public void setShowAllToolBoxes(boolean showAllToolBoxes)
isShowPropertiesToolBox
public boolean isShowPropertiesToolBox()
setShowPropertiesToolBox
public void setShowPropertiesToolBox(boolean showPropertiesToolBox)
isShowLinksToolBox
public boolean isShowLinksToolBox()
setShowLinksToolBox
public void setShowLinksToolBox(boolean showLinksToolBox)
isShowImagesToolBox
public boolean isShowImagesToolBox()
setShowImagesToolBox
public void setShowImagesToolBox(boolean showImagesToolBox)
isShowTablesToolBox
public boolean isShowTablesToolBox()
setShowTablesToolBox
public void setShowTablesToolBox(boolean showTablesToolBox)
isShowCleanupExpressionsToolBox
public boolean isShowCleanupExpressionsToolBox()
setShowCleanupExpressionsToolBox
public void setShowCleanupExpressionsToolBox(boolean showCleanupExpressionsToolBox)
isShowDebugToolBox
public boolean isShowDebugToolBox()
setShowDebugToolBox
public void setShowDebugToolBox(boolean showTablesToolBox)
isShowAnyToolBox
public boolean isShowAnyToolBox()
getValueAsHtmlDocument
public java.lang.String getValueAsHtmlDocument(javax.faces.context.FacesContext context)
getValueFromDocument
public java.lang.String getValueFromDocument(java.lang.String text)