Interface I_CmsHasPlaceholder

All Known Implementing Classes:
CmsCodeMirrorWidget, CmsComboBox, CmsComboWidget, CmsFocusAwareTextBox, CmsFormWidgetWrapper, CmsPasswordWidget, CmsPropertyComboBox, CmsSelectComboBox, CmsSelectComboWidget, CmsTextArea, CmsTextareaWidget, CmsTextBox, CmsTextboxWidget, CmsTinyMCEWidget, CmsTinyMCEWidget, WidgetWrapper

public interface I_CmsHasPlaceholder
Interface for setting the placeholder in widgets which support it.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setPlaceholder(String placeholder)
    Sets the placeholder in the widget.
  • Method Details

    • setPlaceholder

      void setPlaceholder(String placeholder)
      Sets the placeholder in the widget.

      This *should* be called before the widget is actually attached to the DOM, as it is required by some of the implementations.

      Parameters:
      placeholder - the placeholder string (null or empty for no placeholder)