Examples of removeContainerListener()


Examples of javax.swing.JToolBar.removeContainerListener()

   * @param c The toolbar.
   */
  public void uninstallUI(JComponent c) {
    JToolBar toolBar = (JToolBar)c;
    listener.restoreOriginalOpaquities();
    toolBar.removeContainerListener(listener);
    listener = null;
    super.uninstallUI(c);
  }


View Full Code Here

Examples of javax.swing.JViewport.removeContainerListener()

        handler = null;

        // From SynthScrollPaneUI.
        c.removePropertyChangeListener(this);
        if (viewportViewFocusHandler != null) {
            viewport.removeContainerListener(viewportViewFocusHandler);
            if (viewport.getView() != null) {
                viewport.getView().removeFocusListener(viewportViewFocusHandler);
            }
            viewportViewFocusHandler = null;
        }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

            if (container instanceof Host) {
                // Undeploying a webapp
                removeContext((Context) child);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                Context context = (Context) event.getData();
                ((Lifecycle) context).removeLifecycleListener(this);
                mapper.removeContext(container.getName(), context.getName());
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
                Host host = (Host) event.getData();
                mapper.removeHost(host.getName());
            }
        } else if (type == Host.ADD_ALIAS_EVENT) {
            mapper.addHostAlias(((Host) event.getSource()).getName(),
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
View Full Code Here

Examples of org.apache.catalina.Container.removeContainerListener()

                // Undeploying a webapp
                ((Lifecycle) child).removeLifecycleListener(this);
                removeContext((Context) child, -1);
            } else if (container instanceof Engine) {
                // Undeploying a host
                container.removeContainerListener(this);
            }
        }

    }
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.