Examples of removeListener()


Examples of bibliothek.gui.dock.support.menu.MenuPiece.removeListener()

   * @param index the index of the child
   */
  public void remove( int index ){
    MenuPiece piece = children.get( index );
    listener.remove( piece, 0, piece.getItemCount() );
    piece.removeListener( listener );
   
    piece.setParent( null );
    children.remove( index );
   
    if( isBound() ){
View Full Code Here

Examples of bibliothek.gui.dock.themes.basic.action.BasicButtonModel.removeListener()

 
  @Override
  public void setModel( BasicButtonModel model ){
    BasicButtonModel old = getModel();
    if( old != null )
      old.removeListener( listener );
   
    super.setModel( model );
   
    if( model != null )
      model.addListener( listener );
View Full Code Here

Examples of cascading.flow.planner.BaseFlowStep.removeListener()

    };
    step.addListener( listener );

    assertTrue( "no listener found", step.hasListeners() );

    step.removeListener( listener );

    assertFalse( "listener found", step.hasListeners() );
    }
  }
View Full Code Here

Examples of com.aelitis.azureus.core.pairing.PairingManager.removeListener()

   
    if ( pairing_listener != null ){
   
      PairingManager pm = PairingManagerFactory.getSingleton();
     
      pm.removeListener( pairing_listener );
     
      pairing_listener = null;
    }
  }
 
View Full Code Here

Examples of com.aelitis.azureus.core.speedmanager.SpeedManager.removeListener()

                     public void
                     run()
                     {
                       if ( asn_label.isDisposed()){
                        
                         sm.removeListener( listener );
                        
                       }else{
                        
                         if ( property == SpeedManagerListener.PR_ASN ){
                          
View Full Code Here

Examples of com.extjs.gxt.ui.client.data.RemoteSortTreeLoader.removeListener()

    if (loader != null && loader instanceof RemoteSortTreeLoader) {
      final RemoteSortTreeLoader treeLoader = (RemoteSortTreeLoader) loader;
      if (treeLoader.isRemoteSort()) {
        Listener<LoadEvent> l = new Listener<LoadEvent>() {
          public void handleEvent(LoadEvent le) {
            treeLoader.removeListener(Loader.Load, this);
            sortInfo = le.<ListLoadConfig> getConfig().getSortInfo();
            event.setSortInfo(sortInfo);
            fireEvent(Sort, createStoreEvent());
          }
        };
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.ContentPanel.removeListener()

      if (panel.getData("collapseBtn") != null) {
        Component tool = (Component) panel.getData("collapseBtn");
        tool.removeAllListeners();
        panel.getHeader().removeTool(tool);
      }
      panel.removeListener(Events.BeforeCollapse, collapseListener);
      panel.removeListener(Events.BeforeExpand, collapseListener);
    }
    component.setData("init", null);
    component.setData("collapseBtn", null);
    component.setData("collapse", null);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.Editor.removeListener()

  private final void rename(final EditableTreeItem item) {
    final Editor editor = item.getEditor();
    Listener<EditorEvent> editorListener = new Listener<EditorEvent>() {
      public void handleEvent(EditorEvent ev) {
        editor.removeListener(Events.Complete, this);
        if (!ev.startValue.equals(ev.value))
          doRename(item);
      }
    };
    editor.addListener(Events.Complete, editorListener);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.button.ToolButton.removeListener()

      if (collapse == null) {
        collapse = new ToolButton("x-tool-" + icon);
        panel.getHeader().addTool(collapse);
      }
      collapse.setData("panel", panel);
      collapse.removeListener(Events.Select, collapseListener);
      collapse.addListener(Events.Select, collapseListener);
      panel.setData("collapseBtn", collapse);
      panel.setData("init", "true");
    }
View Full Code Here

Examples of com.hazelcast.multimap.MultiMapService.removeListener()

        super(name, registrationId);
    }

    public Object call() throws Exception {
        final MultiMapService service = getService();
        return service.removeListener(name, registrationId);
    }

    public String getServiceName() {
        return MultiMapService.SERVICE_NAME;
    }
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.