|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.widgets.A_CmsWidget
org.opencms.widgets.CmsInputWidget
org.opencms.xml.content.TestCustomInputWidgetImpl
public class TestCustomInputWidgetImpl
Extension of the base select widget for testing the "custom widget class" function in the XML content schema annotation.
Field Summary |
---|
Fields inherited from class org.opencms.widgets.A_CmsWidget |
---|
HELP_POSTFIX, LABEL_PREFIX |
Constructor Summary | |
---|---|
TestCustomInputWidgetImpl()
Base constructor. |
|
TestCustomInputWidgetImpl(String configuration)
Base constructor with configuration String. |
Method Summary | |
---|---|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance. |
void |
setConfiguration(String configuration)
Sets the configuration of this widget. |
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, setEditorValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCustomInputWidgetImpl()
public TestCustomInputWidgetImpl(String configuration)
configuration
- the configuration String to useMethod Detail |
---|
public I_CmsWidget newInstance()
I_CmsWidget
newInstance
in interface I_CmsWidget
newInstance
in class CmsInputWidget
CmsInputWidget.newInstance()
public void setConfiguration(String configuration)
I_CmsWidget
This can be used to enable / disable certain widget features that should not always be available, or to pass specific initialization information to the widget. It depends on the widget implementation on how this information is used.
setConfiguration
in interface I_CmsWidget
setConfiguration
in class A_CmsWidget
configuration
- the configuration to setI_CmsWidget.setConfiguration(java.lang.String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |