org.opencms.widgets
Class CmsInputWidgetPlaintext

java.lang.Object
  extended byorg.opencms.widgets.A_CmsWidget
      extended byorg.opencms.widgets.CmsInputWidget
          extended byorg.opencms.widgets.CmsInputWidgetPlaintext
All Implemented Interfaces:
I_CmsWidget

public final class CmsInputWidgetPlaintext
extends CmsInputWidget

CmsInputWidget that strips HTML Tags from the input before storing values.

Since:
6.3.0
Version:
$Revision: 1.4 $
Author:
Achim Westermann

Field Summary
 
Fields inherited from class org.opencms.widgets.A_CmsWidget
HELP_POSTFIX, LABEL_PREFIX
 
Constructor Summary
CmsInputWidgetPlaintext()
          Defcon.
 
Method Summary
 I_CmsWidget newInstance()
          Creates a duplicate of this widget instance.
 void setEditorValue(CmsObject cms, java.util.Map formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
          Sets the value of in the given widget parameter by reading the "right" value from the offered map of parameters.
 
Methods inherited from class org.opencms.widgets.CmsInputWidget
getDialogWidget
 
Methods inherited from class org.opencms.widgets.A_CmsWidget
equals, getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setConfiguration
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsInputWidgetPlaintext

public CmsInputWidgetPlaintext()
Defcon.

Method Detail

newInstance

public I_CmsWidget newInstance()
Description copied from interface: I_CmsWidget
Creates a duplicate of this widget instance.

Specified by:
newInstance in interface I_CmsWidget
Overrides:
newInstance in class CmsInputWidget
See Also:
CmsInputWidget.newInstance()

setEditorValue

public void setEditorValue(CmsObject cms,
                           java.util.Map formParameters,
                           I_CmsWidgetDialog widgetDialog,
                           I_CmsWidgetParameter param)
Description copied from interface: I_CmsWidget
Sets the value of in the given widget parameter by reading the "right" value from the offered map of parameters.

Specified by:
setEditorValue in interface I_CmsWidget
Overrides:
setEditorValue in class A_CmsWidget
See Also:
A_CmsWidget.setEditorValue(org.opencms.file.CmsObject, java.util.Map, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)