public class ToolTip extends Tip
Tip.TipAppearanceUIObject.DebugIdImpl, UIObject.DebugIdImplEnabledDEBUG_ID_PREFIX| Constructor and Description |
|---|
ToolTip(Widget target)
Creates a new tool tip.
|
ToolTip(Widget target,
Tip.TipAppearance appearance) |
ToolTip(Widget target,
ToolTipConfig config)
Creates a new tool tip for the given target.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getQuickShowInterval()
Returns the quick show interval.
|
ToolTipConfig |
getToolTipConfig()
Returns the current tool tip config.
|
void |
hide()
Hide this widget.
|
void |
initTarget(Widget target) |
void |
setQuickShowInterval(int quickShowInterval)
Sets the quick show interval (defaults to 250).
|
void |
show()
Show this widget.
|
void |
showAt(int x,
int y)
Shows this tip at the specified position.
|
void |
update(ToolTipConfig config)
Updates the tool tip with the given config.
|
getAppearance, getMaxWidth, getMinWidth, isClosable, setClosable, setMaxWidth, setMinWidth, showAtaddBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getStateId, getToolTip, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, onBrowserEvent, removeHandler, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, sync, syncSize, unmaskaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEventspublic ToolTip(Widget target)
target - the target widgetpublic ToolTip(Widget target, Tip.TipAppearance appearance)
public ToolTip(Widget target, ToolTipConfig config)
target - the target widgetpublic int getQuickShowInterval()
public ToolTipConfig getToolTipConfig()
public void hide()
Componentpublic void initTarget(Widget target)
public void setQuickShowInterval(int quickShowInterval)
quickShowInterval - the quick show intervalpublic void show()
Componentpublic void showAt(int x,
int y)
Tippublic void update(ToolTipConfig config)
config - the tool tip configCopyright © 2012. All Rights Reserved.