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); }
/** * Handles the componentHidden event by invoking the componentHidden methods on listener-a and * listener-b. * * @param e the component event */ public void componentHidden(ComponentEvent e) { ((ComponentListener) a).componentHidden(e); ((ComponentListener) b).componentHidden(e); }
/** * Handles the componentMoved event by invoking the componentMoved methods on listener-a and * listener-b. * * @param e the component event */ public void componentMoved(ComponentEvent e) { ((ComponentListener) a).componentMoved(e); ((ComponentListener) b).componentMoved(e); }