@Tag(value="p") public class Paragraph extends HtmlContainer implements ClickNotifier<Paragraph>
<p>
element.Constructor and Description |
---|
Paragraph()
Creates a new empty paragraph.
|
Paragraph(Component... components)
Creates a new paragraph with the given child components.
|
Paragraph(String text)
Creates a new paragraph with the given text.
|
getTitle, setTitle
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClickListener, addClickShortcut
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
isEnabled, setEnabled
getElement
getCssSize, getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
addAttachListener
addDetachListener
public Paragraph()
public Paragraph(Component... components)
components
- the child componentspublic Paragraph(String text)
text
- the textCopyright © 2023. All rights reserved.