@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, setTitleaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClickListeneradd, addComponentAsFirst, addComponentAtIndex, remove, removeAllisEnabled, setEnabledgetElementgetHeight, getWidth, setHeight, setSizeFull, setSizeUndefined, setWidthaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameaddAttachListeneraddDetachListenerpublic Paragraph()
public Paragraph(Component... components)
components - the child componentspublic Paragraph(String text)
text - the textCopyright © 2000–2018 Vaadin Ltd. All rights reserved.