org.opencms.widgets
Class CmsTypeComboWidget

java.lang.Object
  extended by org.opencms.widgets.A_CmsWidget
      extended by org.opencms.widgets.A_CmsSelectWidget
          extended by org.opencms.widgets.CmsComboWidget
              extended by org.opencms.widgets.CmsTypeComboWidget
All Implemented Interfaces:
I_CmsWidget

public class CmsTypeComboWidget
extends CmsComboWidget

A widget for selecting resource types which are direct editable.


Field Summary
 
Fields inherited from class org.opencms.widgets.A_CmsSelectWidget
CONFIGURATION_HEIGHT
 
Fields inherited from class org.opencms.widgets.A_CmsWidget
HELP_POSTFIX, LABEL_PREFIX
 
Constructor Summary
CmsTypeComboWidget()
          Default constructor.
CmsTypeComboWidget(java.lang.String config)
          Constructor with a configuration parameter.
 
Method Summary
 I_CmsWidget newInstance()
          Creates a duplicate of this widget instance.
 void setConfiguration(java.lang.String config)
          Sets the configuration of this widget.
 
Methods inherited from class org.opencms.widgets.CmsComboWidget
getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogWidget
 
Methods inherited from class org.opencms.widgets.A_CmsSelectWidget
addSelectOption, getConfiguration, getHeight, getSelectedValue, getSelectedValues, getSelectOptions, parseSelectOptions, setSelectOptions
 
Methods inherited from class org.opencms.widgets.A_CmsWidget
equals, 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

CmsTypeComboWidget

public CmsTypeComboWidget()
Default constructor.


CmsTypeComboWidget

public CmsTypeComboWidget(java.lang.String config)
Constructor with a configuration parameter.

Parameters:
config - the configuration string
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 CmsComboWidget
Returns:
a duplicate of this widget instance
See Also:
I_CmsWidget.newInstance()

setConfiguration

public void setConfiguration(java.lang.String config)
Description copied from interface: I_CmsWidget
Sets the configuration of this widget.

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.

Specified by:
setConfiguration in interface I_CmsWidget
Overrides:
setConfiguration in class A_CmsSelectWidget
Parameters:
config - the configuration to set
See Also:
A_CmsWidget.setConfiguration(java.lang.String)