org.wamblee.wicket.behavior
Class AbstractTooltipBehavior

java.lang.Object
  extended by org.wamblee.wicket.behavior.CompositeBehavior
      extended by org.wamblee.wicket.jquery.AbstractJQueryBehavior
          extended by org.wamblee.wicket.behavior.AbstractTooltipBehavior
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor
Direct Known Subclasses:
ServerTooltipBehavior, TitleAttributeTooltipBehavior

public class AbstractTooltipBehavior
extends AbstractJQueryBehavior

Abstract tooltip behavior providing common options for tooltips.

Author:
Erik Brakkee
See Also:
Serialized Form

Constructor Summary
AbstractTooltipBehavior(java.lang.String aFunction, org.apache.wicket.behavior.IBehavior... aBehaviors)
           
 
Method Summary
 AbstractTooltipBehavior background(java.lang.String aValue)
           
 AbstractTooltipBehavior border(java.lang.String aValue)
           
 java.lang.String getBackground()
           
 java.lang.String getBorder()
           
protected  java.lang.Object getConfigurationObject()
          Gets the configuration object to use.
 java.lang.String getPadding()
           
 AbstractTooltipBehavior padding(java.lang.String aValue)
           
 
Methods inherited from class org.wamblee.wicket.jquery.AbstractJQueryBehavior
bind, getConfigurationJavascript, getCustomSerializer, isPageAllowed, renderHead
 
Methods inherited from class org.wamblee.wicket.behavior.CompositeBehavior
add, afterRender, beforeRender, detach, exception, getStatelessHint, isEnabled, isTemporary, onComponentTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTooltipBehavior

public AbstractTooltipBehavior(java.lang.String aFunction,
                               org.apache.wicket.behavior.IBehavior... aBehaviors)
Method Detail

border

public AbstractTooltipBehavior border(java.lang.String aValue)

padding

public AbstractTooltipBehavior padding(java.lang.String aValue)

background

public AbstractTooltipBehavior background(java.lang.String aValue)

getConfigurationObject

protected java.lang.Object getConfigurationObject()
Description copied from class: AbstractJQueryBehavior
Gets the configuration object to use. This is transformed to JSON using the serializer.

Overrides:
getConfigurationObject in class AbstractJQueryBehavior
Returns:
Configuration object.

getBorder

public java.lang.String getBorder()

getPadding

public java.lang.String getPadding()

getBackground

public java.lang.String getBackground()


Copyright © 2022. All Rights Reserved.