IMPLTYPE - Implementation typepublic abstract class AbstractBootstrapAlert<IMPLTYPE extends AbstractBootstrapAlert<IMPLTYPE>> extends AbstractBootstrapDiv<IMPLTYPE>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_SHOW_CLOSE
By default the close box is not shown
|
static String |
JS_EVENT_CLOSE
This event fires immediately when the close instance method is called.
|
static String |
JS_EVENT_CLOSED
This event is fired when the alert has been closed (will wait for CSS
transitions to complete).
|
| Constructor and Description |
|---|
AbstractBootstrapAlert(EBootstrapAlertType eType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvertToMicroNode(com.helger.html.hc.IHCConversionSettingsToNode aConversionSettings) |
static com.helger.html.hc.html.textlevel.HCA |
createAlertLink() |
EBootstrapAlertType |
getType() |
boolean |
isShowClose() |
protected void |
onFinalizeNodeState(com.helger.html.hc.IHCConversionSettingsToNode aConversionSettings,
com.helger.html.hc.IHCHasChildrenMutable<?,? super com.helger.html.hc.IHCNode> aTargetNode) |
IMPLTYPE |
setShowClose(boolean bShowClose) |
IMPLTYPE |
setType(EBootstrapAlertType eType) |
IMPLTYPE |
setTypeIfWorse(EBootstrapAlertType eType) |
getBackground, getBorder, getDisplay, getMargin, getPadding, getTextAlign, setBackground, setBorder, setDisplay, setMargin, setPadding, setTextAlignfillMicroElement, getName, setName, toStringaddChild, addChildAt, afterAddChild, afterRemoveChild, beforeAddChild, children, findFirstChild, findFirstChildMapped, forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getAllChildrenAsNodeList, getChildAtIndex, getChildCount, getChildren, getChildrenFormEmitting, getFirstChild, getLastChild, getPlainText, hasChildren, removeAllChildren, removeChild, removeChildAt, sortAllChildrenaddClass, 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, getNodeState, internalSetNodeState, onCustomizeNode, onRegisterExternalResources, registerExternalResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrecursiveContainsChildWithTagNameaddEventHandler, 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, setUnfocusableensureID, getID, hasID, hasNoID, setID, setUniqueIDaddStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyleaddClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClassaddChild, addChildAt, addChildren, addChildren, setChildaddAndReturnChild, addAndReturnChildAt, addChild, addChildAt, addChildren, addChildren, addChildren, addChildrenAt, addChildrenAt, getAllChildrenAsNodeList, removeAllChildren, removeChild, removeChildAt, setChild, sortAllChildrenconsistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResourcesfindFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChildpublic static final String JS_EVENT_CLOSE
public static final String JS_EVENT_CLOSED
public static final boolean DEFAULT_SHOW_CLOSE
public AbstractBootstrapAlert(@Nonnull EBootstrapAlertType eType)
@Nonnull public final EBootstrapAlertType getType()
@Nonnull public final IMPLTYPE setType(@Nonnull EBootstrapAlertType eType)
@Nonnull public final IMPLTYPE setTypeIfWorse(@Nonnull EBootstrapAlertType eType)
public final boolean isShowClose()
public boolean canConvertToMicroNode(@Nonnull com.helger.html.hc.IHCConversionSettingsToNode aConversionSettings)
canConvertToMicroNode in interface com.helger.html.hc.IHCNodecanConvertToMicroNode in class com.helger.html.hc.html.AbstractHCElementWithInternalChildren<IMPLTYPE extends AbstractBootstrapAlert<IMPLTYPE>,com.helger.html.hc.IHCNode>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 AbstractBootstrapDiv<IMPLTYPE extends AbstractBootstrapAlert<IMPLTYPE>>@Nonnull public static com.helger.html.hc.html.textlevel.HCA createAlertLink()
Copyright © 2015–2020 Philip Helger. All rights reserved.