@Tag(value="em") public class Emphasis extends HtmlContainer implements ClickNotifier<Emphasis>
<em>
element.Constructor and Description |
---|
Emphasis()
Creates a new empty emphasis.
|
Emphasis(Component... components)
Creates a new emphasis with the given child components.
|
Emphasis(String text)
Creates a new emphasis 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, addClickShortcut
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
isEnabled, setEnabled
getElement
getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
addAttachListener
addDetachListener
public Emphasis()
public Emphasis(Component... components)
components
- the child componentspublic Emphasis(String text)
text
- the textCopyright © 2019. All rights reserved.