public class Paragraph extends BaseDominoElement<elemental2.dom.HTMLParagraphElement,Paragraph>
BaseDominoElement.ElementHandler<T>, BaseDominoElement.ResizeHandler<T>, BaseDominoElement.StyleEditor<E extends elemental2.dom.HTMLElement,T extends org.jboss.elemento.IsElement<E>>, BaseDominoElement.WavesStyler| Modifier and Type | Method and Description |
|---|---|
Paragraph |
alignCenter()
Aligns the text to the center
|
Paragraph |
alignJustify()
Aligns the text to justify
|
Paragraph |
alignLeft()
Aligns the text to the left
|
Paragraph |
alignRight()
Aligns the text to the right
|
Paragraph |
appendContent(elemental2.dom.Node content)
Deprecated.
|
Paragraph |
bold()
Sets the font to bold
|
static Paragraph |
create() |
static Paragraph |
create(String text) |
elemental2.dom.HTMLParagraphElement |
element() |
Paragraph |
italic()
Sets the font to italic
|
Paragraph |
lead()
Sets the paragraph to have larger fonts on big screens.
|
Paragraph |
lineThrough()
Sets the font to line through
|
Paragraph |
overLine()
Sets the font to overline
|
Paragraph |
setColor(Color color)
Sets the font color
|
Paragraph |
setText(String text)
Sets the value of the paragraph
|
Paragraph |
underLine()
Sets the font to underline
|
add, add, addClickListener, addCss, addCss, addEventListener, addEventListener, addEventsListener, addHideListener, addShowListener, appendChild, appendChild, apply, attr, blur, childNodes, clearElement, contains, contains, contains, containsCss, css, css, cssClassByIndex, cssClassesCount, cssText, disable, elevate, elevate, enable, firstChild, getAttachObserver, getAttribute, getBoundingClientRect, getChildElementCount, getClickableElement, getCollapsible, getCollapsibleElement, getDetachObserver, getDominoId, getElementsCount, getElevation, getFirstChild, getId, getTextContent, getTooltip, getWavesElement, hasAttribute, hasChildNodes, hasDirectChild, hide, hideOn, id, init, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, insertFirst, insertFirst, insertFirst, isAttached, isCollapsed, isDisabled, isEmptyElement, isEqualNode, isForceHidden, isHidden, isReadOnly, item, lastChild, length, onAttached, onDetached, onResize, pullLeft, pullRight, querySelector, querySelectorAll, remove, removeAttachObserver, removeAttribute, removeChild, removeChild, removeCss, removeCss, removeCssProperty, removeDetachObserver, removeEventListener, removeEventListener, removeHideListener, removeHideOn, removeShowListener, removeShowOn, removeTooltip, removeWaves, replaceCss, setAlignItems, setAttribute, setAttribute, setAttribute, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBottom, setBottom, setBoxShadow, setCollapseStrategy, setColor, setColor, setContent, setContent, setCssProperty, setCssProperty, setCursor, setCursor, setDisabled, setDisplay, setDisplay, setDropMenu, setFlex, setFloat, setFloat, setFontSize, setFontSize, setForceHidden, setHeight, setHeight, setId, setInnerHtml, setLeft, setLeft, setLineHeight, setLineHeight, setMargin, setMargin, setMarginBottom, setMarginBottom, setMarginLeft, setMarginLeft, setMarginRight, setMarginRight, setMarginTop, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setOpacity, setOpacity, setOverFlow, setOverFlow, setOverFlowY, setPadding, setPadding, setPaddingBottom, setPaddingBottom, setPaddingLeft, setPaddingLeft, setPaddingRight, setPaddingRight, setPaddingTop, setPaddingTop, setPointerEvents, setPosition, setPosition, setReadOnly, setRight, setRight, setTabIndex, setTextAlign, setTextAlign, setTextContent, setTooltip, setTooltip, setTooltip, setTooltip, setTop, setTop, setTransitionDuration, setWidth, setWidth, setZIndex, show, showOn, style, style, styler, textContent, toggleDisplay, toggleDisplay, withWaves, withWavesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisExpandedadd, add, remove, remove, removeProperty, replace, setProperty, setPropertypublic Paragraph()
public Paragraph(String text)
public static Paragraph create()
public static Paragraph create(String text)
text - the value of the paragraphpublic Paragraph setText(String text)
text - the value of the paragraphpublic Paragraph lead()
public Paragraph setColor(Color color)
color - the Color@Deprecated public Paragraph appendContent(elemental2.dom.Node content)
BaseDominoElement.appendChild(Node)public elemental2.dom.HTMLParagraphElement element()
element in interface org.jboss.elemento.IsElement<elemental2.dom.HTMLParagraphElement>element in class BaseDominoElement<elemental2.dom.HTMLParagraphElement,Paragraph>public Paragraph bold()
public Paragraph italic()
public Paragraph underLine()
public Paragraph overLine()
public Paragraph lineThrough()
public Paragraph alignLeft()
public Paragraph alignRight()
alignRight in interface DominoStyle<elemental2.dom.HTMLParagraphElement,Paragraph,Paragraph>alignRight in class BaseDominoElement<elemental2.dom.HTMLParagraphElement,Paragraph>public Paragraph alignCenter()
alignCenter in interface DominoStyle<elemental2.dom.HTMLParagraphElement,Paragraph,Paragraph>alignCenter in class BaseDominoElement<elemental2.dom.HTMLParagraphElement,Paragraph>public Paragraph alignJustify()
Copyright © 2019–2022 Dominokit. All rights reserved.