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