public class Abbreviation extends AbstractTypography
It is usually used to show the meaning of abbreviations. The text is lightly underlined and on hover, the default cursor is replaced with a help cursor.
<b:Abbreviation title="This is the tooltip.">Some text</b:Abbreviation>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledDEBUG_ID_PREFIX| Constructor and Description |
|---|
Abbreviation(String title)
Creates an empty Abbreviation with only the content for the tooltip set.
|
Abbreviation(String text,
String title)
Creates a new Abbreviation with both text and title set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setInitalism(boolean initialism)
Specifies whether a slightly smaller text size should be used for the
abbreviation.
|
addStyle, getText, removeStyle, setHideOn, setShowOn, setStyle, setTextaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventspublic Abbreviation(String text, String title)
text - the underlined texttitle - the content of the popup@UiConstructor public Abbreviation(String title)
title - The content of the popuppublic void setInitalism(boolean initialism)
initialism - true for the slightly smaller size. Default:
falseCopyright © 2012-2014 gwtbootstrap. All Rights Reserved.