Descripción
Sintaxis
public MouseEvent(Object source, EventTarget target, EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult)
public MouseEvent(EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult)
Parámetros
- boolean controlDown,
- boolean secondaryButtonDown,
- PickResult pickResult,
- boolean altDown,
- Object source,
- double screenX,
- boolean synthesized,
- MouseButton button,
- boolean shiftDown,
- boolean metaDown,
- double x,
- double y,
- int clickCount,
- boolean stillSincePress,
- boolean primaryButtonDown,
- EventTarget target,
- boolean popupTrigger,
- double screenY,
- boolean middleButtonDown,
- EventType<? extends MouseEvent> eventType,
Clase Padre
Ejemplo
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.