wicket.contrib.tinymce
Class TinyMceBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by wicket.contrib.tinymce.TinyMceBehavior
All Implemented Interfaces:
Serializable, IClusterable, IComponentAwareEventSink, IComponentAwareHeaderContributor
Direct Known Subclasses:
InPlaceEditBehavior

public class TinyMceBehavior
extends Behavior

Renders a component (textarea) as WYSIWYG editor, using TinyMce.

See Also:
Serialized Form

Constructor Summary
TinyMceBehavior()
           
TinyMceBehavior(TinyMCESettings settings)
           
 
Method Summary
 void bind(Component component)
           
protected  String getAddTinyMceSettingsScript(TinyMCESettings.Mode mode, Collection<Component> components)
           
protected  Component getComponent()
           
protected  String getRenderJavascript(IHeaderResponse response)
           
protected  String getRenderOnDomReadyJavascript(IHeaderResponse response)
           
protected  boolean isMarkupIdRequired()
           
 void renderHead(Component c, IHeaderResponse response)
           
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TinyMceBehavior

public TinyMceBehavior()

TinyMceBehavior

public TinyMceBehavior(TinyMCESettings settings)
Method Detail

renderHead

public void renderHead(Component c,
                       IHeaderResponse response)
Specified by:
renderHead in interface IComponentAwareHeaderContributor
Overrides:
renderHead in class Behavior

getRenderOnDomReadyJavascript

protected String getRenderOnDomReadyJavascript(IHeaderResponse response)

getRenderJavascript

protected String getRenderJavascript(IHeaderResponse response)

getAddTinyMceSettingsScript

protected String getAddTinyMceSettingsScript(TinyMCESettings.Mode mode,
                                             Collection<Component> components)

bind

public void bind(Component component)
Overrides:
bind in class Behavior

isMarkupIdRequired

protected boolean isMarkupIdRequired()

getComponent

protected Component getComponent()


Copyright © 2004-2011. All Rights Reserved.