public void mouseDragged(MouseEvent e) { if (isEnabled()) { // System.out.println("LinkTool::mouseDragged"); if (e.getSource() instanceof ONLGraphic) buttonAction.setIntermediate(e.getPoint(), (ONLGraphic) e.getSource()); } }
public boolean isEnabled() { return buttonAction.isEnabled(); }
public void setEnabled(boolean b) { if (!isOverride() || b) buttonAction.setEnabled(b); }