@Tag(value="pre") public class Pre extends HtmlContainer implements ClickNotifier<Pre>
<pre>
element.HasText.WhiteSpace
Constructor and Description |
---|
Pre()
Creates a new empty preformatted text block.
|
Pre(Component... components)
Creates a new preformatted text block with the given child components.
|
Pre(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, 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
getText, getWhiteSpace, setText, setWhiteSpace
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 Pre()
public Pre(Component... components)
components
- the child componentspublic Pre(String text)
text
- the textCopyright © 2022. All rights reserved.