@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, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClickListener
add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
isEnabled, setEnabled
getElement
getHeight, getWidth, setHeight, setSizeFull, setSizeUndefined, setWidth
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 © 2018. All rights reserved.