MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / mousePressed

Method mousePressed

ij/src/main/java/ij/text/TextPanel.java:376–386  ·  view source on GitHub ↗
(MouseEvent e)

Source from the content-addressed store, hash-verified

374 }
375
376 public void mousePressed (MouseEvent e) {
377 int x=e.getX(), y=e.getY();
378 if (e.isPopupTrigger() || e.isMetaDown())
379 pm.show(e.getComponent(),x,y);
380 else if (e.isShiftDown())
381 extendSelection(x, y);
382 else {
383 select(x, y);
384 handleDoubleClick();
385 }
386 }
387
388 void handleDoubleClick() {//Marcel Boeglin 2019.10.07
389 boolean overlayList = title.startsWith("Overlay Elements of ");

Callers

nothing calls this directly

Calls 7

extendSelectionMethod · 0.95
selectMethod · 0.95
handleDoubleClickMethod · 0.95
isShiftDownMethod · 0.80
getXMethod · 0.65
getYMethod · 0.65
showMethod · 0.45

Tested by

no test coverage detected