|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.behavior.AbstractBehavior
wicket.contrib.tinymce.TinyMceBehavior
wicket.contrib.tinymce.InPlaceEditBehavior
public class InPlaceEditBehavior
This behavior adds in-place editing functionality to wicket components. In most cases you will want to use
InPlaceEditComponent instead of this class directly.
| Constructor Summary | |
|---|---|
InPlaceEditBehavior(TinyMCESettings settings,
org.apache.wicket.Component triggerComponent)
Construct in-place-editing behavior to a component. |
|
| Method Summary | |
|---|---|
protected String |
getRenderJavascript(org.apache.wicket.markup.html.IHeaderResponse response)
|
protected String |
getRenderOnDomReadyJavascript(org.apache.wicket.markup.html.IHeaderResponse response)
|
String |
getStartEditorScriptName()
|
| Methods inherited from class wicket.contrib.tinymce.TinyMceBehavior |
|---|
bind, getAddTinyMceSettingsScript, getComponent, isMarkupIdRequired, renderHead |
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
|---|
afterRender, beforeRender, cleanup, detach, detachModel, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onException, onRendered, rendered |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InPlaceEditBehavior(TinyMCESettings settings,
org.apache.wicket.Component triggerComponent)
settings - TinyMceSettings for the editor when opened.triggerComponent - Component that will get an onclick event to make the component that this behavior is added to
editable. Can be the editable component itself, but can also be another component, e.g. a button. If
set to null, you will have to start the editable state via a call to the javascriptfunction with name:
getStartEditorScriptName()| Method Detail |
|---|
protected String getRenderOnDomReadyJavascript(org.apache.wicket.markup.html.IHeaderResponse response)
getRenderOnDomReadyJavascript in class TinyMceBehaviorprotected String getRenderJavascript(org.apache.wicket.markup.html.IHeaderResponse response)
getRenderJavascript in class TinyMceBehaviorpublic final String getStartEditorScriptName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||