/** Inform the acceptor. * @param time see superclass */ public void doClick(int time) { action.acceptNodes(new Node[] { node }); }
/** Inform the acceptor. * @param time see superclass */ public void doClick (int time) { action.acceptNodes (new Node[] { node }); }
/** Inform the acceptor. * @param time see superclass */ public void doClick (int time) { action.acceptNodes (new Node[] { node }); }
/** Checks for {@link MouseEvent#isPopupTrigger right click} to ask the acceptor whether * to accept the selection. * @param e the mouse event * @param path used by the superclass * @param manager used by the superclass */ public void processMouseEvent(MouseEvent e, MenuElement[] path, MenuSelectionManager manager) { super.processMouseEvent (e, path, manager); if (e.isPopupTrigger () && action.acceptNodes (new Node[] { node })) { MenuSelectionManager.defaultManager ().clearSelectedPath (); } }
/** Checks for {@link MouseEvent#isPopupTrigger right click} to ask the acceptor whether * to accept the selection. * @param e the mouse event * @param path used by the superclass * @param manager used by the superclass */ public void processMouseEvent(MouseEvent e, MenuElement[] path, MenuSelectionManager manager) { super.processMouseEvent (e, path, manager); if (e.isPopupTrigger () && action.acceptNodes (new Node[] { node })) { MenuSelectionManager.defaultManager ().clearSelectedPath (); } }
/** Checks for {@link MouseEvent#isPopupTrigger right click} to ask the acceptor whether * to accept the selection. * @param e the mouse event * @param path used by the superclass * @param manager used by the superclass */ public void processMouseEvent(MouseEvent e, MenuElement[] path, MenuSelectionManager manager) { super.processMouseEvent(e, path, manager); if (e.isPopupTrigger() && action.acceptNodes(new Node[] { node })) { MenuSelectionManager.defaultManager().clearSelectedPath(); } }