|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.behavior.Behavior
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,
WicketSavePlugin savePlugin)
Construct in-place-editing behavior to a component. |
|
| Method Summary | |
|---|---|
protected org.apache.wicket.markup.head.HeaderItem |
wrapTinyMceSettingsScript(String settingScript,
org.apache.wicket.Component component)
Wrap the initialization script for TinyMCE into a HeaderItem. |
| Methods inherited from class wicket.contrib.tinymce.TinyMceBehavior |
|---|
bind, getAddTinyMceSettingsScript, getComponent, isMarkupIdRequired, renderHead |
| Methods inherited from class org.apache.wicket.behavior.Behavior |
|---|
afterRender, beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, onRemove, unbind |
| 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,
WicketSavePlugin savePlugin)
settings - inPlaceSaveBehavior - 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()savePlugin - | Method Detail |
|---|
protected org.apache.wicket.markup.head.HeaderItem wrapTinyMceSettingsScript(String settingScript,
org.apache.wicket.Component component)
TinyMceBehavior
wrapTinyMceSettingsScript in class TinyMceBehaviorsettingScript - the actual initialization script for TinyMCEcomponent - the target component that must be decorated with TinyMCE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||