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, setSelector
add, getJQueryLibrarySettings, renderOnDomReadyScript, renderPriorityHeaderItem, toString
public CustomTooltipBehavior()
public CustomTooltipBehavior(com.googlecode.wicket.jquery.core.Options options)
options
- the Options
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 quote(String content)
content
- the content, likely htmlprotected String $()
$
in class TooltipBehavior
Copyright © 2016 7thWeb. All rights reserved.