Examples of removeComponentListener()


Examples of com.alee.laf.splitpane.WebSplitPane.removeComponentListener()

                    final WebSplitPane splitPane = splitData.getSplitPane ();
                    if ( splitPane.getWidth () > 0 || splitPane.getHeight () > 0 )
                    {
                        // Updating proportional divider location
                        splitData.setDividerLocation ( state.getDividerLocation () );
                        splitPane.removeComponentListener ( this );
                    }
                }
            } );

            restored = splitData;
View Full Code Here

Examples of com.alee.managers.glasspane.WebGlassPane.removeComponentListener()

                // Removing tooltip from list
                oneTimeTooltips.remove ( customTooltip );

                // Removing relocation listener
                webGlassPane.removeComponentListener ( componentAdapter );

                if ( destroyOnClose )
                {
                    // Destroying tooltip
                    customTooltip.destroyTooltip ();
View Full Code Here

Examples of java.awt.Canvas.removeComponentListener()

                    fsWin.repaint();
                    sleep(1000);
                }
            }
            fsWin.removeComponentListener(r1);
            c.removeComponentListener(r2);
        }
        try {
           EventQueue.invokeAndWait(new Runnable() {
               public void run() {
                   gd.setFullScreenWindow(null);
View Full Code Here

Examples of java.awt.Canvas.removeComponentListener()

        Canvas canvas = (Canvas)handle;
        // SWT_AWT adds a component listener, but it conflicts. Thus we have to restore the listeners.
        ComponentListener[] componentListeners = canvas.getComponentListeners();
        Shell shell = SWT_AWT.new_Shell(display, canvas);
        for(ComponentListener componentListener: canvas.getComponentListeners()) {
          canvas.removeComponentListener(componentListener);
        }
        for(ComponentListener componentListener: componentListeners) {
          canvas.addComponentListener(componentListener);
        }
        return shell;
View Full Code Here

Examples of java.awt.Component.removeComponentListener()

  }

  @Override
  public void componentShown(ComponentEvent e) {
    Component c = e.getComponent();
    c.removeComponentListener(this); // we are already in EDT
    disposedWindows.remove(c);
  }
}
View Full Code Here

Examples of java.awt.Component.removeComponentListener()

    }

    void removeListeners(Component ancestor) {
        Component a;
        for (a = ancestor; a != null; a = a.getParent()) {
            a.removeComponentListener(this);
            if (a instanceof JComponent) {
                JComponent jAncestor = (JComponent)a;
                jAncestor.removePropertyChangeListener(this);
            }
            if (a == firstInvisibleAncestor || a instanceof Window) {
View Full Code Here

Examples of java.awt.Component.removeComponentListener()

    }

    void removeListeners(Component ancestor) {
  Component a;
  for (a = ancestor; a != null; a = a.getParent()) {
      a.removeComponentListener(this);
      if (a instanceof JComponent) {
    JComponent jAncestor = (JComponent)a;
    jAncestor.removePropertyChangeListener(this);
      }
      if (a == firstInvisibleAncestor || a instanceof Window) {
View Full Code Here

Examples of java.awt.Component.removeComponentListener()

    this.disposedWindows = disposedWindows;
  }

  @Override public void componentShown(ComponentEvent e) {
    Component c = e.getComponent();
    c.removeComponentListener(this); // we are already in EDT
    disposedWindows.remove(c);
  }
}
View Full Code Here

Examples of java.awt.Component.removeComponentListener()

    }

    void removeListeners(Component ancestor) {
        Component a;
        for (a = ancestor; a != null; a = a.getParent()) {
            a.removeComponentListener(this);
            if (a instanceof JComponent) {
                JComponent jAncestor = (JComponent)a;
                jAncestor.removePropertyChangeListener(this);
            }
            if (a == firstInvisibleAncestor || a instanceof Window) {
View Full Code Here

Examples of java.awt.Component.removeComponentListener()

                    fsWin.repaint();
                    sleep(1000);
                }
            }
            fsWin.removeComponentListener(r1);
            c.removeComponentListener(r2);
        }
        try {
           EventQueue.invokeAndWait(new Runnable() {
               public void run() {
                   gd.setFullScreenWindow(null);
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.