@Override public void mouseClicked(final MouseEvent e) { if (e.isConsumed()) return; select(picker.getPickedContent(e.getX(), e.getY())); }
@Override public void mouseMoved(final MouseEvent e) { final Content c = picker.getPickedContent(e.getX(), e.getY()); if (c != null) IJ.showStatus(c.getName()); else IJ.showStatus(""); } });
public void showPopup(final MouseEvent e) { content = univ.getPicker().getPickedContent(e.getX(), e.getY()); if (content == null) return; univ.select(content); shaded.setState(content.isShaded()); saturated.setState(content.isSaturatedVolumeRendering()); if (popup.isPopupTrigger(e)) popup.show(e.getComponent(), e.getX(), e .getY()); }
return; final Picker picker = univ.getPicker(); final Content c = picker.getPickedContent(me.getX(), me.getY()); if (null == c) return;
return; final Picker picker = univ.getPicker(); final Content c = picker.getPickedContent(p.x, p.y); if (null == c) return;
final Content content = picker.getPickedContent(e.getX(),e.getY()); if(content==null) return;