Java com.vaadin.client WidgetUtil fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.client WidgetUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.client WidgetUtil.

The text is from its open source code.

Method

StringescapeHTML(String html)
Converts html entities to text.
TfindWidget(Element element, Class class1)
Helper method to find first instance of given Widget type found by traversing DOM upwards from given element.
voidfocus(Element el)
Will (attempt) to focus the given DOM Element.
ElementgetElementFromPoint(int clientX, int clientY)
Returns the topmost element of from given coordinates.
ElementgetElementUnderMouse(NativeEvent event)
Find the element corresponding to the coordinates in the passed mouse event.
ElementgetFocusedElement()
Gets the currently focused element.
intgetNativeScrollbarSize()
intgetRequiredHeight(com.google.gwt.dom.client.Element element)
Gets the border-box height for the given element, i.e.
intgetRequiredHeight(Widget widget)
intgetRequiredWidth(com.google.gwt.dom.client.Element element)
Gets the border-box width for the given element, i.e.
intgetRequiredWidth(Widget widget)
intgetTouchOrMouseClientX(Event event)
A helper method to return the client position from an event.
intgetTouchOrMouseClientX(NativeEvent event)
intgetTouchOrMouseClientY(Event event)
A helper method to return the client position from an event.
intgetTouchOrMouseClientY(NativeEvent currentGwtEvent)
booleanisTouchEventOrLeftMouseButton(Event event)
Checks if the given event is either a touch event or caused by the left mouse button.
booleanmayHaveScrollBars(com.google.gwt.dom.client.Element pe)
Detects what is currently the overflow style attribute in given element.
intmeasureVerticalBorder(Element element)
voidrunWebkitOverflowAutoFix(final Element elem)
Run workaround for webkits overflow auto issue.
voidsinkOnloadForImages(Element element)