Package com.helger.html.hc.html.script
Class HCScriptInlineOnDocumentReady
- java.lang.Object
-
- com.helger.html.hc.impl.AbstractHCNode
-
- com.helger.html.hc.html.AbstractHCElement<IMPLTYPE>
-
- com.helger.html.hc.html.script.AbstractHCScript<IMPLTYPE>
-
- com.helger.html.hc.html.script.AbstractHCScriptInline<HCScriptInlineOnDocumentReady>
-
- com.helger.html.hc.html.script.HCScriptInlineOnDocumentReady
-
- All Implemented Interfaces:
com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,com.helger.commons.traits.IGenericImplTrait<HCScriptInlineOnDocumentReady>,IHCElement<HCScriptInlineOnDocumentReady>,IHCHasCSSClasses<HCScriptInlineOnDocumentReady>,IHCHasCSSStyles<HCScriptInlineOnDocumentReady>,IHCScript<HCScriptInlineOnDocumentReady>,IHCScriptInline<HCScriptInlineOnDocumentReady>,IHCHasID<HCScriptInlineOnDocumentReady>,IHCNode,Serializable
@OutOfBandNode public class HCScriptInlineOnDocumentReady extends AbstractHCScriptInline<HCScriptInlineOnDocumentReady>
Regular inline JS script elements with the special semantics, that stuff will be executed on document.ready. This requires jQuery to be present!- Author:
- Philip Helger
- See Also:
HCScriptInline,HCScriptFile, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.helger.html.hc.html.script.AbstractHCScriptInline
DEFAULT_EMIT_AFTER_FILES
-
Fields inherited from class com.helger.html.hc.html.script.AbstractHCScript
DEFAULT_TYPE
-
Fields inherited from class com.helger.html.hc.html.AbstractHCElement
DEFAULT_HIDDEN, DEFAULT_SPELLCHECK, DEFAULT_TRANSLATE, DEFAULT_UNFOCUSABLE
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHCScriptInlineOnDocumentReady()HCScriptInlineOnDocumentReady(IHCOnDocumentReadyProvider aODRProvider, IHasJSCode aOnDocumentReadyCode)HCScriptInlineOnDocumentReady(IHasJSCode aOnDocumentReadyCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IHasJSCodegetOnDocumentReadyCode()HCScriptInlineOnDocumentReadysetOnDocumentReadyCode(IHCOnDocumentReadyProvider aODRProvider, IHasJSCode aOnDocumentReadyCode)HCScriptInlineOnDocumentReadysetOnDocumentReadyCode(IHasJSCode aOnDocumentReadyCode)StringtoString()-
Methods inherited from class com.helger.html.hc.html.script.AbstractHCScriptInline
canConvertToMicroNode, fillMicroElement, getJSCode, getJSCodeProvider, getMode, isEmitAfterFiles, setEmitAfterFiles, setInlineScript, setJSCodeProvider, setMode
-
Methods inherited from class com.helger.html.hc.html.script.AbstractHCScript
getCharset, getCrossOrigin, getIntegrity, getType, setCharset, setCrossOrigin, setIntegrity, setType
-
Methods inherited from class com.helger.html.hc.html.AbstractHCElement
addClass, addEventHandler, addStyle, containsClass, containsEventHandler, containsStyle, createMicroElement, customAttrs, finishMicroElement, getAccessKey, getAllClasses, getAllClassesAsString, getAllClassNames, getAllStyles, getAllStylesAsString, getAllStyleValues, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getID, getLanguage, getRole, getStyleValue, getTabIndex, getTagName, getTitle, getTranslate, hasAnyClass, hasAnyStyle, hasStyle, internalConvertToMicroNode, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, isValidID, onConsistencyCheck, onFinalizeNodeState, prependEventHandler, removeAllClasses, removeAllEventHandler, removeAllStyles, removeClass, removeStyle, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setID, setID, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setUnfocusable
-
Methods inherited from class com.helger.html.hc.impl.AbstractHCNode
consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, findFirstChild, findFirstChildMapped, forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getChildAtIndex, getChildCount, getChildren, getFirstChild, getLastChild, getNodeState, getPlainText, hasChildren, internalSetNodeState, onCustomizeNode, onRegisterExternalResources, registerExternalResources
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.IHCNode
consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
Methods inherited from interface com.helger.html.hc.html.script.IHCScript
getCharset, getCrossOrigin, getIntegrity, getType, setCharset, setCharset, setCrossOrigin, setIntegrity, setType
-
-
-
-
Constructor Detail
-
HCScriptInlineOnDocumentReady
protected HCScriptInlineOnDocumentReady()
-
HCScriptInlineOnDocumentReady
public HCScriptInlineOnDocumentReady(@Nonnull IHasJSCode aOnDocumentReadyCode)
-
HCScriptInlineOnDocumentReady
public HCScriptInlineOnDocumentReady(@Nonnull IHCOnDocumentReadyProvider aODRProvider, @Nonnull IHasJSCode aOnDocumentReadyCode)
-
-
Method Detail
-
setOnDocumentReadyCode
@Nonnull public final HCScriptInlineOnDocumentReady setOnDocumentReadyCode(@Nonnull IHasJSCode aOnDocumentReadyCode)
-
setOnDocumentReadyCode
@Nonnull public final HCScriptInlineOnDocumentReady setOnDocumentReadyCode(@Nonnull IHCOnDocumentReadyProvider aODRProvider, @Nonnull IHasJSCode aOnDocumentReadyCode)
-
getOnDocumentReadyCode
@Nonnull public final IHasJSCode getOnDocumentReadyCode()
- Returns:
- The contained code, to be executed on document.ready
-
toString
public String toString()
- Overrides:
toStringin classAbstractHCScriptInline<HCScriptInlineOnDocumentReady>
-
-