|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.MouseEventDetailsBuilder
public class MouseEventDetailsBuilder
Helper class for constructing a MouseEventDetails object from a
NativeEvent.
| Constructor Summary | |
|---|---|
MouseEventDetailsBuilder()
|
|
| Method Summary | |
|---|---|
static com.vaadin.shared.MouseEventDetails |
buildMouseEventDetails(NativeEvent evt)
Construct a MouseEventDetails object from the given event |
static com.vaadin.shared.MouseEventDetails |
buildMouseEventDetails(NativeEvent evt,
Element relativeToElement)
Construct a MouseEventDetails object from the given event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseEventDetailsBuilder()
| Method Detail |
|---|
public static com.vaadin.shared.MouseEventDetails buildMouseEventDetails(NativeEvent evt)
MouseEventDetails object from the given event
evt - The event to use as a source for the details
public static com.vaadin.shared.MouseEventDetails buildMouseEventDetails(NativeEvent evt,
Element relativeToElement)
MouseEventDetails object from the given event
evt - The event to use as a source for the detailsrelativeToElement - The element whose position
MouseEventDetails.getRelativeX() and
MouseEventDetails.getRelativeY() are relative to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||