ts-jsdk
Version:
TypeScript implementation of the Java platform
25 lines • 502 B
JavaScript
export class JMouseEvent {
constructor(target, x, y) {
this.target = target;
this.x = x;
this.y = y;
this.popupTrigger = false;
this.clickCount = 1;
}
isPopupTrigger() {
return this.popupTrigger;
}
getClickCount() {
return this.clickCount;
}
getComponent() {
return this.target;
}
getX() {
return this.x;
}
getY() {
return this.y;
}
}
//# sourceMappingURL=JMouseEvent.js.map