@Tag(value="span") public class Span extends HtmlContainer implements ClickNotifier<Span>
<span> element.| Constructor and Description |
|---|
Span()
Creates a new empty span.
|
Span(Component... components)
Creates a new span with the given child components.
|
Span(String text)
Creates a new span 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 Span()
public Span(Component... components)
components - the child componentspublic Span(String text)
text - the textCopyright © 2000–2018 Vaadin Ltd. All rights reserved.