public class BootstrapTooltip extends Object implements com.helger.html.hc.IHCNodeBuilder
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ANIMATION |
static boolean |
DEFAULT_HTML |
static EBootstrapTooltipPosition |
DEFAULT_PLACEMENT |
static boolean |
DEFAULT_PLACEMENT_AUTO |
static Set<EBootstrapTooltipTrigger> |
DEFAULT_TRIGGER |
| Constructor and Description |
|---|
BootstrapTooltip(com.helger.html.hc.IHCElement<?> aElement) |
BootstrapTooltip(com.helger.html.js.builder.jquery.IJQuerySelector aSelector) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.html.hc.IHCNode |
build() |
static com.helger.html.hc.IHCNode |
createSimpleTooltip(com.helger.html.hc.IHCNode... aTitle) |
static com.helger.html.hc.IHCNode |
createSimpleTooltip(com.helger.html.hc.IHCNode aTitle) |
static com.helger.html.hc.IHCNode |
createSimpleTooltip(Iterable<? extends com.helger.html.hc.IHCNode> aTitle) |
static com.helger.html.hc.IHCNode |
createSimpleTooltip(String sTitle) |
com.helger.html.js.builder.jquery.IJQuerySelector |
getContainer() |
int |
getHideDelay() |
com.helger.html.js.builder.JSAssocArray |
getJSOptions() |
com.helger.html.js.builder.JSAnonymousFunction |
getPlacementFunction() |
EBootstrapTooltipPosition |
getPlacementPosition() |
String |
getSelector() |
int |
getShowDelay() |
com.helger.html.js.builder.JSAnonymousFunction |
getTitleFunction() |
String |
getTitleString() |
List<EBootstrapTooltipTrigger> |
getTrigger() |
boolean |
isAnimation() |
boolean |
isHTML() |
boolean |
isPlacementAuto() |
com.helger.html.js.builder.JSInvocation |
jsAttach() |
com.helger.html.js.builder.JSInvocation |
jsDestroy() |
com.helger.html.js.builder.JSInvocation |
jsHide() |
com.helger.html.js.builder.JSInvocation |
jsInvoke() |
com.helger.html.js.builder.JSInvocation |
jsShow() |
com.helger.html.js.builder.JSInvocation |
jsToggle() |
BootstrapTooltip |
setAnimation(boolean bAnimation) |
BootstrapTooltip |
setContainer(com.helger.html.EHTMLElement eContainer) |
BootstrapTooltip |
setContainer(com.helger.html.js.builder.jquery.IJQuerySelector aContainer) |
BootstrapTooltip |
setDelay(int nDelay) |
BootstrapTooltip |
setDelay(int nShowDelay,
int nHideDelay) |
BootstrapTooltip |
setHTML(boolean bHTML) |
BootstrapTooltip |
setPlacement(EBootstrapTooltipPosition ePosition,
boolean bAutoAlign) |
BootstrapTooltip |
setPlacement(com.helger.html.js.builder.JSAnonymousFunction aFunction) |
BootstrapTooltip |
setSelector(String sSelector) |
BootstrapTooltip |
setTitle(com.helger.html.hc.IHCNode aTitle) |
BootstrapTooltip |
setTitle(com.helger.html.js.builder.JSAnonymousFunction aFunction) |
BootstrapTooltip |
setTitle(String sTitle) |
BootstrapTooltip |
setTrigger(Collection<EBootstrapTooltipTrigger> aTrigger) |
BootstrapTooltip |
setTrigger(EBootstrapTooltipTrigger... aTrigger) |
public static final boolean DEFAULT_ANIMATION
public static final boolean DEFAULT_HTML
public static final EBootstrapTooltipPosition DEFAULT_PLACEMENT
public static final boolean DEFAULT_PLACEMENT_AUTO
public static final Set<EBootstrapTooltipTrigger> DEFAULT_TRIGGER
public BootstrapTooltip(@Nonnull com.helger.html.hc.IHCElement<?> aElement)
public BootstrapTooltip(@Nonnull com.helger.html.js.builder.jquery.IJQuerySelector aSelector)
public boolean isAnimation()
@Nonnull public BootstrapTooltip setAnimation(boolean bAnimation)
public boolean isHTML()
@Nonnull public BootstrapTooltip setHTML(boolean bHTML)
@Nullable public EBootstrapTooltipPosition getPlacementPosition()
public boolean isPlacementAuto()
@Nullable public com.helger.html.js.builder.JSAnonymousFunction getPlacementFunction()
@Nonnull public BootstrapTooltip setPlacement(@Nonnull EBootstrapTooltipPosition ePosition, boolean bAutoAlign)
@Nonnull public BootstrapTooltip setPlacement(@Nonnull com.helger.html.js.builder.JSAnonymousFunction aFunction)
aFunction - Callback function with 3 parameters:
(this, $tip[0], this.$element[0])@Nonnull public BootstrapTooltip setSelector(@Nullable String sSelector)
@Nullable public com.helger.html.js.builder.JSAnonymousFunction getTitleFunction()
@Nonnull public BootstrapTooltip setTitle(@Nullable String sTitle)
@Nonnull public BootstrapTooltip setTitle(@Nullable com.helger.html.hc.IHCNode aTitle)
@Nonnull public BootstrapTooltip setTitle(@Nullable com.helger.html.js.builder.JSAnonymousFunction aFunction)
aFunction - Callback function with 1 parameter: (this.$element[0])@Nullable @ReturnsMutableCopy public List<EBootstrapTooltipTrigger> getTrigger()
@Nonnull public BootstrapTooltip setTrigger(@Nullable EBootstrapTooltipTrigger... aTrigger)
@Nonnull public BootstrapTooltip setTrigger(@Nullable Collection<EBootstrapTooltipTrigger> aTrigger)
@Nonnegative public int getShowDelay()
@Nonnegative public int getHideDelay()
@Nonnull public BootstrapTooltip setDelay(@Nonnegative int nDelay)
@Nonnull public BootstrapTooltip setDelay(@Nonnegative int nShowDelay, @Nonnegative int nHideDelay)
@Nullable public com.helger.html.js.builder.jquery.IJQuerySelector getContainer()
@Nonnull public BootstrapTooltip setContainer(@Nonnull com.helger.html.EHTMLElement eContainer)
@Nonnull public BootstrapTooltip setContainer(@Nullable com.helger.html.js.builder.jquery.IJQuerySelector aContainer)
@Nonnull public com.helger.html.js.builder.JSAssocArray getJSOptions()
@Nonnull public com.helger.html.js.builder.JSInvocation jsInvoke()
@Nonnull public com.helger.html.js.builder.JSInvocation jsAttach()
@Nonnull public com.helger.html.js.builder.JSInvocation jsShow()
@Nonnull public com.helger.html.js.builder.JSInvocation jsHide()
@Nonnull public com.helger.html.js.builder.JSInvocation jsToggle()
@Nonnull public com.helger.html.js.builder.JSInvocation jsDestroy()
@Nullable public com.helger.html.hc.IHCNode build()
build in interface com.helger.html.hc.IHCNodeBuilder@Nonnull public static com.helger.html.hc.IHCNode createSimpleTooltip(@Nonnull String sTitle)
@Nonnull public static com.helger.html.hc.IHCNode createSimpleTooltip(@Nonnull com.helger.html.hc.IHCNode aTitle)
@Nonnull public static com.helger.html.hc.IHCNode createSimpleTooltip(@Nonnull Iterable<? extends com.helger.html.hc.IHCNode> aTitle)
Copyright © 2014–2015 Philip Helger. All rights reserved.