public abstract class CustomTooltipBehavior extends TooltipBehavior
TooltipBehavior. The selector will be retrieved from the component
this behavior will be bound to, because this is a mandatory condition.METHOD| Constructor and Description |
|---|
CustomTooltipBehavior()
Constructor
|
CustomTooltipBehavior(com.googlecode.wicket.jquery.core.Options options)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
$() |
void |
bind(org.apache.wicket.Component component) |
protected abstract org.apache.wicket.markup.html.WebMarkupContainer |
newContent(String markupId)
Gets the
WebMarkupContainer which will represent the tooltip content |
protected String |
quote(String content)
Quotes (and escapes) the content
Warning: override with care |
destroy, onConfigure, onDestroy, widget, widget, widget, widget$, $, $, beforeRender, detach, getMethod, getOption, getOptions, getSelector, off, on, on, register, remove, renderHead, setOption, setOption, setOption, setOptions, setSelectoradd, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toStringpublic CustomTooltipBehavior()
public CustomTooltipBehavior(com.googlecode.wicket.jquery.core.Options options)
options - the Optionspublic void bind(org.apache.wicket.Component component)
bind in class org.apache.wicket.behavior.Behaviorprotected abstract org.apache.wicket.markup.html.WebMarkupContainer newContent(String markupId)
WebMarkupContainer which will represent the tooltip contentmarkupId - the markup id to be usedWebMarkupContainerprotected String quote(String content)
content - the content, likely htmlprotected String $()
$ in class TooltipBehaviorCopyright © 2017 7thWeb. All rights reserved.