org.apache.myfaces.custom.inputHtml

Class InputHtml

Implemented Interfaces:
DisplayValueOnlyCapable, UserRoleAware

public class InputHtml
extends HtmlInputText

HTML Editor using the kupu library. http://kupu.oscom.org/
Version:
$Revision: 279389 $ $Date: 2005-09-07 19:58:12 +0200 (Wed, 07 Sep 2005) $
Author:
Sylvain Vieujot (latest modification by $Author: svieujot $)

Field Summary

static String
COMPONENT_TYPE
static String
DEFAULT_RENDERER_TYPE

Fields inherited from class org.apache.myfaces.component.html.ext.HtmlInputText

COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.DisplayValueOnlyCapable

DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

InputHtml()

Method Summary

String
getFallback()
String
getFamily()
String
getStyle()
String
getStyleClass()
String
getType()
String
getValueAsHtmlDocument(FacesContext context)
String
getValueFromDocument(String text)
boolean
isAddKupuLogo()
boolean
isAllowEditSource()
boolean
isAllowExternalLinks()
boolean
isShowAllToolBoxes()
boolean
isShowAnyToolBox()
boolean
isShowCleanupExpressionsToolBox()
boolean
isShowDebugToolBox()
boolean
isShowImagesToolBox()
boolean
isShowLinksToolBox()
boolean
isShowPropertiesToolBox()
boolean
isShowTablesToolBox()
boolean
isTypeDocument()
void
restoreState(FacesContext context, Object state)
Object
saveState(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
setStyle(String style)
void
setStyleClass(String styleClass)
void
setType(String _type)

Methods inherited from class org.apache.myfaces.component.html.ext.HtmlInputText

getClientId, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, restoreState, saveState, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setVisibleOnUserRole

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

DEFAULT_RENDERER_TYPE

public static final String DEFAULT_RENDERER_TYPE

Constructor Details

InputHtml

public InputHtml()

Method Details

getFallback

public String getFallback()

getFamily

public String getFamily()

getStyle

public String getStyle()

getStyleClass

public String getStyleClass()

getType

public String getType()

getValueAsHtmlDocument

public String getValueAsHtmlDocument(FacesContext context)

getValueFromDocument

public String getValueFromDocument(String text)

isAddKupuLogo

public boolean isAddKupuLogo()

isAllowEditSource

public boolean isAllowEditSource()

isAllowExternalLinks

public boolean isAllowExternalLinks()

isShowAllToolBoxes

public boolean isShowAllToolBoxes()

isShowAnyToolBox

public boolean isShowAnyToolBox()

isShowCleanupExpressionsToolBox

public boolean isShowCleanupExpressionsToolBox()

isShowDebugToolBox

public boolean isShowDebugToolBox()

isShowImagesToolBox

public boolean isShowImagesToolBox()

isShowLinksToolBox

public boolean isShowLinksToolBox()

isShowPropertiesToolBox

public boolean isShowPropertiesToolBox()

isShowTablesToolBox

public boolean isShowTablesToolBox()

isTypeDocument

public boolean isTypeDocument()

restoreState

public void restoreState(FacesContext context,
                         Object state)
Overrides:
restoreState in interface HtmlInputText

saveState

public Object saveState(FacesContext context)
Overrides:
saveState in interface HtmlInputText

setAddKupuLogo

public void setAddKupuLogo(boolean addKupuLogo)

setAllowEditSource

public void setAllowEditSource(boolean allowEditSource)

setAllowExternalLinks

public void setAllowExternalLinks(boolean allowExternalLinks)

setFallback

public void setFallback(String _fallback)

setShowAllToolBoxes

public void setShowAllToolBoxes(boolean showAllToolBoxes)

setShowCleanupExpressionsToolBox

public void setShowCleanupExpressionsToolBox(boolean showCleanupExpressionsToolBox)

setShowDebugToolBox

public void setShowDebugToolBox(boolean showTablesToolBox)

setShowImagesToolBox

public void setShowImagesToolBox(boolean showImagesToolBox)

setShowLinksToolBox

public void setShowLinksToolBox(boolean showLinksToolBox)

setShowPropertiesToolBox

public void setShowPropertiesToolBox(boolean showPropertiesToolBox)

setShowTablesToolBox

public void setShowTablesToolBox(boolean showTablesToolBox)

setStyle

public void setStyle(String style)

setStyleClass

public void setStyleClass(String styleClass)

setType

public void setType(String _type)