| com.gwtext.client.widgets.Component com.gwtext.client.widgets.BoxComponent com.gwtext.client.widgets.Container com.gwtext.client.widgets.Panel com.gwtext.client.widgets.Tip com.gwtext.client.widgets.ToolTip
All known Subclasses: com.gwtext.client.widgets.QuickTip,
ToolTip | public class ToolTip extends Tip (Code) | | A standard tooltip implementation for providing additional information when hovering over a target element.
|
Method Summary | |
public void | applyTo(Element target) Applies the tooltip to the specified target. | public void | applyTo(String elementID) Applies the tooltip to the specified target. | public void | applyTo(Component component) Applies the tooltip to the specified target. | native protected JavaScriptObject | create(JavaScriptObject config) | native public void | hide() Hides this tooltip if visible. | public void | setAutoHide(boolean autoHide) True to automatically hide the tooltip after the mouse exits the target element or after the dismissDelay has
expired if set (defaults to true). | public void | setDismissDelay(int dismissDelay) Delay in milliseconds before the tooltip automatically hides (defaults to 5000). | public void | setHideDelay(int hideDelay) Delay in milliseconds after the mouse exits the target element but before the tooltip actually hides (defaults to 200). | public void | setMouseOffset(int x, int y) An XY offset from the mouse position where the tooltip should be shown. | public void | setShowDelay(int showDelay) Delay in milliseconds before the tooltip displays after the mouse enters the target element (defaults to 500). | public void | setTrackMouse(boolean trackMouse) True to have the tooltip follow the mouse as it moves over the target element (defaults to false). | native public void | show() Shows this tooltip at the current event target XY position. |
ToolTip | public ToolTip(JavaScriptObject jsObj)(Code) | | |
applyTo | public void applyTo(Element target)(Code) | | Applies the tooltip to the specified target.
Parameters: target - the target element |
applyTo | public void applyTo(String elementID)(Code) | | Applies the tooltip to the specified target. Note that the element with the specified ID must be
rendered to the DOM before this call is made.
Parameters: elementID - the target element ID |
applyTo | public void applyTo(Component component)(Code) | | Applies the tooltip to the specified target.
Parameters: component - the component to apply the tooltip to |
create | native protected JavaScriptObject create(JavaScriptObject config)(Code) | | |
hide | native public void hide()(Code) | | Hides this tooltip if visible.
|
setAutoHide | public void setAutoHide(boolean autoHide)(Code) | | True to automatically hide the tooltip after the mouse exits the target element or after the dismissDelay has
expired if set (defaults to true). If closable = true a close tool button will be rendered into the tooltip header.
Parameters: autoHide - true to auto hide |
setDismissDelay | public void setDismissDelay(int dismissDelay)(Code) | | Delay in milliseconds before the tooltip automatically hides (defaults to 5000). To disable automatic hiding,
set dismissDelay = 0.
Parameters: dismissDelay - the dismiss delay |
setHideDelay | public void setHideDelay(int hideDelay)(Code) | | Delay in milliseconds after the mouse exits the target element but before the tooltip actually hides (defaults to 200).
Set to 0 for the tooltip to hide immediately.
Parameters: hideDelay - the hide delay |
setMouseOffset | public void setMouseOffset(int x, int y)(Code) | | An XY offset from the mouse position where the tooltip should be shown.
Parameters: x - the X offset Parameters: y - the Y offset |
setShowDelay | public void setShowDelay(int showDelay)(Code) | | Delay in milliseconds before the tooltip displays after the mouse enters the target element (defaults to 500).
Parameters: showDelay - the show delay |
setTrackMouse | public void setTrackMouse(boolean trackMouse)(Code) | | True to have the tooltip follow the mouse as it moves over the target element (defaults to false).
Parameters: trackMouse - true to track mouse |
show | native public void show()(Code) | | Shows this tooltip at the current event target XY position.
|
Methods inherited from com.gwtext.client.widgets.Panel | public void addButton(Button button)(Code)(Java Doc) native public void addListener(PanelListener listener)(Code)(Java Doc) public void addTool(Tool tool) throws IllegalStateException(Code)(Java Doc) public void collapse()(Code)(Java Doc) public void collapse(boolean animate)(Code)(Java Doc) native protected JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc) public void expand()(Code)(Java Doc) public void expand(boolean animate)(Code)(Java Doc) public String getBaseCls()(Code)(Java Doc) native public ExtElement getBody()(Code)(Java Doc) public String getBodyStyle()(Code)(Java Doc) native public ExtElement getBodyWrap()(Code)(Java Doc) native public Toolbar getBottomToolbar()(Code)(Java Doc) public boolean getCollapseFirst()(Code)(Java Doc) public String getCollapsedCls()(Code)(Java Doc) protected JavaScriptObject getConfigPrototype()(Code)(Java Doc) public boolean getFloating()(Code)(Java Doc) native public ExtElement getFooter()(Code)(Java Doc) native public int getFrameHeight()(Code)(Java Doc) native public int getFrameWidth()(Code)(Java Doc) native public ExtElement getHeader()(Code)(Java Doc) public String getHtml()(Code)(Java Doc) public String getIconCls()(Code)(Java Doc) native public int getInnerHeight()(Code)(Java Doc) native public int getInnerWidth()(Code)(Java Doc) public int getMinButtonWidth() throws IllegalStateException(Code)(Java Doc) public int getShadowOffset()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) native public Toolbar getTopToolbar()(Code)(Java Doc) native public UpdateManager getUpdateManager()(Code)(Java Doc) public String getXType()(Code)(Java Doc) public boolean isAnimCollapse()(Code)(Java Doc) public boolean isAutoScroll()(Code)(Java Doc) public boolean isBodyBorder()(Code)(Java Doc) public boolean isBorder()(Code)(Java Doc) public boolean isClosable()(Code)(Java Doc) public boolean isCollapsed()(Code)(Java Doc) public boolean isCollapsible()(Code)(Java Doc) public boolean isFrame()(Code)(Java Doc) public boolean isHeader()(Code)(Java Doc) public boolean isHeaderAsText()(Code)(Java Doc) public boolean isHideCollapseTool()(Code)(Java Doc) public boolean isMaskDisabled()(Code)(Java Doc) public boolean isShadow()(Code)(Java Doc) public boolean isShim()(Code)(Java Doc) public boolean isTitleCollapse()(Code)(Java Doc) public void load(String url)(Code)(Java Doc) public void load(String url, UrlParam[] params, UrlLoadCallback callback, boolean loadScripts)(Code)(Java Doc) public void setAnimCollapse(boolean animCollapse)(Code)(Java Doc) public void setAutoLoad(String url)(Code)(Java Doc) public void setAutoLoad(String url, UrlLoadConfig loadConfig) throws IllegalStateException(Code)(Java Doc) public void setAutoScroll(boolean autoScroll) throws IllegalStateException(Code)(Java Doc) public void setBaseCls(String baseCls) throws IllegalStateException(Code)(Java Doc) public void setBodyBorder(boolean bodyBorder) throws IllegalStateException(Code)(Java Doc) public void setBodyStyle(String bodyStyle) throws IllegalStateException(Code)(Java Doc) public void setBorder(boolean border) throws IllegalStateException(Code)(Java Doc) public void setBottomToolbar(Toolbar toolbar)(Code)(Java Doc) public void setBottomToolbar(Button button) throws IllegalStateException(Code)(Java Doc) public void setBottomToolbar(Button[] buttons) throws IllegalStateException(Code)(Java Doc) public void setButtonAlign(Position buttonAlign) throws IllegalStateException(Code)(Java Doc) public void setButtons(Button[] buttons) throws IllegalStateException(Code)(Java Doc) public void setClosable(boolean closable) throws IllegalStateException(Code)(Java Doc) public void setCollapseFirst(boolean collapseFirst) throws IllegalStateException(Code)(Java Doc) public void setCollapsed(boolean collapsed)(Code)(Java Doc) public void setCollapsedCls(String collapsedCls) throws IllegalStateException(Code)(Java Doc) public void setCollapsible(boolean collapsible) throws IllegalStateException(Code)(Java Doc) public void setContentEl(Element contentEl) throws IllegalStateException(Code)(Java Doc) public void setDraggable(boolean draggable) throws IllegalStateException(Code)(Java Doc) public void setFloating(boolean floating) throws IllegalStateException(Code)(Java Doc) public void setFooter(boolean footer) throws IllegalStateException(Code)(Java Doc) public void setFrame(boolean frame) throws IllegalStateException(Code)(Java Doc) public void setHeader(boolean header) throws IllegalStateException(Code)(Java Doc) public void setHeaderAsText(boolean headerAsText)(Code)(Java Doc) public void setHideCollapseTool(boolean hideCollapseTool) throws IllegalStateException(Code)(Java Doc) public void setHtml(String html)(Code)(Java Doc) public void setIconCls(String iconCls)(Code)(Java Doc) public void setMargins(int margin) throws IllegalStateException(Code)(Java Doc) public void setMargins(int top, int left, int right, int bottom) throws IllegalStateException(Code)(Java Doc) public void setMaskDisabled(boolean maskDisabled) throws IllegalStateException(Code)(Java Doc) public void setMinButtonWidth(int minButtonWidth) throws IllegalStateException(Code)(Java Doc) public void setPaddings(int padding) throws IllegalStateException(Code)(Java Doc) public void setPaddings(int top, int left, int right, int bottom) throws IllegalStateException(Code)(Java Doc) public void setShadow(boolean shadow)(Code)(Java Doc) public void setShadow(Shadow.Type shadow)(Code)(Java Doc) public void setShadowOffset(int shadowOffset) throws IllegalStateException(Code)(Java Doc) public void setShim(boolean shim) throws IllegalStateException(Code)(Java Doc) public void setStyleName(String style)(Code)(Java Doc) public void setTitle(String title, String iconCls)(Code)(Java Doc) public void setTitle(String title)(Code)(Java Doc) public void setTitleCollapse(boolean titleCollapse) throws IllegalStateException(Code)(Java Doc) public void setTools(Tool[] tools) throws IllegalStateException(Code)(Java Doc) public void setTopToolbar(Toolbar toolbar) throws IllegalStateException(Code)(Java Doc) public void setTopToolbar(Button button) throws IllegalStateException(Code)(Java Doc) public void setTopToolbar(Button[] buttons) throws IllegalStateException(Code)(Java Doc) native public void toggleCollapse()(Code)(Java Doc) native public void toggleCollapse(boolean animate)(Code)(Java Doc)
|
Methods inherited from com.gwtext.client.widgets.Component | public void addClass(String cls)(Code)(Java Doc) native public void addClassCreated(String cls)(Code)(Java Doc) native public void addEvent(String events)(Code)(Java Doc) public void addEvents(String[] events)(Code)(Java Doc) protected void addListener(String event, JavaScriptObject fn)(Code)(Java Doc) native public void addListener(String event, Function funtion)(Code)(Java Doc) native protected void addListener(ComponentListener listener)(Code)(Java Doc) protected void afterRender()(Code)(Java Doc) protected void beforeDestroy()(Code)(Java Doc) protected void check() throws IllegalStateException(Code)(Java Doc) public Component cloneComponent()(Code)(Java Doc) public Component cloneComponent(Component overrides)(Code)(Java Doc) native protected JavaScriptObject cloneConfig(JavaScriptObject config)(Code)(Java Doc) abstract protected JavaScriptObject create(JavaScriptObject config)(Code)(Java Doc) native public void destroy()(Code)(Java Doc) public void disable()(Code)(Java Doc) public void enable()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) protected void error(String message) throws IllegalStateException(Code)(Java Doc) public void focus()(Code)(Java Doc) native public void focus(boolean selectText)(Code)(Java Doc) native public void focus(boolean selectText, int delay)(Code)(Java Doc) public Element getApplyTo()(Code)(Java Doc) protected String getAttribute(String attribute)(Code)(Java Doc) protected boolean getAttributeAsBoolean(String attribute)(Code)(Java Doc) protected float getAttributeAsFloat(String attribute)(Code)(Java Doc) protected int getAttributeAsInt(String attribute)(Code)(Java Doc) protected JavaScriptObject getAttributeAsJavaScriptObject(String attribute)(Code)(Java Doc) public boolean getAutoShow()(Code)(Java Doc) public String getCls()(Code)(Java Doc) native protected static JavaScriptObject getComponentJS(String id)(Code)(Java Doc) public JavaScriptObject getConfig()(Code)(Java Doc) abstract protected JavaScriptObject getConfigPrototype()(Code)(Java Doc) public String getCtCls()(Code)(Java Doc) public String getDisabledClass()(Code)(Java Doc) native public ExtElement getEl()(Code)(Java Doc) native protected Element getElement(JavaScriptObject jsObj)(Code)(Java Doc) public Element getElement()(Code)(Java Doc) public String getHideMode()(Code)(Java Doc) public boolean getHideParent()(Code)(Java Doc) public String getId()(Code)(Java Doc) native public String getItemId()(Code)(Java Doc) public JavaScriptObject getJsObj()(Code)(Java Doc) public int getOffsetHeight()(Code)(Java Doc) public int getOffsetWidth()(Code)(Java Doc) public JavaScriptObject getOrCreateJsObj()(Code)(Java Doc) native public Container getOwnerContainer()(Code)(Java Doc) public Element getRenderTo()(Code)(Java Doc) public String[] getStateEvents()(Code)(Java Doc) public String getStateId()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) protected Element getStyleElement()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public String getXType()(Code)(Java Doc) native public String getXTypes()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void hide()(Code)(Java Doc) protected void initComponent()(Code)(Java Doc) public boolean isCreated()(Code)(Java Doc) public boolean isDisabled()(Code)(Java Doc) public boolean isHidden()(Code)(Java Doc) native public boolean isRendered()(Code)(Java Doc) native public boolean isVisible()(Code)(Java Doc) native public boolean isXType(String xtype)(Code)(Java Doc) native public boolean isXType(String xtype, boolean shallow)(Code)(Java Doc) protected void onDestroy()(Code)(Java Doc) native public void removeClass(String cls)(Code)(Java Doc) native public void render(String id)(Code)(Java Doc) native public void render(String id, String position)(Code)(Java Doc) native public void render(String id, int position)(Code)(Java Doc) native public void render(Element element)(Code)(Java Doc) native public void render(Element element, String position)(Code)(Java Doc) native public void render(Element element, int position)(Code)(Java Doc) public void setApplyTo(Element element) throws IllegalStateException(Code)(Java Doc) protected void setAttribute(String attribute, String value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, String value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) protected void setAttribute(String attribute, int[] value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int[] value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, long value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, double value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, int value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, Date value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, JavaScriptObject value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, JavaScriptObject value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, String[] value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, String[] value, boolean allowPostCreate, boolean allowPostRender)(Code)(Java Doc) protected void setAttribute(String attribute, boolean value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, boolean value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) protected void setAttribute(String attribute, Element value, boolean allowPostCreate)(Code)(Java Doc) protected void setAttribute(String attribute, Element value, boolean allowPostCreate, boolean allowPostRendered)(Code)(Java Doc) public void setAutoEl(String autoEl)(Code)(Java Doc) public void setAutoShow(boolean autoShow) throws IllegalStateException(Code)(Java Doc) public void setCls(String cls)(Code)(Java Doc) public void setCtCls(String ctCls) throws IllegalStateException(Code)(Java Doc) public void setDisabled(boolean disabled)(Code)(Java Doc) public void setDisabledClass(String disabledClass)(Code)(Java Doc) public void setEl(Element el) throws IllegalStateException(Code)(Java Doc) public void setEl(String elementID) throws IllegalStateException(Code)(Java Doc) public void setHeight(String height)(Code)(Java Doc) public void setHideMode(String hideMode)(Code)(Java Doc) public void setHideParent(boolean hideParent) throws IllegalStateException(Code)(Java Doc) final public void setId(String id) throws IllegalStateException(Code)(Java Doc) public void setRenderTo(Element elem) throws IllegalStateException(Code)(Java Doc) public void setStateEvents(String[] stateEvents) throws IllegalStateException(Code)(Java Doc) public void setStateId(String stateId) throws IllegalStateException(Code)(Java Doc) public void setStyle(String style) throws IllegalStateException(Code)(Java Doc) public void setTitle(String title)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc) public void setWidth(String width)(Code)(Java Doc) public void show()(Code)(Java Doc)
|
|
|