Package org.opencms.gwt.shared
Interface I_CmsCodeMirrorClientConfiguration
-
public interface I_CmsCodeMirrorClientConfiguration
AutoBean interface that represents the configuration for the client-side CodeMirror editor widget.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Integer
getHeight()
Gets the height, in pixels.java.lang.String
getPhrasesJSON()
Gets the CodeMirror I18N phrases, as a JSON string.java.lang.String
getStartMode()
Gets the start mode.void
setHeight(java.lang.Integer height)
Sets the height in pixels.void
setPhrasesJSON(java.lang.String json)
Sets the CodeMirror I18N phrases as a JSON stringvoid
setStartMode(java.lang.String startMode)
Sets the start mode.
-
-
-
Method Detail
-
getHeight
java.lang.Integer getHeight()
Gets the height, in pixels.- Returns:
- the height (or null if no height was set)
-
getPhrasesJSON
java.lang.String getPhrasesJSON()
Gets the CodeMirror I18N phrases, as a JSON string.- Returns:
- a JSON string containing the CodeMirror I18N phrases
-
getStartMode
java.lang.String getStartMode()
Gets the start mode.- Returns:
- the start mode
-
setHeight
void setHeight(java.lang.Integer height)
Sets the height in pixels.- Parameters:
height
- the height in pixesls
-
setPhrasesJSON
void setPhrasesJSON(java.lang.String json)
Sets the CodeMirror I18N phrases as a JSON string- Parameters:
json
- a JSON string with the CodeMirror I18N phrases
-
setStartMode
void setStartMode(java.lang.String startMode)
Sets the start mode.- Parameters:
startMode
- the start mode
-
-