Examples of addListener()


Examples of org.gudy.azureus2.plugins.download.DownloadManager.addListener()

     
        public void azureusCoreRunning(AzureusCore core) {
         
          DownloadManager dm = PluginInitializer.getDefaultInterface().getDownloadManager();
         
          dm.addListener( DeviceUPnPImpl.this, true );
        }
      });
    }
       
    addListener( this );
View Full Code Here

Examples of org.gudy.azureus2.plugins.logging.LoggerChannel.addListener()

                 
                  error.printStackTrace( ci.out );
                }
              };
             
            channel.addListener( l );
           
            channel_listener_map.put( name, new Object[]{ channel, l });
           
            ci.out.println( "> Channel '" + name + "' on" );
          }
View Full Code Here

Examples of org.gudy.azureus2.plugins.messaging.generic.GenericMessageConnection.addListener()

                  }
                },
                "test", block_crypto );
            }
           
            con.addListener(
              new GenericMessageConnectionListener()
              {
                public void
                connected(
                  GenericMessageConnection  connection )
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.config.ActionParameter.addListener()

      param_view.setEnabled( false );
    }
   
    final ActionParameter ap = configModel.addActionParameter2( "pairing.ac.getnew", "pairing.ac.getnew.create" );
   
    ap.addListener(
      new ParameterListener()
      {
        public void
        parameterChanged(
          Parameter   param )
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.config.BooleanParameter.addListener()

   
    final BooleanParameter te = _config.addBooleanParameter2("azbuddy.tracker.enabled", "azbuddy.tracker.enabled", true );
   
    tracker_enabled = te.getValue();
   
    te.addListener(
      new ParameterListener()
      {
        public void
        parameterChanged(
          Parameter param )
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.menus.MenuItem.addListener()

            MenuManager menuManager = PluginInitializer.getDefaultInterface().getUIManager().getMenuManager();
            MenuItem menuHide = menuManager.addMenuItem("Sidebar." +
                MultipleDocumentInterface.SIDEBAR_SECTION_BURN_INFO,
                "popup.error.hide");
            menuHide.addListener(new MenuItemListener() {
              public void selected(MenuItem menu, Object target) {
                mdi.closeEntry(MultipleDocumentInterface.SIDEBAR_SECTION_BURN_INFO);
              }
            });
View Full Code Here

Examples of org.gudy.azureus2.plugins.ui.tables.TableContextMenuItem.addListener()

    menuShowTime.addFillListener(new MenuItemFillListener() {
      public void menuWillBeShown(MenuItem menu, Object data) {
        menu.setData(showTime);
      }
    });
    menuShowTime.addListener(new MenuItemListener() {
      public void selected(MenuItem menu, Object target) {
        showTime = !showTime;
        setUserData("showTime", new Long(showTime ? 1 : 0));
        maxWidthUsed = new int[TimeFormatter.DATEFORMATS_DESC.length];
        maxWidthDate = new Date[TimeFormatter.DATEFORMATS_DESC.length];
View Full Code Here

Examples of org.gudy.azureus2.plugins.update.UpdateCheckInstance.addListener()

   
    UpdateManager update_manager = azureus_core.getPluginManager().getDefaultPluginInterface().getUpdateManager();
   
    UpdateCheckInstance  checker = update_manager.createUpdateCheckInstance();
   
    checker.addListener(
      new UpdateCheckInstanceListener()
      {
        public void
        cancelled(
          UpdateCheckInstance    instance )
View Full Code Here

Examples of org.gudy.azureus2.plugins.update.UpdateManager.addListener()

   
    UpdateManager update_manager = pi.getUpdateManager();
   
    final List<UpdateCheckInstance>  l_instances = new ArrayList<UpdateCheckInstance>();
   
    update_manager.addListener(
      new UpdateManagerListener()
      {
        public void
        checkInstanceCreated(
          UpdateCheckInstance  instance )
View Full Code Here

Examples of org.gudy.azureus2.plugins.utils.FeatureManager.addListener()

  {
    PluginInterface pi = PluginInitializer.getDefaultInterface();
   
    final FeatureManager fm = pi.getUtilities().getFeatureManager();
         
    fm.addListener(
      new FeatureManager.FeatureManagerListener()
      {
        public void
        licenceAdded(
          Licence  licence )
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.