public class VContextHelp extends Object implements com.google.gwt.user.client.Event.NativePreviewHandler, com.google.gwt.event.shared.HasHandlers
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME
Set the CSS class name to allow styling.
|
Constructor and Description |
---|
VContextHelp(com.vaadin.client.ApplicationConnection connection)
The constructor should first call super() to initialize the component and
then handle any initialization relevant to Vaadin.
|
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addBubbleHiddenHandler(ContextHelpEvent.BubbleHiddenHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addBubbleMovedHandler(ContextHelpEvent.BubbleMovedHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addBubbleShownHandler(ContextHelpEvent.BubbleShownHandler handler) |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> event) |
static com.google.gwt.dom.client.Element |
getFocusedElement() |
int |
getHelpKeyCode() |
void |
hideHelpBubble() |
boolean |
isFollowFocus() |
boolean |
isHidden() |
boolean |
isHideOnBlur() |
void |
onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event) |
void |
setFollowFocus(boolean followFocus) |
void |
setHelpKeyCode(int helpKeyCode) |
void |
setHidden(boolean hidden) |
void |
setHideOnBlur(boolean hideOnBlur) |
void |
showHelpBubble(String componentId,
String helpText,
Placement placement) |
void |
suppressHelpForIE() |
public static final String CLASSNAME
public VContextHelp(com.vaadin.client.ApplicationConnection connection)
public com.google.gwt.event.shared.HandlerRegistration addBubbleShownHandler(ContextHelpEvent.BubbleShownHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addBubbleHiddenHandler(ContextHelpEvent.BubbleHiddenHandler handler)
public com.google.gwt.event.shared.HandlerRegistration addBubbleMovedHandler(ContextHelpEvent.BubbleMovedHandler handler)
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
fireEvent
in interface com.google.gwt.event.shared.HasHandlers
public void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event)
onPreviewNativeEvent
in interface com.google.gwt.user.client.Event.NativePreviewHandler
public void hideHelpBubble()
public void suppressHelpForIE()
public static com.google.gwt.dom.client.Element getFocusedElement()
public boolean isHidden()
public void setHidden(boolean hidden)
public boolean isFollowFocus()
public void setFollowFocus(boolean followFocus)
public boolean isHideOnBlur()
public void setHideOnBlur(boolean hideOnBlur)
public int getHelpKeyCode()
public void setHelpKeyCode(int helpKeyCode)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.