public class MootipBehaviour
extends org.apache.wicket.behavior.Behavior
Constructor and Description |
---|
MootipBehaviour(MootipPanel panel)
Ajax ToolTip, retrieves the panel with an ajax call.
|
MootipBehaviour(MootipPanel panel,
boolean contribute)
Ajax ToolTip, retrieves the panel with an ajax call.
|
MootipBehaviour(String title,
String content)
simple tooltip, using title as tool tip it uses this syntax for splitting
title='this will be title:this will be content' |
MootipBehaviour(String title,
String content,
boolean contribute)
simple tooltip, using title as tool tip it uses this syntax for splitting
title='this will be title:this will be content' |
Modifier and Type | Method and Description |
---|---|
void |
bind(org.apache.wicket.Component component) |
protected String |
getEscapedComponentMarkupId()
Gets the escaped DOM id that the input will get attached to.
|
boolean |
isAjax() |
void |
renderHead(org.apache.wicket.Component c,
org.apache.wicket.markup.head.IHeaderResponse response)
Add the required css and js files to the page
Also add the javascript to create the tooltip
|
void |
setMootipSettings(MootipSettings mootipSettings) |
public MootipBehaviour(MootipPanel panel)
panel
- public MootipBehaviour(MootipPanel panel, boolean contribute)
panel
- public MootipBehaviour(String title, String content)
title='this will be title:this will be content'
title
- content
- public void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
protected final String getEscapedComponentMarkupId()
public boolean isAjax()
public void renderHead(org.apache.wicket.Component c, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.behavior.Behavior
public void setMootipSettings(MootipSettings mootipSettings)
Copyright © 2015. All rights reserved.