MouseEvent.stateMask

the state of the keyboard modifier keys at the time the event was generated

class MouseEvent
int stateMask;

Meta