@OutOfBandNode
public class BootstrapTooltip
extends com.helger.html.hc.html.script.HCScriptInlineOnDocumentReady
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ANIMATION |
static EBootstrapTooltipBoundary |
DEFAULT_BOUNDARY |
static EBootstrapTooltipFallbackPlacement |
DEFAULT_FALLBACK_PLACEMENT |
static boolean |
DEFAULT_HTML |
static EBootstrapTooltipPosition |
DEFAULT_PLACEMENT |
static Set<EBootstrapTooltipTrigger> |
DEFAULT_TRIGGER |
static String |
JS_EVENT_HIDDEN
This event is fired when the tooltip has finished being hidden from the user
(will wait for CSS transitions to complete).
|
static String |
JS_EVENT_HIDE
This event is fired immediately when the hide instance method has been
called.
|
static String |
JS_EVENT_INSERTED
This event is fired after the show.bs.tooltip event when the tooltip template
has been added to the DOM.
|
static String |
JS_EVENT_SHOW
This event fires immediately when the show instance method is called.
|
static String |
JS_EVENT_SHOWN
This event is fired when the tooltip has been made visible to the user (will
wait for CSS transitions to complete).
|
DEFAULT_EMIT_AFTER_FILES| Constructor and Description |
|---|
BootstrapTooltip(com.helger.html.hc.html.IHCElement<?> aElement) |
BootstrapTooltip(com.helger.html.jquery.IJQuerySelector aSelector) |
| Modifier and Type | Method and Description |
|---|---|
EBootstrapTooltipBoundary |
getBoundary() |
com.helger.html.jquery.IJQuerySelector |
getContainer() |
int |
getDelayHide() |
int |
getDelayShow() |
EBootstrapTooltipFallbackPlacement |
getFallbackPlacement() |
com.helger.html.jscode.JSAssocArray |
getJSOptions() |
String |
getOffset() |
com.helger.html.jscode.JSAnonymousFunction |
getPlacementFunction() |
EBootstrapTooltipPosition |
getPlacementPosition() |
String |
getSelector() |
com.helger.html.jscode.JSAnonymousFunction |
getTooltipTitleFunction() |
String |
getTooltipTitleString() |
com.helger.commons.collection.impl.ICommonsList<EBootstrapTooltipTrigger> |
getTrigger() |
boolean |
isAnimation() |
boolean |
isHTML() |
com.helger.html.jscode.JSInvocation |
jsAttach() |
com.helger.html.jscode.JSInvocation |
jsDisable() |
com.helger.html.jscode.JSInvocation |
jsDispose() |
com.helger.html.jscode.JSInvocation |
jsEnable() |
com.helger.html.jscode.JSInvocation |
jsHide() |
com.helger.html.jscode.JSInvocation |
jsInvoke() |
com.helger.html.jscode.JSInvocation |
jsShow() |
com.helger.html.jscode.JSInvocation |
jsToggle() |
com.helger.html.jscode.JSInvocation |
jsToggleEnabled() |
com.helger.html.jscode.JSInvocation |
jsUpdate() |
protected void |
onFinalizeNodeState(com.helger.html.hc.IHCConversionSettingsToNode aConversionSettings,
com.helger.html.hc.IHCHasChildrenMutable<?,? super com.helger.html.hc.IHCNode> aTargetNode) |
BootstrapTooltip |
setAnimation(boolean bAnimation) |
BootstrapTooltip |
setBoundary(EBootstrapTooltipBoundary eBoundary) |
BootstrapTooltip |
setContainer(com.helger.html.EHTMLElement eContainer) |
BootstrapTooltip |
setContainer(com.helger.html.jquery.IJQuerySelector aContainer) |
BootstrapTooltip |
setDelay(int nDelay) |
BootstrapTooltip |
setDelay(int nShowDelay,
int nHideDelay) |
BootstrapTooltip |
setFallbackPlacement(EBootstrapTooltipFallbackPlacement eFallbackPlacement) |
BootstrapTooltip |
setHTML(boolean bHTML) |
BootstrapTooltip |
setOffset(int nOffset) |
BootstrapTooltip |
setOffset(String sOffset) |
BootstrapTooltip |
setPlacement(EBootstrapTooltipPosition ePosition) |
BootstrapTooltip |
setPlacement(com.helger.html.jscode.JSAnonymousFunction aFunction) |
BootstrapTooltip |
setSelector(String sSelector) |
BootstrapTooltip |
setTooltipTitle(com.helger.html.hc.IHCNode aTooltipTitle) |
BootstrapTooltip |
setTooltipTitle(com.helger.html.jscode.JSAnonymousFunction aFunction) |
BootstrapTooltip |
setTooltipTitle(String sTitle) |
BootstrapTooltip |
setTrigger(Collection<EBootstrapTooltipTrigger> aTrigger) |
BootstrapTooltip |
setTrigger(EBootstrapTooltipTrigger... aTrigger) |
getOnDocumentReadyCode, setOnDocumentReadyCode, setOnDocumentReadyCode, toStringcanConvertToMicroNode, fillMicroElement, getJSCode, getJSCodeProvider, getMode, isEmitAfterFiles, setEmitAfterFiles, setInlineScript, setJSCodeProvider, setModegetCharset, getCrossOrigin, getIntegrity, getType, setCharset, setCrossOrigin, setIntegrity, setTypeaddClass, addEventHandler, addStyle, containsClass, containsEventHandler, containsStyle, createMicroElement, customAttrs, finishMicroElement, getAccessKey, getAllClasses, getAllClassesAsString, getAllClassNames, getAllStyles, getAllStylesAsString, getAllStyleValues, getContentEditable, getContextMenu, getDirection, getDraggable, getDropZone, getElement, getEventHandler, getEventMap, getID, getLanguage, getRole, getStyleValue, getTabIndex, getTagName, getTitle, getTranslate, hasAnyClass, hasAnyStyle, hasStyle, internalConvertToMicroNode, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, isValidID, onConsistencyCheck, prependEventHandler, removeAllClasses, removeAllEventHandler, removeAllStyles, removeClass, removeStyle, setAccessKey, setContentEditable, setContextMenu, setDirection, setDraggable, setDropZone, setEventHandler, setHidden, setID, setID, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setUnfocusableconsistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, findFirstChild, findFirstChildMapped, forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getChildAtIndex, getChildCount, getChildren, getFirstChild, getLastChild, getNodeState, getPlainText, hasChildren, internalSetNodeState, onCustomizeNode, onRegisterExternalResources, registerExternalResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharset, getCrossOrigin, getIntegrity, getType, setCharset, setCharset, setCrossOrigin, setIntegrity, setTypeaddEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getContextMenu, getDirection, getDraggable, getDropZone, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setContextMenu, setDirection, setDraggable, setDropZone, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusableconsistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResourcesfindFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChildforAllChildrenRecursive, forAllChildrenRecursiveforAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildrenensureID, getID, hasID, hasNoID, setID, setUniqueIDaddStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStylepublic static final String JS_EVENT_SHOW
public static final String JS_EVENT_SHOWN
public static final String JS_EVENT_HIDE
public static final String JS_EVENT_HIDDEN
public static final String JS_EVENT_INSERTED
public static final boolean DEFAULT_ANIMATION
public static final boolean DEFAULT_HTML
public static final EBootstrapTooltipPosition DEFAULT_PLACEMENT
@CodingStyleguideUnaware public static final Set<EBootstrapTooltipTrigger> DEFAULT_TRIGGER
public static final EBootstrapTooltipFallbackPlacement DEFAULT_FALLBACK_PLACEMENT
public static final EBootstrapTooltipBoundary DEFAULT_BOUNDARY
public BootstrapTooltip(@Nonnull com.helger.html.hc.html.IHCElement<?> aElement)
public BootstrapTooltip(@Nonnull com.helger.html.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()
@Nullable public com.helger.html.jscode.JSAnonymousFunction getPlacementFunction()
@Nonnull public BootstrapTooltip setPlacement(@Nonnull EBootstrapTooltipPosition ePosition)
@Nonnull public BootstrapTooltip setPlacement(@Nonnull com.helger.html.jscode.JSAnonymousFunction aFunction)
aFunction - Callback function that is called with the tooltip DOM node as its
first argument and the triggering element DOM node as its second. The
this context is set to the tooltip instance.@Nonnull public BootstrapTooltip setSelector(@Nullable String sSelector)
@Nullable public com.helger.html.jscode.JSAnonymousFunction getTooltipTitleFunction()
@Nonnull public BootstrapTooltip setTooltipTitle(@Nullable String sTitle)
@Nonnull public BootstrapTooltip setTooltipTitle(@Nullable com.helger.html.hc.IHCNode aTooltipTitle)
@Nonnull public BootstrapTooltip setTooltipTitle(@Nullable com.helger.html.jscode.JSAnonymousFunction aFunction)
aFunction - Callback function with 1 parameter: (this.$element[0])@Nullable @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<EBootstrapTooltipTrigger> getTrigger()
@Nonnull public BootstrapTooltip setTrigger(@Nullable EBootstrapTooltipTrigger... aTrigger)
@Nonnull public BootstrapTooltip setTrigger(@Nullable Collection<EBootstrapTooltipTrigger> aTrigger)
@Nonnegative public int getDelayShow()
@Nonnegative public int getDelayHide()
@Nonnull public BootstrapTooltip setDelay(@Nonnegative int nDelay)
@Nonnull public BootstrapTooltip setDelay(@Nonnegative int nShowDelay, @Nonnegative int nHideDelay)
@Nullable public com.helger.html.jquery.IJQuerySelector getContainer()
@Nonnull public BootstrapTooltip setContainer(@Nonnull com.helger.html.EHTMLElement eContainer)
@Nonnull public BootstrapTooltip setContainer(@Nullable com.helger.html.jquery.IJQuerySelector aContainer)
@Nonnull public BootstrapTooltip setOffset(@Nullable String sOffset)
@Nonnull public BootstrapTooltip setOffset(int nOffset)
@Nullable public EBootstrapTooltipFallbackPlacement getFallbackPlacement()
@Nonnull public BootstrapTooltip setFallbackPlacement(@Nullable EBootstrapTooltipFallbackPlacement eFallbackPlacement)
@Nullable public EBootstrapTooltipBoundary getBoundary()
@Nonnull public BootstrapTooltip setBoundary(@Nullable EBootstrapTooltipBoundary eBoundary)
@Nonnull public com.helger.html.jscode.JSAssocArray getJSOptions()
@Nonnull public com.helger.html.jscode.JSInvocation jsInvoke()
@Nonnull public com.helger.html.jscode.JSInvocation jsAttach()
@Nonnull public com.helger.html.jscode.JSInvocation jsShow()
@Nonnull public com.helger.html.jscode.JSInvocation jsHide()
@Nonnull public com.helger.html.jscode.JSInvocation jsToggle()
@Nonnull public com.helger.html.jscode.JSInvocation jsDispose()
@Nonnull public com.helger.html.jscode.JSInvocation jsEnable()
@Nonnull public com.helger.html.jscode.JSInvocation jsDisable()
@Nonnull public com.helger.html.jscode.JSInvocation jsToggleEnabled()
@Nonnull public com.helger.html.jscode.JSInvocation jsUpdate()
protected void onFinalizeNodeState(@Nonnull com.helger.html.hc.IHCConversionSettingsToNode aConversionSettings, @Nonnull com.helger.html.hc.IHCHasChildrenMutable<?,? super com.helger.html.hc.IHCNode> aTargetNode)
onFinalizeNodeState in class com.helger.html.hc.html.AbstractHCElement<com.helger.html.hc.html.script.HCScriptInlineOnDocumentReady>Copyright © 2015–2020 Philip Helger. All rights reserved.