Interface I_CmsCodeMirrorClientConfiguration


AutoBean interface that represents the configuration for the client-side CodeMirror editor widget.
  • Method Details

    • getHeight

      Gets the height, in pixels.
      Returns:
      the height (or null if no height was set)
    • getPhrasesJSON

      Gets the CodeMirror I18N phrases, as a JSON string.
      Returns:
      a JSON string containing the CodeMirror I18N phrases
    • getStartMode

      Gets the start mode.
      Returns:
      the start mode
    • setHeight

      void setHeight(Integer height)
      Sets the height in pixels.
      Parameters:
      height - the height in pixesls
    • setPhrasesJSON

      void setPhrasesJSON(String json)
      Sets the CodeMirror I18N phrases as a JSON string
      Parameters:
      json - a JSON string with the CodeMirror I18N phrases
    • setStartMode

      void setStartMode(String startMode)
      Sets the start mode.
      Parameters:
      startMode - the start mode