Examples of removeMouseMotionListener()


Examples of bnGUI.venn.geometry.DragLabel.removeMouseMotionListener()

      Component[] comps = getComponents();
      for (Component comp : comps) {
        if (comp instanceof DragLabel) {
          DragLabel label = (DragLabel) comp;
                label.removeMouseListener(this);
                label.removeMouseMotionListener(this);
        }
      }
    }
   
    /**
 
View Full Code Here

Examples of com.mockturtlesolutions.snifflib.graphics.AbstractIconEntity.removeMouseMotionListener()

                      recalledobj = (AbstractIconEntity)newChildren.get(i);
                     
                      MouseMotionListener[] l = recalledobj.getMouseMotionListeners();
                      for (int k=0;k<l.length;k++)
                      {
                        recalledobj.removeMouseMotionListener(l[k]);
                      }
                      //System.out.println("wbpanel.getRepository()"+wbpanel.getRepository());
                      System.out.println("Importing into workbench "+recalledobj.getClass());
                     
                      //Won't be working until we can get the buffer to show properly...
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

      Component  c;
   
      while( !collObservedComponents.isEmpty() ) {
        c  = (Component) collObservedComponents.remove( 0 );
        c.removeMouseListener( this );
        c.removeMouseMotionListener( this );
      }
    }

    public void toolDismissed( Component c )
    {
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

  void dispose() {
    Component display = viewer.getDisplay();
    actionManager.dispose();
    display.removeMouseListener(this);
    display.removeMouseMotionListener(this);
    display.removeMouseWheelListener(this);
    display.removeKeyListener(this);
  }

  boolean handleOldJvm10Event(Event e) {
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

    public void ancestorRemoved(AncestorEvent event) {
      rootPane.getJMenuBar().setEnabled(true);
      final Component glassPane = rootPane.getRootPane().getGlassPane();
      glassPane.removeMouseListener(mouseListener);
      glassPane.removeMouseMotionListener(mouseListener);
      glassPane.setVisible(false);
      SwingUtilities.getWindowAncestor(rootPane).setFocusableWindowState(true);
    }

    public void ancestorMoved(AncestorEvent event) {
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

    protected void uninstallListeners(Dockable dockable) {
        Set frameDraggers = getFrameDragSources(dockable);
        for(Iterator it=frameDraggers.iterator(); it.hasNext();) {
            Component frameDragSrc = (Component)it.next();
            frameDragSrc.removeMouseListener(dragListener);
            frameDragSrc.removeMouseMotionListener(dragListener);
        }
        dockable.removeDockingListener(this);
    }

    public int getDockableCount() {
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

        token.setCachedListeners(cachedListeners);
        DragManager dragListener = token.getDragListener();

        // remove all of the MouseMotionListeners
        for (int i = 0; i < cachedListeners.length; i++) {
            dragSrc.removeMouseMotionListener((MouseMotionListener) cachedListeners[i]);
        }
        // then, re-add the DragManager
        if(dragListener!=null)
            dragSrc.addMouseMotionListener(dragListener);
    }
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

        EventListener[] cachedListeners = token.getCachedListeners();
        DragManager dragListener = token.getDragListener();

        // remove the pipeline listener
        if(dragListener!=null)
            dragSrc.removeMouseMotionListener(dragListener);

        // now, re-add all of the original MouseMotionListeners
        for (int i = 0; i < cachedListeners.length; i++)
            dragSrc.addMouseMotionListener((MouseMotionListener) cachedListeners[i]);
    }
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

      Component  c;
   
      while( !collObservedComponents.isEmpty() ) {
        c  = (Component) collObservedComponents.remove( 0 );
        c.removeMouseListener( this );
        c.removeMouseMotionListener( this );
      }
    }

    public void toolDismissed( Component c )
    {
View Full Code Here

Examples of java.awt.Component.removeMouseMotionListener()

      if(cpn instanceof java.awt.Window) {
    ((java.awt.Window)cpn).removeWindowListener(pwa);
    ((java.awt.Window)cpn).removeComponentListener(pca);
      } else {
    cpn.removeMouseListener(pma);
    cpn.removeMouseMotionListener(pma);
    if (on1dot4) {
        try {
      Class types[] = { Class.forName("java.awt.event.MouseWheelListener") };
      Object args[] = { pmwl };
      Method m = window.getClass().getMethod("removeMouseWheelListener", types);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.