All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.gwt.test.internal.patchers.dom.MouseEventPatcher Maven / Gradle / Ivy

There is a newer version: 0.63
Show newest version
package com.googlecode.gwt.test.internal.patchers.dom;

import com.google.gwt.event.dom.client.MouseEvent;
import com.googlecode.gwt.test.patchers.PatchClass;
import com.googlecode.gwt.test.patchers.PatchMethod;

@PatchClass(MouseEvent.class)
class MouseEventPatcher {

    @PatchMethod
    static int getX(MouseEvent event) {
        return event.getClientX();
    }

    @PatchMethod
    static int getY(MouseEvent event) {
        return event.getClientY();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy