chrriis.dj.nativeswing.swtimpl.components
Class JHTMLEditor.TinyMCEOptions

java.lang.Object
  extended by chrriis.dj.nativeswing.swtimpl.components.JHTMLEditor.TinyMCEOptions
Enclosing class:
JHTMLEditor

public static class JHTMLEditor.TinyMCEOptions
extends Object


Method Summary
static NSOption setCustomHTMLHeaders(String customHTMLHeaders)
          Set custom HTML headers, which is mostly useful when integrating certain TinyMCE plugins.
static NSOption setOptions(Map<String,String> optionMap)
          Create an option to set TinyMCE editor options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setCustomHTMLHeaders

public static NSOption setCustomHTMLHeaders(String customHTMLHeaders)
Set custom HTML headers, which is mostly useful when integrating certain TinyMCE plugins.


setOptions

public static NSOption setOptions(Map<String,String> optionMap)
Create an option to set TinyMCE editor options.
The list of possible options to set for TinyMCE can be found here: http://wiki.moxiecode.com/index.php/TinyMCE:Configuration.

Parameters:
optionMap - a map containing the key/value pairs accepted by TinyMCE.
Returns:
the option to set the options.