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, options, selector
Constructor and Description |
---|
CustomTooltipBehavior()
Constructor
|
CustomTooltipBehavior(Options options)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
$() |
void |
bind(org.apache.wicket.Component component) |
protected String |
escape(String content)
Escapes the supplied content
This can be overridden to provide additional escaping |
protected abstract org.apache.wicket.markup.html.WebMarkupContainer |
newContent(String markupId)
Gets the
WebMarkupContainer which will represent the tooltip content |
onConfigure
$, $, beforeRender, getMethod, getOption, getOptions, getSelector, on, on, on, renderHead, setOption, setOptions, setSelector
add, getJQueryLibrarySettings, getToken, renderScript, toString
public void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
protected abstract org.apache.wicket.markup.html.WebMarkupContainer newContent(String markupId)
WebMarkupContainer
which will represent the tooltip contentmarkupId
- the markup-id to be usedWebMarkupContainer
protected String escape(String content)
content
- the content, likely htmlprotected String $()
$
in class TooltipBehavior
Copyright © 2014 7thWeb. All Rights Reserved.