Lines Matching defs:me
2052 static boolean isLeftMouseButton(MouseEvent me) {
2053 switch (me.getID()) {
2056 return (me.getButton() == MouseEvent.BUTTON1);
2061 return ((me.getModifiersEx() & InputEvent.BUTTON1_DOWN_MASK) != 0);
2066 static boolean isRightMouseButton(MouseEvent me) {
2068 switch (me.getID()) {
2071 return ((numButtons == 2 && me.getButton() == MouseEvent.BUTTON2) ||
2072 (numButtons > 2 && me.getButton() == MouseEvent.BUTTON3));
2077 return ((numButtons == 2 && (me.getModifiersEx() & InputEvent.BUTTON2_DOWN_MASK) != 0) ||
2078 (numButtons > 2 && (me.getModifiersEx() & InputEvent.BUTTON3_DOWN_MASK) != 0));